Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • modalia Friend
    #194541

    Hello, is it possible to show only featured articles in the Popular Module, in the home in position-20?

    It is very useful to highlight the most interesting content of a section module. But in a web of today just want to teach the latest articles. No content from several years ago, much that was interesting to readers.

    Possible to modify the module parameters Most read content? Could be customized to show only featured articles?

    http://www.modalia.es/feed

    Regards

    Javier

    phong nam Friend
    #521808

    Hi Javier,

    This request is related to customizing the core helper.php file of Most Read Content module rather than the “features” module layout on our Magz template.

    You can backup and open modulesmod_articles_popularhelper.php file, change 45th line:

    $model->setState('list.ordering', 'a.hits');

    to

    $model->setState("list.ordering", "fp.ordering");

    The module will display only featured articles.

    modalia Friend
    #522090

    Thank you very much, I will try this solution.

    Javier

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  modalia 10 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum