freakedout

Sort ordering

Sort ordering

It seems like "Sorting - Joomla Ordering" sorts articles by "newest first" (joomla default). How do I get JCatX to sort articles by "sorting"(manual)?

Edited By: kjartan
18-12-2009 13:01:25
Guest
Guest
useravatar
Offline
Administrator has disabled public posting

Re: Sort ordering

Workaround: Open the sql database. Goto jos_menu. Find and go to the row with the menuitem that shows the category module. Go to the column called "Params". Copy & paste the following lines at the end (Don't delete existing text):

orderby_pri=order
orderby_sec=order

Guest
Guest
useravatar
Offline
Administrator has disabled public posting

Re: Sort ordering

Hello Kjartan,

The settings in the JcatX module configuration only refer to the module itself, not the article order in the blog view after you click a category in the module.

What you want to change is a Joomla default setting, which can either be edited when creating a menu item or you change the default value in the Joomla files.

To do that edit the file /components/com_content/models/category.php at line 406. Replace 'rdate' with 'order'. Then your blog view will be ordered by default by the article order.

Kind regards,
Pete

If you are satisfied with our products please write a review in the Joomla Extensions Directory!

Pete
Site admin
useravatar
Offline
758 Posts
User info in posts
Administrator has disabled public posting