test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • microvation Friend
    #162143

    Create date shows on the home/featured page even though the “show create date” is set to hide. If I hide author then both author and create date disappear from featured articles/home page. The result I seek is to show the author but not the create date. The attached annotated screenshot shows the problem more clearly.

    Also, you can view it live at http://www.microvation.org.

    Note: This appears to be specific to JA Rave because if I change to T3 Blank then this does not happen — author and create date hide/show independently and as expected.

    Thanks,
    -billb


    1. temp
    Ninja Lead Moderator
    #384254

    Thank you for pointing this out with detail explanation, this is a bug of JA Rave no doubt, we will investigate and have a solution for it, issue link to let you track the progress:

    http://pm.joomlart.com/browse/JATCRAVEJ16-38

    microvation Friend
    #384266

    Sounds good thank you. -billb

    Ninja Lead Moderator
    #385517

    Hi, we have fixed this issue, if you dont want to wait for the next release you can manually apply the fix:
    open :
    ja_ravehtmlcom_contentfeatureddefault_item.php
    find this snippet:

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

    <?php endif; ?>
    <?php if ($params->get('show_author') && !empty($this->item->author)) : ?>
    <dd class="createdby">
    by <?php JText::printf(($this->item->created_by_alias ? $this->escape($this->item->created_by_alias) : $this->escape($this->item->author)) ); ?>,
    </dd>
    <dd class="create">
    on <?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')); ?>
    </dd>
    <?php endif; ?>

    and replace it by

    <?php if ($params->get('show_author') && !empty($this->item->author)) : ?>
    <dd class="createdby">
    <?php $author = $this->item->author; ?>
    <?php $author = ($this->item->created_by_alias ? $this->item->created_by_alias : $author);?>

    <?php if (!empty($this->item->contactid ) && $params->get('link_author') == true):?>
    <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY' ,
    JHTML::_('link',JRoute::_('index.php?option=com_contact&view=contact&id='.$this->item->contactid),$author)); ?>

    <?php else :?>
    <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
    <?php endif; ?>
    </dd>
    <?php endif; ?>
    <?php if ($params->get('show_create_date')) : ?>
    <dd class="create">
    <?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHTML::_('date',$this->item->created, JText::_('DATE_FORMAT_LC3'))); ?>
    </dd>
    <?php endif; ?>

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

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 13 years, 8 months ago.

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