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

    Go to http://ja-decor.demo.joomlart.com/index.php/en/about/featured-projects using Featured Projects link at demo home
    Featured projects page appears with a drop-down (All project)
    Select a drop-down item (Bathroom for example) to go to that page at http://ja-decor.demo.joomlart.com/index.php/en/about/featured-projects/85-bathroom
    Notice that “All project” drop-down disappears at that page.
    QUESTION:
    How can I make drop-down filter visible for all sub-categories?

    Ninja Lead Moderator
    #706014

    Hi,

    You can follow my suggest below, it will help you to do this

    Open templates/ja_decor/html/com_content/category/masonrylayout.php file

    find and change

    if($this->maxLevel !=0){
    $catparent = DecorHelper::getCategory($this->category->id,$this->maxLevel);
    }

    to

    if($this->maxLevel !=0){
    $catparent = DecorHelper::getCategory($this->category->parent_id,$this->maxLevel);
    }

    Regards

    Ninja Lead Moderator
    #752268

    Hi,

    You can follow my suggest below, it will help you to do this

    Open templates/ja_decor/html/com_content/category/masonrylayout.php file

    find and change

    if($this->maxLevel !=0){
    $catparent = DecorHelper::getCategory($this->category->id,$this->maxLevel);
    }

    to

    if($this->maxLevel !=0){
    $catparent = DecorHelper::getCategory($this->category->parent_id,$this->maxLevel);
    }

    Regards

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

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

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