in the head:
- how do to remove "Home | " in the title?
- how do to change the description "Home" in the index?
thanks
Offline
Hi ;
you can modify your language file (Admin > Plugins > LocalFiles Editor > tab "Languages"), in which you can search for the string "Home". The default of this solution is that you should do so for all languages, one after each other.
Or you can also create a template-extension : Admin > Plugins > LocalFiles Editor > tab "Templates" : create a new file based on default/header.tpl (give it any customized name, such as "my_header.tpl", and keep it saved in the default proposed folder). Once the template edited to your convenience, you activate it thanks to "Admin > Configuration > Templates" page.
Last edited by LucMorizur (2010-08-31 13:19:01)
Offline
thanks LucMorizur!
I see that I can edit titles and description on all pages except in the most important, and this is the index! Could you tell me if there is any solution?
thanks again
Offline
personal plugin
install and active localfile editor
tab 'personal plugin'
add_event_handler('loc_end_page_header', 'simptitle' );
function simptitle ()
{
global $template, $page, $title2, $conf;
$title2 = array();
$title2['page'] = $template->get_template_vars('PAGE_TITLE');
$array = explode($conf['level_separator'], $title2['page']);
$count = count($array);
if (!empty($array[$count-1]))
{
$template->assign('PAGE_TITLE', $array[$count-1]);
}}
Offline
I put on "main.inc.php" of Personal Plugin the code given by you, and after what should I do?
Offline
If you've install and active personal plugin, I must delete home on title tab.
This isn't what you wanted?
Offline
what I wanted is in this post..
[Forum, topic 16437] Changes in the HEAD
the indications of LucMorizur solve part of my question, the only detail and also the most important thing is that with personalize templates you can not change the index
Last edited by sergix (2010-09-29 16:16:34)
Offline