test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • defro781 Friend
    #129352

    When I click on the actual category name (right above the 5 listed articles for each category) they don’t direct to the category layout, but to the first article listed. When I had sh404ref enabled it was directing fine, but without it (just the natural joomla links) it’s not.

    Here’s my site: http://www.endurancenews.net

    The Categories: Running, Triathlon, Cycling, Swimming etc link to the first article instead of (for example, Triathlon, should go to: http://www.endurancenews.net/index.php?option=com_content&view=category&layout=blog&id=24&Itemid=55

    THANKS FOR THE HELP!!! 🙂

    irmaar Friend
    #252334

    Hello, I have the same problem. You have to change a line in the file:

    modules/mod_janews/mod_janews.php

    This
    $link = ContentHelperRoute::getArticleRoute($rows[0]->slug, $rows[0]->catslug, $rows[0]->sectionid);

    with this:
    $link = ContentHelperRoute::getCategoryRoute($rows[0]->catid, $rows[0]->sectionid);

    I hope ist work for you.

    defro781 Friend
    #252368

    Worked like a charm!

    Thanks!

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

This topic contains 3 replies, has 2 voices, and was last updated by  defro781 16 years, 6 months ago.

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