Fatal error: Call to undefined method stdClass::escape() - Joomla! Forum - community, help and support


can please me out..

i'm trying convert old template work 2.5 -everything seemed go ok, few minor probs i'm found answers to. main page displays fine.. upon clicking on link take me article, lovely error:

code: select all

fatal error: call undefined method stdclass::escape() in /home/iofw474/public_html/myths/templates/websitemgl25/functions.php on line 188

. $page->escape($page->params->get($key === null ? 'page_title' : $key)) . '</span>')


this part of code:

code: select all

function artxpagetitle($page, $criteria = null, $key = null)
   {
      if ($criteria === null)
         $criteria = $page->params->def('show_page_title', 1);
      return $criteria
         ? ('<span class="componentheading' . $page->params->get('pageclass_sfx') . '">'
            . $page->escape($page->params->get($key === null ? 'page_title' : $key)) . '</span>')
         : '';
   }


i think i'm close.. need bit of step.

artisteer has changed way code joomla! 2.5 templates. have removed artxpagetitle function. think better download free joomla! 2.5 template , take inside.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support