Page 1 of 1

want to change All categories link to Home

Posted: Mon Nov 14, 2005 2:14 am
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!!

Re: want to change All categories link to Home

Posted: Mon Nov 14, 2005 9:46 am
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

Re: want to change All categories link to Home

Posted: Fri Jan 20, 2006 12:47 am
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?

Posted: Fri Jan 20, 2006 5:48 am
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!