Pagetitle issue with Joomla 1.5 - Joomla! Forum - community, help and support
hi,
this john, have issue joomla 1.5. problem page title.
issue: using custom joomla template. page title in template has few design elements, implement had turn off "show article title" in content components.
to display page title design elements, used following code in template.
$mydoc =& jfactory::getdocument();
$mytitle = $mydoc->gettitle();
echo $mytitle;
initially working well, later when installed joomsef , configured meta-title each page, had conflict ie. meta-title displayed in title area. in joomla 1.0 had function " echo $mosconfig_live_site;" takes care of issue. joomla 1.5 not find one.
please let know how solve problem.
my solution solve problem:
i don't have function display page title alone, have joomla 1.0 ($mosconfig_live_site). after analysis found joomsef setting meta-title site , same meta-title displayed the page title. following plan of action have
1. create global variable $jos_pagetitle.
2. before joomsef sets meta-title, wanted assign title golbal variable.
$mydoc =& jfactory::getdocument();
$jos_pagetitle = $mydoc->gettitle();
3. display global variable in template.
please let me know if have other thoughts asap. still joomla 1.5 have page title issue.
thanks,
john
this john, have issue joomla 1.5. problem page title.
issue: using custom joomla template. page title in template has few design elements, implement had turn off "show article title" in content components.
to display page title design elements, used following code in template.
$mydoc =& jfactory::getdocument();
$mytitle = $mydoc->gettitle();
echo $mytitle;
initially working well, later when installed joomsef , configured meta-title each page, had conflict ie. meta-title displayed in title area. in joomla 1.0 had function " echo $mosconfig_live_site;" takes care of issue. joomla 1.5 not find one.
please let know how solve problem.
my solution solve problem:
i don't have function display page title alone, have joomla 1.0 ($mosconfig_live_site). after analysis found joomsef setting meta-title site , same meta-title displayed the page title. following plan of action have
1. create global variable $jos_pagetitle.
2. before joomsef sets meta-title, wanted assign title golbal variable.
$mydoc =& jfactory::getdocument();
$jos_pagetitle = $mydoc->gettitle();
3. display global variable in template.
please let me know if have other thoughts asap. still joomla 1.5 have page title issue.
thanks,
john
Comments
Post a Comment