-
AuthorPosts
-
October 24, 2013 at 1:46 pm #191675
How change the “January 1970” date in Events category blog?
Another problem is the date of the event, It works only with past events…
there is the possibility to change the publishing date to make it to appear for a date in future.ther is any documentation for this?
thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 25, 2013 at 9:17 am #510199I have reported this bug to development team and they will fix and release it next version. But you can fix this problem with my solution
Open templates/ja_muzic/html/com_content/category/event.php file
Line 207
$orderdate = $this->params->get('order_date');
change to
$orderdate = $this->params->get('order_date');
if($orderdate == 'published') $orderdate='publish_up';Let me know if it helps
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
October 29, 2013 at 10:21 am #510524<em>@Ninja Lead 395187 wrote:</em><blockquote>I have reported this bug to development team and they will fix and release it next version. But you can fix this problem with my solution
Open templates/ja_muzic/html/com_content/category/event.php file
Line 207
$orderdate = $this->params->get('order_date');
change to
$orderdate = $this->params->get('order_date');
if($orderdate == 'published') $orderdate='publish_up';Let me know if it helps</blockquote>
fix of this bug
you can post the event that are in future date. by created date
first you should select the created date order from blog layout option of events menu.
like this http://awesomescreenshot.com/00b1w19udb
and change the code/templates/ja_muzic/html/com_content/category/event-item.php
replace this code
<span class=”day”><?php //echo JHtml::_(‘date’, $this->item->publish_up, JText::_(‘TPL_DATE_FORMAT_DAY’));?></span>
<span class=”month”><?php //echo JHtml::_(‘date’, $this->item->publish_up, JText::_(‘TPL_DATE_FORMAT_MONTH’));?></span>by this
<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>now event blog layout will show the date of creation. like 7-2-2014
http://awesomescreenshot.com/0211w1da531 user says Thank You to dpchap015 for this useful post
-
AuthorPosts
This topic contains 3 replies, has 3 voices, and was last updated by dpchap015 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum