Joomla 3.2.3 featured article ordering

徘徊边缘 提交于 2019-12-05 09:21:49

I have J! 3.3.1 and was experiencing the same issue.

Go into the menu manager. Open each of your menu items and in the "Layout" tab make the following changes:

Category Order - No Order (this is the real key to getting your articles ordered the way you want.

Article Order - Most Recent (or which ever way you want it ordered.

Date For Ordering - I use published but you can use whatever you want.

Do this for each of your menu items and it should fix the problem.

user2615615

had the same problem. No need to code. Can be done in menus.

  1. Article manager click on featured Articles on left hand side. Your Featured articles will appear and a column for ordering shows up. Order accordingly.

  2. Go to the Menu Manager to the page you want the featured articles to appear. On the second tab is Layout. go down to Article Order and select "Featured Articles Order" from the drop down. Save and your articles will appear in the order you selected.

Andrea

Joomla 3.3.6 here, I have the same problem, featured ordering always descending no matter what, I changed line 106 in components/com_content/helpers/query.php from:

$orderby = 'a.featured DESC, fp.ordering, ' . $queryDate . ' DESC ';

to:

$orderby = 'a.featured ASC, fp.ordering, ' . $queryDate . ' DESC ';

Now it works as it should.

I had the same problem with ordering of featured articles for the home page. Whatever the order I put it didn't work.

My setup for the Home is

Category Order - No Order

Article Order - Features article order

Thanks to Andrea's tip I changed line 106 in components/com_content/helpers/query.php to

$orderby = ' fp.ordering, a.featured ASC, ' . $queryDate . ' DESC ';

So sorting by the fp (front page) ordering is always first.

This is surely not the best correction but at least it solved my problem. for me it looks like a bug in the query construction for the order

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!