Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • clrmedia Friend
    #204755

    Event links require users to click an event title for more information about the event. Is it possible to increase the target area by allowing users to click the date box or the whole row for more information about the event? If yes, how?

    Adam M Moderator
    #563578

    Hi @clrmedia,

    Please open file root_foldertemplatesja_teline_vhtmllayoutsjoomlacontentlinkevent.php and look for this code :

    <span class="date"><?php echo JHtml::_('date', $item->params->get('ctm_start',''), 'DATE_FORMAT_TELINE_LC1'); ?></span>
    <span class="month-year"><?php echo JHtml::_('date', $item->params->get('ctm_start',''), 'DATE_FORMAT_TELINE_LC2'); ?></span>

    then update as below :

    <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($displayData->slug, $displayData->catid)); ?>" itemprop="url">
    <span class="date"><?php echo JHtml::_('date', $item->params->get('ctm_start',''), 'DATE_FORMAT_TELINE_LC1'); ?></span>
    <span class="month-year"><?php echo JHtml::_('date', $item->params->get('ctm_start',''), 'DATE_FORMAT_TELINE_LC2'); ?></span>
    </a>

    clrmedia Friend
    #563652

    Thank you Adam M!

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

This topic contains 3 replies, has 2 voices, and was last updated by  clrmedia 9 years, 8 months ago.

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