Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • brandpropaganda Friend
    #987081

    I have a problem in envent article. When I acess page, the start and end dat is not shown!


    1. erro-date-event
    Ninja Lead Moderator
    #987167

    Hi,

    You can apply this way to your site

    Open templates/ja_teline_v/html/layouts/joomla/content/item/event.php file and add the source code as my screenshot: http://prntscr.com/d8api9

    <?php
        $config = JFactory::getConfig();
        $tz = new DateTimeZone($config->get('offset'));
        $date_start = new JDate($params->get('ctm_start',''));
        $date_end = new JDate($params->get('ctm_end',''));
    ?>
    Start Time: <?php echo $date_start->format(JText::_('DATE_FORMAT_LC3')); ?><br /> 
    End Time: <?php echo $date_end->format(JText::_('DATE_FORMAT_LC3')); ?> <br />

    Hope it helps

    Regards

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

This topic contains 1 reply, has 2 voices, and was last updated by  brandpropaganda 8 years ago.

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