We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2447
    • 6 Posts
    hi
    im using the AtoZ snippet.

    i have the following file and Container structure.

    TestPage
    ¦
    AtoZ_Page1( contains AtoZ call and results)
    ¦
    ¦_TestContainer1(blank page)
    ¦ ¦
    ¦ ¦_Page1
    ¦ ¦_page2
    ¦
    AtoZ_Page2( contains AtoZ call and results)
    ¦
    ¦_Test Container 2(blank page)
    ¦ ¦
    ¦ ¦_Page3
    ¦ ¦_page4
    ¦
    etc....



    The Problem i am having is that because i use blank Containers to sort my documents, my AtoZ snippet displays pages that i dont want the user to see. what i would like is for AtoZ to go through and remove all the documents that have "Searchable" unchecked.

    AtoZ does have a "Honour hidemenu option" variable but when i use this all the child documents are hidden leaving the parent, the exact opposite of what i am trying to achieve.

    this is working perfectly in AjaxSearch so i had a quick look in through snippet and found this

    $sql .= $qry_sql . "sc.published = 1 AND sc.searchable=1 AND sc.deleted=0;";

    but i really dont know what to do from here

    any help would be greatly appreciated

    regards
    AussiedeviL