× Tips, tricks and tutorials for Joomla!
Here you may ask questions which are not related to Joomla! Extensions by Kubik-Rubik.

Tipps, Tricks und Tutorials für Joomla!
Hier können Sie Fragen stellen, die nicht in Zusammenhang zu Joomla! Erweiterungen von Kubik-Rubik stehen.

Hack - Top Rated Contet Module - Joomla! 1.7

7 years 7 months ago #4958 by Vitja

if you need a "Top Rated Content" module in Joomla! 1.7, you can achieve it with a small hack of the module "Most Read Content".

Open: modules/mod_articles_popular/helper.php

$model->setState('list.ordering', 'a.hits');
Change to:
$model->setState('list.ordering', 'rating');
That's all! Now the articles will be ordered by the rating und you have the wished behavior.

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997

Please Log in to join the conversation.

Time to create page: 0.107 seconds