-
AuthorPosts
-
dpchap015 Friend
dpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
September 21, 2013 at 6:52 pm #190794I have notices that all articles in the Event category appear with the “Create Date” on the timeline and the home menu upcoming event slider.
Suppose i want to put an event that is coming in on 25th December 2013 and some more which are in 2014; how do i get them on timeline and the content slider?pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 22, 2013 at 6:47 am #506601Hi
The solution is giving to the articles belonging to the events category a custom order and then from ja_content slider module choose the Sort Order By = Ordering
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
September 22, 2013 at 8:18 pm #506639<em>@pavit 390559 wrote:</em><blockquote>Hi
The solution is giving to the articles belonging to the events category a custom order and then from ja_content slider module choose the Sort Order By = Ordering</blockquote>
Hi,
I did what you instructed.Here what i have:
=> this fixed the home page content slider. 🙂 =>But if you look at my “Event” menu (the category blog layout) i am not able to get this page working properly.
& ==>The event page still shows content based on the date of Publishing rather than the date of creation or the ordering as in the case of the content slider where its showing the “date of creation” in the box.
My event menu settings are: <blockquote>Please refer the next post as i can only attach 5 images</blockquote>
- dpchap015 Friend
dpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
September 22, 2013 at 8:20 pm #506640MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
September 23, 2013 at 3:46 am #506671Hi,
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
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
September 23, 2013 at 6:26 am #506689<em>@MoonSailor 390651 wrote:</em><blockquote>Hi,
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</blockquote>
This totally worked.. 😀
dpchap015 Frienddpchap015
- Join date:
- September 2011
- Posts:
- 300
- Downloads:
- 75
- Uploads:
- 57
- Thanks:
- 1
- Thanked:
- 24 times in 1 posts
September 23, 2013 at 11:07 am #506734Also, is there any way to get years listed along with the date and month in the Content Slider here:
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
September 24, 2013 at 6:58 am #506837Hi dpchap015,
<blockquote>Also, is there any way to get years listed along with the date and month in the Content Slider here: Attachment 30282
</blockquote>You need customize it. Open file “templates/ja_muzic/html/mod_jacontentslider/default.php”, find code
<div class="created-date">
<span class="day"><?php echo JHtml::_('date', $contn->created, JText::_('TPL_DATE_FORMAT_DAY'));?></span>
<span class="month"><?php echo JHtml::_('date', $contn->created, JText::_('TPL_DATE_FORMAT_MONTH'));?></span>
</div>
:And you can add year as
<span class="year"><?php echo JHtml::_('date', $contn->created, 'Y');?></span>
Regards.
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 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
Only Current Events Show up with Dates
Viewing 8 posts - 1 through 8 (of 8 total)