Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • John Friend
    #971219

    In events blogs articles show the following error:

    Notice: Use of undefined constant style – assumed ‘style’ in /home/xxxxx/public_html/templates/ja_teline_v/html/layouts/joomla/content/item/event.php on line 30

    28 $attrs = array(style=>’t3xhtml’);
    29 $tplparams = JFactory::getApplication()->getTemplate(true)->params;
    30
    31 $ads_modules = ‘event-aside’; $result = null;
    32 $renderer = JFactory::getDocument()->loadRenderer(‘modules’);
    33 $modules = $renderer->render($ads_modules, $attrs, $result);

    Can not find the fix for it. Would appreciate it a fix.

    caballa1 Friend
    #971438

    I have the same error and the events display two times

    Saguaros Moderator
    #971615

    Hi

    Could you provide the URL, Admin & FTP account via Private reply? I will have a look.

    John Friend
    #972820
    This reply has been marked as private.
    Saguaros Moderator
    #972875

    Hi John,

    I can’t access your site with provided info, could you check again?

    caballa1 Friend
    #974071
    This reply has been marked as private.
    Saguaros Moderator
    #974266

    May I know which PHP version are you using so I replicate the issue at my end?

    caballa1 Friend
    #974350

    PHP Version 5.6.3

    Saguaros Moderator
    #974366

    You can open the file that the error message indicates and look for this line of code:

    $attrs = array(style=>’t3xhtml’);

    change it to:

    $attrs = array('style'=>'t3xhtml');
    caballa1 Friend
    #974388

    This solve the error, but the main content of the event is display two times.

    Saguaros Moderator
    #974817

    Where can I see the duplicated content of event? I see it looks fine now on your site.

    caballa1 Friend
    #974983

    When you open an event you can see that the main text is duplicate, one time in big leters and then in normal again with the rest of the content.


    1. joomla
    Saguaros Moderator
    #975173

    It seems to be the intro text of article, you can try to access backend settings of article > Options > and set ‘Show Intro Text’ option to No.

    caballa1 Friend
    #975237

    But in articles apear the intro text and the rest of the content correct and I need to show the intro text of articles. This only happens in events.
    I attached you an article to compare with events


    1. joomla-1
    Saguaros Moderator
    #975591

    You can try to set it hide > clean cache and see how it goes.

Viewing 15 posts - 1 through 15 (of 27 total)

This topic contains 26 replies, has 5 voices, and was last updated by  John 8 years ago.

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