-
AuthorPosts
-
microvation Friend
microvation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
March 30, 2011 at 1:53 pm #162143Create 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 user says Thank You to microvation for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 31, 2011 at 10:26 am #384254Thank 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:
microvation Friendmicrovation
- Join date:
- March 2011
- Posts:
- 75
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 32
- Thanked:
- 3 times in 1 posts
March 31, 2011 at 11:29 am #384266Sounds good thank you. -billb
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 9, 2011 at 9:22 am #385517Hi, 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; ?>AuthorPostsViewing 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, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
on feature/home page create date shows automatically if show author
Viewing 4 posts - 1 through 4 (of 4 total)