Tuesday, 16 December 2014

How-to: Order Featured Articles in Joomla 2.5


Joomla Featured article ordering
We have a slide carousel displaying three Featured Articles on the homepage; the site is built in Joomla 2.5. Assigning an article as a Featured Article is easy enough, but by default, Joomla seems to want to display them in alphabetical order by slide title.

Changing the article order is also simple enough, except Joomla seems to ignore it... there's another step required.


Joomla admin - adjust Featured article ordering
To change the article order in Joomla 2.5:
  • Log into the Joomla Administrator back end.
  • From the main menu, select Content, Featured Articles.
  • Click the heading Ordering to fully enable the ordering function. 
  • You can now sort according to the article order. Clicking the blue and white up/down arrows will adjust the Featured Articles order.
  • To ensure the ordering is saved, click the little floppy disk icon next to the Ordering Heading.
All of which is fine until you go back to the homepage and find your carousel in exactly the same alphabetical order by title.

In Joomla 2.5, the article ordering  suffers an override by the menu settings. Of course, why wouldn't it!?!?

So the second step:

Joomla admin - adjust Home menu item Layout properties
You may need to adjust the Article Order setting on your Joomla 2.5 homepage menu item. To do this:
  • From the main menu, select Menus, Main Menu
  • Select Home to enter Edit Menu item
  • Over on the right under Layout Options, there are four options needed to get the carousel to use the Featured Article order:
    • Multi Column Order: Across
    • Category Order: No Order
    • Article Order: Featured Articles Order
    • Date for Ordering: Use Global
And yes, it seems to want all four of them set before it takes any notice or the article order. RC

No comments:

Post a Comment

At least try to be nice, it won't kill you...