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!!
want to change All categories link to Home
-
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
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
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/
# 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
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?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)
Code: Select all
<br /><a href="{$form_url}" title="{$CONST.ALL_CATEGORIES}">{$CONST.ALL_CATEGORIES}</a>
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!