Page 1 of 1

Category page - config

Posted: Mon Aug 08, 2005 10:23 pm
by gamespel
When I look at the source of my page I see this

<div style="padding-bottom: 2px;">

for every category link.

I want to use the <li></li> tag for a nicer look.

I've been searching in al the plugin files, but I didn't find anything.

Does anybody know where I can find and change the links from the categories?

Re: Category page - config

Posted: Mon Aug 08, 2005 11:54 pm
by garvinhicking
Because of performance reasons, the categories plugin is not template-ified (one of the very little amounts of s9y frontend that remain PHP-HTML coded).

Thus you need to edit the PHP contents, which can be found in the file include/plugins_internal.inc.php in the class "serendipity_categories_plugin". You can, if you are experienced, also copy this plugin code, save it as an external plugin and modify that. Then when you upgrade Serendipity you will not loose your modification!:)

Regards,
Garvin

Posted: Tue Aug 09, 2005 3:51 am
by gamespel
Thanks again... :D