Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • heppone Friend
    #190744

    Hi there,

    i guess i found an issue on the template, please see attached screenshots:

    showing 19th september

    showing 25th september

    Is there any problem in my configuration or is it a bug?

    Best Regards


    1. issue1
    2. issue2
    MoonSailor Friend
    #506413

    Hi heppone,

    In event page, it filters and shows date of “Start Publishing”.

    If you want change it, pls open “templates/ja_muzic/html/com_content/category/event.php”, find code :


    $itemcreated = JHtml::_('date', $item->publish_up, $this->params->get('group_by'));

    and change :


    $item->publish_up

    by


    $item->modified

    as date modified


    $item->created

    as date created.

    Regards

    Css Magician Friend
    #506416

    Dear heppone,

    Thank you for contacting Joomlart,

    From your reporting, I see the problem when the description is short. I fixed in our template.
    You can put below css to templates/ja_muzic/css/template.css for fixing it.

    .view-category.ja-muzic-events .items-row.left > .span12,
    .view-category.ja-muzic-events .items-row.right > .span12 {
    float: none;
    }

    Thank you

    heppone Friend
    #506516

    Thx for your reply.

    I changed
    $itemcreated = JHtml::_(‘date’, $item->publish_up, $this->params->get(‘group_by’));

    to
    $itemcreated = JHtml::_(‘date’, $item->created, $this->params->get(‘group_by’));

    but nothing has changed. It still shows puplished date and not create-date

    Also modified doesnt work, it still shows puplished date. Do i have to change anything else?

    heppone Friend
    #506518

    I found the issue myself:

    In file event_item.php i replaced puplish_up to created:

    <?php if ($params->get(‘show_create_date’)) : ?>
    <?php

    if($event_category == $this->item->catid){ ?>
    <div class=”created-date”>
    <span class=”day”><?php echo JHtml::_(‘date’, $this->item->created, JText::_(‘TPL_DATE_FORMAT_DAY’));?></span>
    <span class=”month”><?php echo JHtml::_(‘date’, $this->item->created, JText::_(‘TPL_DATE_FORMAT_MONTH’));?></span>
    </div>
    <?php }else{ ?>
    <dd class=”create”>
    <?php echo JText::sprintf(‘COM_CONTENT_CREATED_DATE_ON’, ‘<span>’.JHtml::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC3′)).'</span>’); ?>
    </dd>
    <?php }?>
    <?php endif; ?>

    MoonSailor Friend
    #506691

    Hi heppone,

    It seems to be a bug of this template.

    Try to open file “templates/ja_muzic/html/com_content/category/event.php”

    Find :


    $itemcreated = JHtml::_('date', $item->publish_up, $this->params->get('group_by'));

    then change to


    $orderdate = $this->params->get('order_date');
    $itemcreated = JHtml::_('date', $item->$orderdate, $this->params->get('group_by'));

    Regards

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

This topic contains 6 replies, has 3 voices, and was last updated by  MoonSailor 11 years, 2 months ago.

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