-
AuthorPosts
-
Josh Friend
Josh
- Join date:
- October 2008
- Posts:
- 68
- Downloads:
- 262
- Uploads:
- 11
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
May 19, 2015 at 6:56 am #206452Hello there,
In the JA News Pro module, the Content Source can be either Joomla Articles or K2 items.
Now, the module is displaying Article items. Articles are sorted by Date. I have found out this is sorted according to Date Created.
How do I change the code so that it is sorted according to Date Published?
I’d tried to modify
modules/mod_janewspro/mod_janewspro.xml file<field
name=”ordering”
type=”list”
default=”ordering”
label=”ARTICLES_SORTED_BY”
description=”ARTICLES_SORTED_BY_DESC”>
<option value=”ordering”>Ordering</option>
<option value=”title”>Title Alphabetical</option>
<option value=”hits”>Most popular</option>
<option value=”modified”>Latest Modified</option>
<option value=”created”>Date</option>
<option value=”publish_up”>Publish Date</option>
<option value=”rand”>Random ordering</option>
</field>but it’s NOT working
Please advise…
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 19, 2015 at 7:04 am #571034Hi there
Have you tried with
<option value="publish_up">Publish Date</option>
( Is it your modified ? )Thank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 19, 2015 at 7:04 am #736082Hi there
Have you tried with
<option value="publish_up">Publish Date</option>
( Is it your modified ? )Thank you,
Viet VuJosh FriendJosh
- Join date:
- October 2008
- Posts:
- 68
- Downloads:
- 262
- Uploads:
- 11
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
May 19, 2015 at 7:14 am #571039Yes I have tried… you can see the modified code above
Josh FriendJosh
- Join date:
- October 2008
- Posts:
- 68
- Downloads:
- 262
- Uploads:
- 11
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
May 19, 2015 at 7:14 am #736087Yes I have tried… you can see the modified code above
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 26, 2015 at 9:39 am #571736Hi there
You have modified xml but you didn’t change in PHP to update query.Thank you,
Viet VuJosh FriendJosh
- Join date:
- October 2008
- Posts:
- 68
- Downloads:
- 262
- Uploads:
- 11
- Thanks:
- 14
- Thanked:
- 1 times in 1 posts
May 26, 2015 at 2:02 pm #571756Where to modify?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
May 27, 2015 at 9:44 am #571943Hi there
Please check into module helper.If you can’t work on it please provide your site backend & CPanel access.
I’ll help you work on it.Thank you,
Viet Vu -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Josh 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum