Category page - config

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
gamespel
Regular
Posts: 17
Joined: Mon Jul 04, 2005 8:21 pm

Category page - config

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Category page - config

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gamespel
Regular
Posts: 17
Joined: Mon Jul 04, 2005 8:21 pm

Post by gamespel »

Thanks again... :D
Post Reply