Проблема Не отображается контент после обновления Джумлы

Discussion in 'Ошибки при работе с Joomla' started by piter_piter, Mar 15, 2014.

  1. woojin
    Offline

    woojin Местный Staff Member => Cпециалист <=

    Joined:
    May 31, 2009
    Messages:
    3,204
    Likes Received:
    334
    Gender:
    Male
    старые закометировать эти вставить
     
  2. Offline

    piter_piter Пользователь

    Joined:
    Jan 20, 2012
    Messages:
    76
    Likes Received:
    0
    Gender:
    Male
    То- есть вот так?

    Код (CODE):
    1. echo "<div class=\"art-postcontent\">\r\n    <!-- article-content -->\r\n";
    2. if (!$this->params->get('show_intro'))
    3. //echo $this->article->event->afterDisplayTitle;
    4. //echo $this->article->event->beforeDisplayContent;
    5. $dispatcher    = JEventDispatcher::getInstance();
    6. $dispatcher->afterDisplayTitle;
    7. $dispatcher->beforeDisplayContent;
    8. $dispatcher->afterDisplayContent;
    9. if (($this->params->get('show_section') && $this->article->sectionid) || ($this->params->get('show_category') && $this->article->catid)) {
    10. ?>


    Если сделать так, то сраые ошибки исчезают, а появляются новые. Вот такие:

    Код (CODE):
    1. Notice: Undefined property: JEventDispatcher::$afterDisplayTitle in templates/new/html/com_content/article/default.php on line 59
    2.  
    3. Notice: Undefined property: JEventDispatcher::$beforeDisplayContent in templates/new/html/com_content/article/default.php on line 60
    4.  
    5. Notice: Undefined property: JEventDispatcher::$afterDisplayContent in templates/new/html/com_content/article/default.php on line 61
     
    Last edited: Mar 24, 2014

Share This Page

Loading...