-
AuthorPosts
-
heppone Friend
heppone
- Join date:
- September 2013
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 1 times in 1 posts
September 19, 2013 at 4:59 pm #190744Hi 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
-
MoonSailor Friend
MoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
September 20, 2013 at 2:25 am #506413Hi 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
1 user says Thank You to MoonSailor for this useful post
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
September 20, 2013 at 2:42 am #506416Dear 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
1 user says Thank You to Css Magician for this useful post
heppone Friendheppone
- Join date:
- September 2013
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 1 times in 1 posts
September 20, 2013 at 5:44 pm #506516Thx 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 Friendheppone
- Join date:
- September 2013
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 1 times in 1 posts
September 20, 2013 at 5:48 pm #506518I found the issue myself:
In file event_item.php i replaced puplish_up to created:
<?php if ($params->get(‘show_create_date’)) : ?>
<?phpif($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; ?>1 user says Thank You to heppone for this useful post
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
September 23, 2013 at 6:42 am #506691Hi 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
-
AuthorPosts
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, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum