Show tabbed categories?

A user on the forums asked how to build a tabbed category list. Following the principle of "there's more than one way to do it" I answered with a few different approaches how to solve that within Serendipity.

Let me say, that it can be achieved easily with little effort, thanks to the Smarty templating and the plugin API. You can even display a tabbed output of staticpages (see another forum post), since they assign $staticpage_XXX variables to the Smarty scope which you can check on in your index.tpl template. As well, building a function to fetch a list of staticpages (like the sidebar plugin for the staticpages does) could be integrated to not have any static HTML waste your templates. :)

Now, for the final question: Who is willing to contribute a tab-based category template, now that everything can be done in a template without modifying any core code or even requiring a plugin? :-)


Trackback specific URI for this entry

  • No Trackbacks


Display comments as (Linear | Threaded)

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

BBCode format allowed
Markdown format allowed