Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • luciffere Friend
    #184131

    Because the sitename is shown like “sitename” word not with the real sitename configured in global configuration in ../ja_mero/tpls/blocks/header.php the code

    $sitename = $this->params->get('sitename') ? $this->params->get('sitename') : JFactory::getConfig()->get('sitename');
    must be replaced by:


    $app = JFactory::getApplication();
    $sitename = $app->getCfg('sitename');

    In this mode the tag “sitename” is corected.

    Ninja Lead Moderator
    #480425

    Thanks for the feedback but with header.php file and run on front-end site

    JFactory::getApplication()->getCfg('sitename');
    JFactory::getConfig()->get('sitename')

    Results are the same, you can check it again

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum