Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • eserdark Friend
    #135443

    Hi,
    I have a queation about the ja news module. When we use the ja news module, section (or category) headers are linked to last news at front page. However, my question is tolink them to that sections or categories of the blog layout.

    How can I do this ?

    Thanks

    Sherlock Friend
    #281227

    Hi eserdark !

    You can do it following way below :

    Open mod_janews.php file in modulesmod_janews folder, find following code section at about line 213 :


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

    change to :


    $link = JRoute::_(ContentHelperRoute::getCategoryRoute($rows[0]->catslug, $rows[0]->sectionid));

    eserdark Friend
    #281248

    hi hainn84,
    Thanks fo for help.

    Probable you give me hint for 1.0 version of joomla. My site is 1,5 version.

    Can you give me the way of doing this in the 1,5 version ?

    Thanks a lot.

    eserdark Friend
    #281250

    Hi hainn84,
    excuse me ! Your explanation was in 1,5 version, I misunderstood.

    I have changed that line but I could success..

    İs there any other thing to do ?

    Sherlock Friend
    #281338

    Hi eserdark !

    Have you tried it and it not working for you ?

    eserdark Friend
    #281374

    Yes I have changed that line. But it is not working in my wishes. Category headers are still linked to last news at front page. But I want link them to blog layout as in the theme demo page.

    Thanks..

    Sherlock Friend
    #281731

    Hi eserdark !
    If you want titles of ja news link to category with type is “blog” , you need must create menus link to sections what stores categories enter in ja news module with type is “section blog layout”.

    eserdark Friend
    #283325

    Now final case is that. The titles of news are going to blog layout of this category. But I want to link only category title to the blog layout of this category. How can I do it ? If you want the url is http://www.bes.org.tr..

    Thanks

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

This topic contains 8 replies, has 2 voices, and was last updated by  eserdark 15 years, 11 months ago.

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