Hi!
Just a question. Is it possible to remove the "Main : " string from the <title> tag in the main page?
Thanks in advance
Hi!
Just a question. Is it possible to remove the "Main : " string from the <title> tag in the main page?
Thanks in advance
You would need to edit that out of the template directly - certainly not difficult. ;)
But, if I strip the <last:ndxz_title /> tag from the template, the title in the rest of the sections disappear, too. Am I wrong?
Only the main, page, aha...
You would need to make a small custom plugin that checked it it was the main page (home = 1) and then dealt with things accordingly.
I'll try your suggestion. Thanks!
I tried this in my template with no success:
global $rs;
if ($rs['id'] == 1) {
....
}
What am I doing wrong?
Ok, I managed to build a plugin
function ndxz_title_plus()
{
$OBJ =& get_instance();
if ($OBJ->vars->exhibit['home'] != 1) {
return ($OBJ->vars->exhibit['section_top'] == 1) ?
strip_tags($OBJ->vars->exhibit['sec_desc']) :
strip_tags($OBJ->vars->exhibit['title']);
}
}
I used bipster's plugin, but nothing changed. Can someone help me? I've changed "main" to ".", but would like to remove the "." and the two dots ":" that precede my website name.
In the index.php file of the theme you're currently using (for example the default folder is the default theme) find the following:
<title><last:ndxz_title /> : {{obj_name}}</title>
last:ndxz_title is the exhibit name and obj_name is the Website Title you gave to your indexhibit site (via Admin/Theme tab)
Change them accordingly.
Perfect, thank you!
This thread has been closed, thank you.