Joomla plugin
Meet Pufferfish.
Puffs up when you poke it.
Accordions, tabs and tooltips from a few plain tags in your article. Write the panels, pick a look, done. It searches, remembers, deep-links, plays nicely with Wayfin and can pull its panels straight from other articles. The live one below is a real Pufferfish. Go on, poke it.
A content plugin. Type {accordion} and {panel} tags in an article and Pufferfish turns them into an accessible accordion. No module to place, no markup to write.
No. The editor button builds the tags from a pop-up: pick the look, add your sections, press Insert.
Yes. Closed panels can be found with Ctrl+F in Chrome, Edge and Firefox, and a visitor arriving from a search result lands on the panel that holds their words.
Yes. Press the small # button on any header, or end any link with the panel's id. The panel opens and scrolls into view.
Why it exists
Long pages hide their answers.
A long FAQ or a spec sheet is a wall of text. Folding it up helps, but most accordion add-ons want a module slot, a shortcode dialect of their own or a framework's JavaScript.
Pufferfish is one plugin and a handful of tags. It brings its own small script, finds headings for Wayfin, opens the right panel when someone follows a link and keeps working when JavaScript doesn't.
Live, on this page
The tide pool.
Every accordion and tab set on this page is the real plugin, running from tags in this article. The tags in the dark boxes are real too. They stayed as text because Pufferfish leaves anything inside a code block alone.
Three tags
Write it, get an accordion
That's the whole trick. A block, a few panels, a look after the bar. The options after the colon are optional: here the panels stay open together, and each one has a copy-link button.
Try it
- Open two panels at once.
- Press the # on a header, then paste the link into a new tab.
- Press Tab, then Enter or Space.
{accordion tag-demo:multi,copylink|cards}
{panel What goes in a panel?|open}
Anything you can put in an article.
{panel How do I link to it?}
Press the # button on its header.
{/accordion}
Anything you can put in an article: paragraphs, lists, images, even another accordion.
Press the small # button on its header. Anyone who follows the link lands here, with this panel open.
Yes. Headers are real buttons, so Tab, Enter and Space all work.
Eight looks
Same tags, different coat
Each tab below holds a Pufferfish accordion in one look. The tab set is Pufferfish too, so yes, that's nesting. Set a look after the bar, or change the site's default once.
{tabs looks|pills}
{tab Boxed}
{accordion look-boxed|boxed}
{panel Boxed|open}…
{/accordion}
{tab Chaos}
{accordion look-chaos|chaos}
…
Boxed
The default. A bordered card with a tinted header when open.
Nothing special in here.
Simple
No box. Dividers between panels and an open marker.
Nothing special in here.
Line
A single accent line down the side of the open panel.
Nothing special in here.
Cards
Every panel is its own card, with space between.
Nothing special in here.
Pills
Rounded headers, softer edges.
Nothing special in here.
Chaos
The house style. Brush font, bold colors, a bit of attitude.
Nothing special in here.
Dark
For dark sections. Light text on ink.
Nothing special in here.
Bare
From articles
Let your articles be the panels
Point one tag at a category and Pufferfish builds the panels from the articles in it: their titles, their text, a Read more link. It follows the same visibility rules as the rest of the site, so a visitor never sees an article they couldn't open. These come from our sample articles.
{accordion samples:from=cat:sample-articles,
limit=4,order=title,fields=intro+link|boxed}
{panel|from=12}
{panel Our returns|from=returns-policy}
In a remote valley that absolutely does not exist, chickens occasionally hatch from dragon eggs. While incapable of breathing fire, they can allegedly toast marshmallows with aggressive sneezing. Farmers have learned to keep graham crackers on hand during nesting season.
These feathered fire-fowl spend most of their day challenging wheelbarrows to duels. Their greatest enemy is the garden sprinkler, which they consider a dark magical force. Entire kingdoms have supposedly fallen after underestimating a dragon chicken's confidence.
Dragon chickens are famous for maintaining grudges against garden gnomes. Researchers suspect this rivalry began after an unfortunate misunderstanding involving decorative wheelbarrows and twenty-three pounds of turnips. Nobody remembers the original dispute, but both sides remain committed.
During migrations, entire flocks can be seen soaring approximately four feet off the ground. Witnesses describe the spectacle as majestic, inspiring, and slightly dangerous to unattended picnic baskets.
Goblin goldfish inhabit decorative ponds near abandoned castles and possess an unhealthy obsession with treasure. They spend entire afternoons collecting shiny bottle caps and declaring themselves monarchs. Most reigns last roughly fifteen minutes.
Their royal courts consist mainly of frogs pretending to care. Every spring, the goldfish host extravagant underwater coronations attended by exactly three snails. Historians agree the hats are spectacular.
Goblin goldfish carefully track noble bloodlines, most of which were invented moments before being announced. Family trees regularly loop back on themselves, include several ducks, and occasionally list decorative statues as former rulers.
The annual Royal Float Parade attracts visitors from neighboring ponds. The event usually concludes when somebody mistakes a floating leaf for a rival kingdom and declares war.
The kraken, often misunderstood as a sea monster, is actually believed to be an enthusiastic submarine gardener. Its immense tentacles carefully arrange coral beds into decorative patterns visible from space. Competing octopuses remain deeply jealous.
Unfortunately, kraken gardening projects frequently disrupt shipping lanes. Captains sometimes discover giant rose-shaped coral displays where maps insist open water should be. The kraken considers these complaints artistic criticism.
The kraken's masterpiece, known only as "Coral Number Seven," stretches for several miles and can supposedly be appreciated only from a passing cloud. Art critics continue debating whether this makes it brilliant or deeply inconvenient.
Volunteer jellyfish assist by providing ambient lighting during evening gardening sessions. Their union contract now includes mandatory bubble breaks and anti-shark provisions.
Northern moose are surprisingly passionate about classical dance. During moonlit evenings, herds gather in forest clearings to perform elaborate ballets inspired by migration routes. Critics describe the performances as "unexpectedly graceful" and "mildly terrifying."
The largest challenge comes during the jumping portions of the routine. Trees occasionally request relocation after rehearsals. Despite these setbacks, attendance remains strong among local owls and impressed squirrels.
Auditions are notoriously competitive. Aspiring performers spend months practicing pirouettes around pine trees while judges take notes on bark tablets. The highest honor is receiving a standing ovation from every owl in attendance.
One experimental production attempted to combine ballet with competitive lumberjacking. Reviews described the performance as groundbreaking, unforgettable, and unexpectedly destructive to local forestry plans.
Keeps its place
Remember, link and search
Add remember and the panels a visitor opened come back next time, stored only in their own browser. Add hash and the address follows what they open. Closed panels can be found with the browser's own search.
{accordion keeps:remember,hash|simple}
{panel Remembered|id=remembered}…
Try it
- Open a panel in the accordion above, then reload. In the next one, it stays open.
- Press Ctrl+F and search for sandcastle. The panel below opens by itself (Chrome, Edge and Firefox).
- Add
#rememberedto this page's address. That panel opens and scrolls into view.
Open me, then reload the page.
The word sandcastle lives only in this panel.
What's in the box
Everything worth puffing up for.
Tags
Write it, don't build it
Accordions and tabs from {accordion}, {tabs} and {panel}. Three levels of nesting.
Editor button
Build it from a pop-up
Pick the look and options, add and reorder sections, then Insert. It shows your site's defaults as it goes.
Tabs
Tabs that turn into other things
Top or side strips. On a phone they become an accordion, a swipe row, a drop-down or a plain stack. You choose.
Effects
Slide, fade or snap
Visitors whose device asks for less motion always get the instant version.
Remember
Picks up where they left off
Open panels and chosen tabs come back next visit. Stored only in the visitor's own browser, and they expire.
Deep links
A link per panel
Any link ending in a panel id opens it, and every panel around it, then scrolls there. A copy-link button on each header is optional.
Search
Closed doesn't mean lost
Find-in-page opens panels that hold the words, and arrivals from Smart Search land on the right one.
Wayfin
Menu friendly
Panel titles can appear in a Wayfin menu, grouped or not, and a click opens the panel before scrolling to it.
From articles
Panels from other articles
Name an article, a list or a whole category and Pufferfish builds the panels from them, with the same visibility rules as everywhere else on the site.
Accessibility
Real buttons, real keys
Proper roles and states, Tab through every tab, arrow keys too, visible focus, reduced-motion respect.
No script?
Still readable
Without JavaScript every panel shows. Printing opens them all too, unless you say otherwise.
Theming
Variables, not fights
Colors, spacing, corners and speed are CSS custom properties. Per block you can set an accent, density and corner style from the tag.
The companion
The tackle box button.
The package includes a Pufferfish button for your editor. Click it and a pop-up opens where you pick the look, add your sections, set the options and press Insert. It shows your site's defaults, so you only touch what's different for this block, and the tag builds itself as you go.
Changed your mind later? Select the tag, click the button again, and the pop-up opens with your choices filled in. Want to show a tag on a page instead of running it, the way this page does? Put it in a code block, or start it with a backslash.
Training
One sheet, for whoever writes the tags.
TODO: one line on what the sheet covers, once the cheat sheet is written.
For people who write articles
Cheat Sheet
TODO: short description of the sheet.
Download Pufferfish cheat sheet (PDF)T1. Behavior flags
T1a. Multi, controls, numbered, copylink, slide
Alpha text.
Bravo text, open to begin with.
Charlie text.
Check this: numbers 1 to 3; Open all and Close all work; the # button copies a link ending #t1a-alpha; Charlie has a "New" badge; panels slide.
T1b. Single (one at a time), fade
One text.
Two text.
Three text.
Check this: opening a panel closes the others; the new panel fades in and the old one goes at once, with no blip.
T1c. Remember and hash
Red text.
Green text.
Blue text.
Check this: open Red and Blue, reload, and they come back. The address bar follows what you open (#t1c-...). Open this page in a new tab with #t1c-green on the end: Green opens and scrolls in.
T1d. Look options
Plus icon, roomy padding, pill corners, panel titles are h4.
This panel overrides the accent.
Check this: purple accent, plus icon, pill corners; the second panel is orange; inspect a title and confirm it's an h4.
T1e. Snap and search off
No animation at all.
The word pomegranate lives only in this panel. With search off, Ctrl+F should not open it.
Check this: panels change instantly. In Chrome, Ctrl+F for pomegranate does not open the second panel.
T1f. Search on
Open to begin with.
The word quokka lives only in this panel.
Check this: Ctrl+F for quokka in Chrome, Edge or Firefox opens panel two. Safari and iPhone browsers will not; that's expected. To test the Smart Search arrival, open this page with ?highlight=WyJxdW9ra2EiXQ== on the end.
T2. Tabs
T2a. Top strip, centered, phone: accordion
First
First pane.
Second
Second pane.
Third
Third pane.
Check this: Tab steps through every tab button (not just the selected one); arrow keys move and select. Narrow the window under 768px: it becomes an accordion. A link ending #t2a-second selects that tab.
T2b. Side strip, manual, phone: menu
Overview
Overview pane.
Details
Details pane.
Notes
Notes pane.
Check this: tabs sit on the left; arrow keys only move focus, Enter or Space picks. Under 768px the strip is a drop-down labeled "Pick a section".
T2c. End strip, fill, phone: scroll, bp=992
Alpha
Alpha pane.
Bravo
Bravo pane.
Check this: strip on the right; under 992px (not 768) it turns into a row you swipe sideways.
T2d. Phone: stack, remember, fade
Red
Red pane.
Green
Green pane.
Check this: pick Green and reload; Green is still picked. Under 768px both panes show under their titles with no tabs.
T3. Wayfin
These three blocks are the ones that should show in the Wayfin menu. T1 and T2 blocks are set to wayfin=off, so they stay out.
Each panel title is its own Wayfin item.
Same.
Check this: two items in the Wayfin menu. Clicking one opens the panel, then scrolls to it.
Grouped.
Grouped.
Check this: a separator named "Group test" with the two titles under it. Wayfin lists a nested group after the rest of its parent group, so look at the very bottom of the menu.
Tab item one
Pane one.
Tab item two
Pane two.
Check this: one Wayfin item per tab. Clicking the second selects that tab and scrolls to the set. (Tracking is rough here by design.)
T4. Panels from articles
Sample Articles category (ID 13, alias sample-articles): public IDs 8, 9 and 11 to 17, and ID 10 which needs a Registered login.
T4a. The whole category
Phoenixes aren't reborn from ashes. They are actually responsible for creating bizarre weather patterns across magical realms. Every time one sneezes, a small rainbow storm appears somewhere unexpectedly.
Meteorologists closely monitor migratory phoenix routes using enchanted telescopes and educated guesses. Forecast accuracy remains disappointingly low because phoenixes enjoy practical jokes. Last year's surprise confetti blizzard is still being investigated.
Rural villages have adapted to phoenix-related climate events with remarkable efficiency. Emergency supplies often include umbrellas, sunglasses, confetti shovels, and protective eyewear rated for excessive sparkle exposure.
The worst recorded weather incident occurred when two migrating phoenixes collided midair while arguing about directions. Residents reported rainbow fog, glitter hail, spontaneous fireworks, and one surprisingly polite thundercloud that apologized before every lightning strike.
Raccoons operate a secret nighttime banking system based entirely on shiny objects. Deposits may include bottle caps, lost earrings, glitter-covered pebbles, and occasionally someone's car keys. Interest rates fluctuate according to moon phase and snack availability.
Financial audits are notoriously difficult, mostly because the auditors are also raccoons. Every fiscal quarter concludes with a ceremonial trash-can feast. Economic experts refuse to comment.
Customers may open savings accounts, checking accounts, and premium sparkle accounts. Premium clients receive personalized bottle-cap statements delivered by courier possums wearing tiny neckties.
The institution briefly experimented with cryptocurrency before realizing every raccoon involved preferred physical shiny objects. The project was abandoned in favor of a more reliable treasure-under-the-porch standard.
A bronze statue of the bank's founder stands in the lobby, although historians are fairly certain it is simply a decorative trash can.
The kraken, often misunderstood as a sea monster, is actually believed to be an enthusiastic submarine gardener. Its immense tentacles carefully arrange coral beds into decorative patterns visible from space. Competing octopuses remain deeply jealous.
Unfortunately, kraken gardening projects frequently disrupt shipping lanes. Captains sometimes discover giant rose-shaped coral displays where maps insist open water should be. The kraken considers these complaints artistic criticism.
The kraken's masterpiece, known only as "Coral Number Seven," stretches for several miles and can supposedly be appreciated only from a passing cloud. Art critics continue debating whether this makes it brilliant or deeply inconvenient.
Volunteer jellyfish assist by providing ambient lighting during evening gardening sessions. Their union contract now includes mandatory bubble breaks and anti-shark provisions.
Northern moose are surprisingly passionate about classical dance. During moonlit evenings, herds gather in forest clearings to perform elaborate ballets inspired by migration routes. Critics describe the performances as "unexpectedly graceful" and "mildly terrifying."
The largest challenge comes during the jumping portions of the routine. Trees occasionally request relocation after rehearsals. Despite these setbacks, attendance remains strong among local owls and impressed squirrels.
Auditions are notoriously competitive. Aspiring performers spend months practicing pirouettes around pine trees while judges take notes on bark tablets. The highest honor is receiving a standing ovation from every owl in attendance.
One experimental production attempted to combine ballet with competitive lumberjacking. Reviews described the performance as groundbreaking, unforgettable, and unexpectedly destructive to local forestry plans.
Goblin goldfish inhabit decorative ponds near abandoned castles and possess an unhealthy obsession with treasure. They spend entire afternoons collecting shiny bottle caps and declaring themselves monarchs. Most reigns last roughly fifteen minutes.
Their royal courts consist mainly of frogs pretending to care. Every spring, the goldfish host extravagant underwater coronations attended by exactly three snails. Historians agree the hats are spectacular.
Goblin goldfish carefully track noble bloodlines, most of which were invented moments before being announced. Family trees regularly loop back on themselves, include several ducks, and occasionally list decorative statues as former rulers.
The annual Royal Float Parade attracts visitors from neighboring ponds. The event usually concludes when somebody mistakes a floating leaf for a rival kingdom and declares war.
Deep beneath the Antarctic ice, penguins have established a thriving detective agency. Every mystery eventually involves missing fish, suspicious snowmen, or illegal sled racing. Their success rate is impressive despite constant lunch breaks.
Lead investigator Sergeant Waddles uses advanced techniques such as staring dramatically into the distance. Cases are often solved when suspects confess out of pure confusion. The agency's motto is "Waddle First, Questions Later."
The agency's cold-case department consists entirely of one very elderly penguin and an overflowing cabinet labeled "Probably Seals." Despite the unconventional filing system, closure rates remain impressive.
The largest investigation in agency history involved the disappearance of a ceremonial fish cake during the Winter Waddle Gala. The culprit was eventually identified as the penguin who organized the investigation, judged the trial, and awarded the recovery reward.
Unicorns are allegedly required to carry comprehensive horn insurance before entering enchanted forests. This policy covers accidental rainbow discharge, spontaneous glitter storms, and collisions with overly enthusiastic bards. Rates increase dramatically during festival season.
Claims adjusters report that most incidents involve unicorns attempting unnecessary jumps over decorative hedges. One famous policy holder reportedly filed a claim after a squirrel challenged him to a jousting match. Investigators are still laughing about it.
Premium members receive access to emergency rainbow containment services. These specialists arrive within minutes carrying enchanted buckets, glitter vacuums, and an astonishing amount of patience. Their workload increases dramatically after musical festivals and bard conventions.
Insurance fraud remains rare, although one unicorn attempted to claim a broken horn after dramatically headbutting a castle wall for attention. The wall was approved for reimbursement instead.
In a remote valley that absolutely does not exist, chickens occasionally hatch from dragon eggs. While incapable of breathing fire, they can allegedly toast marshmallows with aggressive sneezing. Farmers have learned to keep graham crackers on hand during nesting season.
These feathered fire-fowl spend most of their day challenging wheelbarrows to duels. Their greatest enemy is the garden sprinkler, which they consider a dark magical force. Entire kingdoms have supposedly fallen after underestimating a dragon chicken's confidence.
Dragon chickens are famous for maintaining grudges against garden gnomes. Researchers suspect this rivalry began after an unfortunate misunderstanding involving decorative wheelbarrows and twenty-three pounds of turnips. Nobody remembers the original dispute, but both sides remain committed.
During migrations, entire flocks can be seen soaring approximately four feet off the ground. Witnesses describe the spectacle as majestic, inspiring, and slightly dangerous to unattended picnic baskets.
Everyone knows otters hold paws while they sleep, but few realize they allegedly hold parliamentary sessions at dawn. According to highly unreliable marshland rumors, senior otters wear kelp neckties and debate whether river rocks should be sorted by shininess. These debates can last for hours and often end in spontaneous synchronized splashing.
The parliamentary record is said to be carved into driftwood using unusually ambitious clams. Junior otters are reportedly assigned the important role of "Puddle Inspector General." No actual laws are ever passed, but attendance remains surprisingly high due to complimentary fish snacks.
Election season is particularly chaotic. Candidates campaign by stacking aesthetically pleasing pebbles into monuments of questionable stability. Political scandals commonly involve secret stashes of imported river stones or accusations of excessive splashing during debates.
The most prestigious award in otter government remains the Golden Minnow, granted annually to whichever official successfully avoids discussing the national shortage of perfectly smooth rocks. No recipient has managed this feat since records began.
Check this: logged out you see 9 panels. Logged in as a Registered user you see 10. As a Super User you may see the same 10 (or 9 if the article is unpublished). Each panel title is the article's title, and its id is the article's alias.
T4b. Order by title, 4 only
In a remote valley that absolutely does not exist, chickens occasionally hatch from dragon eggs. While incapable of breathing fire, they can allegedly toast marshmallows with aggressive sneezing. Farmers have learned to keep graham crackers on hand during nesting season.
These feathered fire-fowl spend most of their day challenging wheelbarrows to duels. Their greatest enemy is the garden sprinkler, which they consider a dark magical force. Entire kingdoms have supposedly fallen after underestimating a dragon chicken's confidence.
Dragon chickens are famous for maintaining grudges against garden gnomes. Researchers suspect this rivalry began after an unfortunate misunderstanding involving decorative wheelbarrows and twenty-three pounds of turnips. Nobody remembers the original dispute, but both sides remain committed.
During migrations, entire flocks can be seen soaring approximately four feet off the ground. Witnesses describe the spectacle as majestic, inspiring, and slightly dangerous to unattended picnic baskets.
Goblin goldfish inhabit decorative ponds near abandoned castles and possess an unhealthy obsession with treasure. They spend entire afternoons collecting shiny bottle caps and declaring themselves monarchs. Most reigns last roughly fifteen minutes.
Their royal courts consist mainly of frogs pretending to care. Every spring, the goldfish host extravagant underwater coronations attended by exactly three snails. Historians agree the hats are spectacular.
Goblin goldfish carefully track noble bloodlines, most of which were invented moments before being announced. Family trees regularly loop back on themselves, include several ducks, and occasionally list decorative statues as former rulers.
The annual Royal Float Parade attracts visitors from neighboring ponds. The event usually concludes when somebody mistakes a floating leaf for a rival kingdom and declares war.
The kraken, often misunderstood as a sea monster, is actually believed to be an enthusiastic submarine gardener. Its immense tentacles carefully arrange coral beds into decorative patterns visible from space. Competing octopuses remain deeply jealous.
Unfortunately, kraken gardening projects frequently disrupt shipping lanes. Captains sometimes discover giant rose-shaped coral displays where maps insist open water should be. The kraken considers these complaints artistic criticism.
The kraken's masterpiece, known only as "Coral Number Seven," stretches for several miles and can supposedly be appreciated only from a passing cloud. Art critics continue debating whether this makes it brilliant or deeply inconvenient.
Volunteer jellyfish assist by providing ambient lighting during evening gardening sessions. Their union contract now includes mandatory bubble breaks and anti-shark provisions.
Northern moose are surprisingly passionate about classical dance. During moonlit evenings, herds gather in forest clearings to perform elaborate ballets inspired by migration routes. Critics describe the performances as "unexpectedly graceful" and "mildly terrifying."
The largest challenge comes during the jumping portions of the routine. Trees occasionally request relocation after rehearsals. Despite these setbacks, attendance remains strong among local owls and impressed squirrels.
Auditions are notoriously competitive. Aspiring performers spend months practicing pirouettes around pine trees while judges take notes on bark tablets. The highest honor is receiving a standing ovation from every owl in attendance.
One experimental production attempted to combine ballet with competitive lumberjacking. Reviews described the performance as groundbreaking, unforgettable, and unexpectedly destructive to local forestry plans.
Check this: four panels, in A to Z order, each with the intro text and a Read more link only.
T4c. A list by ID, as tabs
Otter Parliament
Everyone knows otters hold paws while they sleep, but few realize they allegedly hold parliamentary sessions at dawn. According to highly unreliable marshland rumors, senior otters wear kelp neckties and debate whether river rocks should be sorted by shininess. These…

Dragon Chickens
In a remote valley that absolutely does not exist, chickens occasionally hatch from dragon eggs. While incapable of breathing fire, they can allegedly toast marshmallows with aggressive sneezing. Farmers have learned to keep graham crackers on hand during nesting season.…

Unicorn Insurance
Unicorns are allegedly required to carry comprehensive horn insurance before entering enchanted forests. This policy covers accidental rainbow discharge, spontaneous glitter storms, and collisions with overly enthusiastic bards. Rates increase dramatically during festival season. Claims adjusters report that most incidents…

Check this: three tabs titled with the articles' names, each with a short excerpt, the article's image if it has one and a link.
T4d. Single panels
Everyone knows otters hold paws while they sleep, but few realize they allegedly hold parliamentary sessions at dawn. According to highly unreliable marshland rumors, senior otters wear kelp neckties and debate whether river rocks should be sorted by shininess. These debates can last for hours and often end in spontaneous synchronized splashing.
The parliamentary record is said to be carved into driftwood using unusually ambitious clams. Junior otters are reportedly assigned the important role of "Puddle Inspector General." No actual laws are ever passed, but attendance remains surprisingly high due to complimentary fish snacks.
Election season is particularly chaotic. Candidates campaign by stacking aesthetically pleasing pebbles into monuments of questionable stability. Political scandals commonly involve secret stashes of imported river stones or accusations of excessive splashing during debates.
The most prestigious award in otter government remains the Golden Minnow, granted annually to whichever official successfully avoids discussing the national shortage of perfectly smooth rocks. No recipient has managed this feat since records began.
In a remote valley that absolutely does not exist, chickens occasionally hatch from dragon eggs. While incapable of breathing fire, they can allegedly toast marshmallows with aggressive sneezing. Farmers have learned to keep graham crackers on hand during nesting season.
These feathered fire-fowl spend most of their day challenging wheelbarrows to duels. Their greatest enemy is the garden sprinkler, which they consider a dark magical force. Entire kingdoms have supposedly fallen after underestimating a dragon chicken's confidence.
Dragon chickens are famous for maintaining grudges against garden gnomes. Researchers suspect this rivalry began after an unfortunate misunderstanding involving decorative wheelbarrows and twenty-three pounds of turnips. Nobody remembers the original dispute, but both sides remain committed.
During migrations, entire flocks can be seen soaring approximately four feet off the ground. Witnesses describe the spectacle as majestic, inspiring, and slightly dangerous to unattended picnic baskets.
Deep beneath the Antarctic ice, penguins have established a thriving detective agency. Every mystery eventually involves missing fish, suspicious snowmen, or illegal sled racing. Their success rate is impressive despite constant lunch breaks.
Lead investigator Sergeant Waddles uses advanced techniques such as staring dramatically into the distance. Cases are often solved when suspects confess out of pure confusion. The agency's motto is "Waddle First, Questions Later."
The agency's cold-case department consists entirely of one very elderly penguin and an overflowing cabinet labeled "Probably Seals." Despite the unconventional filing system, closure rates remain impressive.
The largest investigation in agency history involved the disappearance of a ceremonial fish cake during the Winter Waddle Gala. The culprit was eventually identified as the penguin who organized the investigation, judged the trial, and awarded the recovery reward.
This line is my own text, added under the article's.
Check this: panel 1 uses article 8's title and text; panel 2 shows "My own title" with only the intro; panel 3 has the full text and a link; panel 4 shows article 12 followed by the line above.
T4e. Access test
Everyone knows otters hold paws while they sleep, but few realize they allegedly hold parliamentary sessions at dawn. According to highly unreliable marshland rumors, senior otters wear kelp neckties and debate whether river rocks should be sorted by shininess. These debates can last for hours and often end in spontaneous synchronized splashing.
The parliamentary record is said to be carved into driftwood using unusually ambitious clams. Junior otters are reportedly assigned the important role of "Puddle Inspector General." No actual laws are ever passed, but attendance remains surprisingly high due to complimentary fish snacks.
Election season is particularly chaotic. Candidates campaign by stacking aesthetically pleasing pebbles into monuments of questionable stability. Political scandals commonly involve secret stashes of imported river stones or accusations of excessive splashing during debates.
The most prestigious award in otter government remains the Golden Minnow, granted annually to whichever official successfully avoids discussing the national shortage of perfectly smooth rocks. No recipient has managed this feat since records began.
This panel is mine and is always here.
Check this: Logged out: no panel for article 10 and none for 99999 (a deliberate bad reference). "Public article" (ID 8, intro only) and "After the blocked ones" show. Logged in as Registered: article 10 appears. Logged in as an editor or Super User: a note appears in place of each missing one, saying why.
T5. Odds and ends
T5a. Nesting (three levels)
Bottom of the pile.
Check this: three nested blocks, each in its own look; every level opens and closes on its own.
T5b. Printing a tag as text
A backslash prints the tag instead of running it: {accordion} and {panel Title}.
{accordion demo}
{panel Inside a code block}
Left alone, too.
{/accordion}
Check this: the tags print as text and nothing is built from them.
T5c. Mistakes show editors a note
The block has two bad options.
Check this: logged in as an editor, a note names icon=wiggly as a bad value and pos as a tabs-only option. Logged out, the accordion just works, with no notes.
T5d. Printing and no script
Print preview this page: every accordion panel should be open. Then switch off JavaScript in the browser and reload: every panel should show, and the tabs should read as stacked sections.
Check this: both views show all the text.
Checklist
- T1a: Open all, Close all, numbers and the copy-link button work.
- T1b: fade has no blip when switching panels.
- T1c: remember and hash work, and a link ending in a panel id opens it.
- T1d to T1f: look options apply, and search on and off behave.
- T2a to T2d: Tab steps through each tab, and all four phone modes work at the right widths.
- T3: the Wayfin menu shows the right items, and clicking opens the panel.
- T4a: 9 panels logged out, 10 as Registered.
- T4b to T4d: order, limit and fields do what each Check line says.
- T4e: blocked and missing articles leave nothing for visitors and a note for editors.
- T5a to T5d: nesting, escapes, editor notes, print and no-script.
- Try it logged out, as Registered, and as a Super User. Try one phone.
pf-testbench wrapper down to here before launch.
For the technical crowd
Under the hood.
- Works with
- Joomla 5 and 6, PHP 8.2+. The installer checks both first.
- Dependencies
- None. No jQuery and no Bootstrap JavaScript; the engine is its own small script. It uses Bootstrap's CSS variables when your template has them, and has fallbacks when it doesn't.
- Weight
- TODO: gzipped CSS and JS sizes from the final build.
- Package
- One install with two plugins: the content plugin that does the work and an editor button that builds the tags.
- Tags
- Parsed on the server, nested up to three levels. Tags inside
preandcodeare left alone, and a backslash prints one as text. - Panels from articles
- Same visibility rules as Chaos Filet: published, inside the publish window, category published, and the visitor's view levels on both article and category. Blocked or missing articles leave nothing for visitors and a note for editors.
- Search
- Closed panels are marked
hidden="until-found"where the browser supports it. Smart Search and feeds get plain headings and text, and articles pulled into panels are left out of the index. - Wayfin
- Panels open on a Wayfin click through
wayfin:jump. Opening and closing fires atoggleevent Wayfin listens for. - Events
- Hook into the open and close events for analytics. The README lists them.
- Privacy
- Remembered panels live in the visitor's own browser and expire. Nothing goes to a server.
- Theming
- CSS custom properties, all prefixed
--pf-. - Updates
- TODO: through Joomla's own updater, once the update server entry is published.
Ready to puff up?
Want Pufferfish on your site? Take it, or let's talk.
Pufferfish
Changelog.
0.7.2
Test build · December 2026- Closed tab panes no longer take a tab stop, so the Tab key never lands on something you can't see.
Earlier releases
0.7.1Line look fix
- Fixed the Line look: the copy-link button no longer sits next to the number.
0.7.0Panels from articles
- Panels from articles: one panel from one article, or a whole accordion or tab set from a list of articles or a category. Same visibility rules as Chaos Filet.
- New Articles tab in settings, and an Articles section in the editor button.
- Pulled articles are left out of Smart Search and feeds.
0.6.0Wayfin and Tab
- Wayfin: a click on a panel in the menu opens it, then settles the scroll. Per block:
wayfin=on|group|off|tabs. - Opening or closing a panel tells Wayfin, so its reading time follows.
- Tabs: the Tab key now steps through every tab button.
0.5.1Link fix
- Fix: a link to a panel's header, or to anything inside a closed panel, now opens that panel.
0.5.0Search
- Find in page opens closed panels and inactive tabs in Chrome, Edge and Firefox.
- Arriving from a Smart Search result opens the panel or tab that holds the words.
- A new Search tab in settings, and
search=offper block.
0.4.1Fade fix
- Fix: fade only fades the panel that is opening, so switching panels no longer blips.
0.4.0Behavior
- Effects: slide, fade or snap.
- Remember,
#panel-iddeep links andhash. - Open all and Close all, copy-link buttons, numbered sections and badges.
- Every on/off option takes
name,nonameorname=on|off.
0.3.0Editor button
- Build an accordion or tabs from a pop-up, with a sortable section list, looks and options.
- The package installs the button plugin too.
0.2.0Tabs
- Tabs with four phone modes, plus the Cards, Pills, Chaos, Dark and Bare looks.
- Documented CSS variables.
0.1.0First build
- Tag parser with nesting to three levels, accordions in the Boxed, Simple and Line looks, a built-in script, settings, editor notes, print and no-script views.