Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

issue with the code
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: issue with the code

issue with the code 10 years, 6 months ago #26931

hi i am using joomsef 3.8 and it seems to have issue with the line 1614

my apache error log is constatnly throwing error saying title isdnt defined ..the function for the same is


function _getMenuTitle($option, $task, $id = null, $string = null)
{
$db =& JFactory::getDBO();
$sefConfig =& SEFConfig::getConfig();

// JF translate extension.
$jfTranslate = $sefConfig->translateNames ? ', `id`' : '';

if ($title == JoomSEF::_getCustomMenuTitle($option)) {
return $title;
}

you havent defined title but your using it..any idea how are u expecting the function to return

Re: issue with the code 10 years, 6 months ago #27019

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
There is some problem with your file, I've checked it and correctly the line is like this:
if ($title = JoomSEF::_getCustomMenuTitle($option)) {

There's only one "=" character, not two of them, so the $title variable gets defined and is checked right away. Are you sure you haven't made any custom modifications in the file? What is the exact version of JoomSEF you're using (3.8.x)?
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný