-
AuthorPosts
-
smitheringale Friend
smitheringale
- Join date:
- December 2009
- Posts:
- 236
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 63
- Thanked:
- 44 times in 18 posts
January 22, 2010 at 1:57 pm #147896Hello,
Thank you for taking time to read this.
- I have a website using the JA Seleni template
- JA Seleni ships with JA Side news
- I have installed Ja side news and it is working quite well
- I would like the order of articles to be based on the date that the article was published
- Unfortunately, the articles are currently ordered based on the date created
How do I get the JA Side news module to display articles based on published date. Unfortunately they are currently ordered by creation date.
This is important, because my website publishes minutes for a local group.
I want to add Minutes for february 2007, and set these as being published in 2007. But I want my January 2010 minutes to appear at the top, having been published in January 2010 (3 years later in time).
Also, on a side note, I find these modules to be quite slow in reacting to new articles published on the website. It is oftern several minutes before these realise a new article has been added to the database – even if i refresh the screen or clear my browing history and cache. Any suggestions on this too.
Thank you for taking time to help me with this, and hope the answer will be useful for other members too.
smitheringale Friendsmitheringale
- Join date:
- December 2009
- Posts:
- 236
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 63
- Thanked:
- 44 times in 18 posts
January 22, 2010 at 2:18 pm #330050I just wanted to point out that I can get around this issue by chaging the “creation date” in the backend.
But I would really prefer this to be accomplished in the front end, either by ordering on the basis of published date – or, and here is another idea, could I allow front end users to specify the creation date when adding and editing articles?
Many thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 28, 2010 at 4:30 am #330683Now, I help you add more features on the artciles ordering:
Please open the file: modulesmod_jasidenewsmod_jasidenews.xml and try to find code at 39:
[PHP]
<param name=”sort_order_field” type=”list” default=”created” label=”SORT ORDER BY” description=”SORT ORDER BY DESC”>
<option value=”created”>DATE</option>
<option value=”ordering”>ORDER</option>
<option value=”hits”>HITS</option>
</param>
[/PHP]Replace:
[PHP]
<param name=”sort_order_field” type=”list” default=”created” label=”SORT ORDER BY” description=”SORT ORDER BY DESC”>
<option value=”publish_up”>PUBLISH DATE</option>
<option value=”modified”>MODIFIED DATE</option>
<option value=”created”>CREATION DATE</option>
<option value=”ordering”>ORDER</option>
<option value=”hits”>HITS</option>
</param>
[/PHP]With changes, you can order articles by Modified date or publishing date via the “Articles Sorted By” parameter.
Good luck
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Saguaros 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum