Wednesday, 23 June 2010

Joomla Module Frontpage not showing latest article

On the frontpage of Escape Surfboards Media Pages - http://www.escapesurfboards.biz I've used the Joomla module Mini Front Page ( mod_minifrontpage ) to display the latest blog entry for the Surf Reports category.
However I was getting a problem with the article not being the latest entry. A small change to the mySql statement in the helper file for this module has sorted this problem out in this scenario.


OPEN modules/mod_minifrontpage/helper.php


FIND line 95 - which should be the ORDER BY command.

I changed this to

. "\n ORDER BY a.id DESC "



this now works for me.








Surf Report:Polzeath Surf Reports

Blogs - Surfboard Manufacturing Blogs, SUP Blogs, Kite Boarding Blogs, Retro Surfing Blogs

Gallery - Polzeath Surf Pictures, constantine surf photos, UK surfing pictures

Videos - Surfing equipment videos, surf technical videos, surf equipment videos

Technical - Polzeath Ding Repair, custom kite boards daymer, surfboard artwork cornwall

 

 

 

1 comment:

江婷 said...

pleasure to find such a good artical! please keep update!!.................................................................