AlCher
Karma: 0
|
Re:SEO & SEF BUG - 2009/06/07 10:49
1. in ../com_remository/remository.interface.php around lines 500-505
| Code: | function setPageTitle ($title) {
$this->getMainFrame();
if (method_exists($this->mainframe, 'SetPageTitle')) $this->mainframe->SetPageTitle($title);
if (defined('_JOOMLA_15PLUS') AND $this->getCfg('sef')) {
// $this->appendPathway($title, remositoryRepository::getInstance()->RemositoryBasicFunctionURL());
}
}
|
2. in ../com_remository/router.php
| Code: | function remositoryBuildRoute (&$query) {
foreach ($query as $key=>$value) {
$item[] = strtolower($key).'='.$value;
if ('option' != $key AND 'Itemid' != $key) unset ($query[$key]);
}
$sefstring = isset($item) ? sef_remository::create(implode('&', $item)) : '';
return $sefstring ? explode('/', $sefstring) : array();
}
|
It is work for me. Remove amp; from the code - the forum distorts code.
Post edited by: AlCher, at: 2009/06/07 10:54
|