Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • toddmartin Friend
    #136847

    Is there a way to change the menu list for the drop down. I have setup two boxes for the two sections that I would like to display an article for. The drop down shows all categories under that section but I would only like it to display 4 specific categories. Is this possible.

    When I click on any of the items in the menu I don’t get that category but the link to the section. Where would the link be managed?

    Thanks

    Anonymous Moderator
    #285370

    Hi toddmartin,
    <blockquote>Is there a way to change the menu list for the drop down. I have setup two boxes for the two sections that I would like to display an article for. The drop down shows all categories under that section but I would only like it to display 4 specific categories. Is this possible.</blockquote>
    Current your idea does not support in the ja news module.

    <blockquote> When I click on any of the items in the menu I don’t get that category but the link to the section. Where would the link be managed?</blockquote>

    Please open file templatesja_vauxitehtmlmod_janewsblog_item.php , at about line 35, find following script:

    [PHP]if ($catorsec) {
    $subcatlink = JRoute::_(ContentHelperRoute::getCategoryRoute($obj->id , $obj->section));
    }else{
    $subcatlink = JRoute::_(ContentHelperRoute::getSectionRoute($obj->section));
    }[/PHP]

    and change to:

    [PHP]//if ($catorsec) {
    $subcatlink = JRoute::_(ContentHelperRoute::getCategoryRoute($obj->id , $obj->section));
    //}else{
    //$subcatlink = JRoute::_(ContentHelperRoute::getSectionRoute($obj->section));
    //}[/PHP]

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

This topic contains 2 replies, has 2 voices, and was last updated by Anonymous 15 years, 10 months ago.

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