want to change All categories link to Home

Having trouble installing serendipity?
Post Reply
BuddahBoy
Regular
Posts: 9
Joined: Sat Nov 12, 2005 3:11 pm
Location: Yogaville, VA
Contact:

want to change All categories link to Home

Post by BuddahBoy »

where do I have access to change the link "All categories" to "Home" - found All categories in the serendipity_lang_en.inc.php page but that wasn't it -

using the Joshua template

thanks much!!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: want to change All categories link to Home

Post by garvinhicking »

You can either edit the include/plugin_internal.inc.php file and search for the "categories_plugin" plugin, or you use serendipity 0.9 and enable the "Smarty templating" option of the plugin, and then change the plugin_categories.tpl file for your template (copy it over from the default template directory)

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/
bu99ed

Re: want to change All categories link to Home

Post by bu99ed »

garvinhicking wrote:...use serendipity 0.9 and enable the "Smarty templating" option of the plugin, and then change the plugin_categories.tpl file for your template (copy it over from the default template directory)
Hi. I'm trying to achieve this too but what exactly should I edit in plugin_categories.tpl as I cant find "All categories" anywhere?
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Code: Select all

    <br /><a href="{$form_url}" title="{$CONST.ALL_CATEGORIES}">{$CONST.ALL_CATEGORIES}</a>
The $CONST.ALL_CATEGORIES is the "All Categories" string, in whatever language Serendipity is running right now.

The link to the home directory is $serendipityBaseURL, and the text for "Homepage" in the current language should be $CONST.HOMEPAGE.

Of course, this means you could change the string in your serendipity_lang_en.inc.php (or whatever your language is) instead of creating/editing the templates. If you prefer.

Good luck!
Judebert
---
Website | Wishlist | PayPal
Post Reply