list_cats and file (4 posts)

  1. yk
    Posted 9 years ago #

    I've searched and have only found old posts. I am trying to list the child categories of one single parent. That's working. I want to use the "file" parameter but it's not working.

    <?php list_cats(FALSE, '', 'name','asc', 'booklist.php', true, false,false, false, false,true, 2, 0, false,'', '', '',true); ?>

    As you can see, I want to click on the category and go to the booklist.php page. It's not working though. Am I missing something? Thanks for the help.

  2. yk
    Posted 9 years ago #

    Anyone know if the file attribute works?

  3. moshu
    Posted 9 years ago #

    The param lits at Template_Tags/list_cats
    (string) The php file a category link is to be displayed on. Defaults to 'index.php'.

    For me the keyword is ON. To be displayed on. Doesn't say anything where to point...

  4. yk
    Posted 9 years ago #

    Moshu. Am I mis-reading it then? What exactly does it do then?

    If I'm using the attribute incorrectly, is there a way for 3 or 4 subcategories to point to one category page and 3/4 other categories to point to another category page?

    Thanks for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic