Adding footer in template

  • Hi Guys,


    Great CMS :) I have ran in to one problem when implementing Perch to my website.


    How do i insert the menu in a subpage (template)? I have used this code for my header menu, but I can't reuse it.


    Index code:

    PHP
    1. <?php
    2. perch_pages_navigation(array(
    3. 'template' => array('item.html'),
    4. ));
    5. ?>




    Output on the page:




    My structure:


    pages/subpage.php


    navigation/footer.html


    i want to include the footer.html in subpage, but when I do that, the footer menu brokes (see above).




    kind of regards,

    Levi

  • drewm

    Approved the thread.
  • Hi Ryan,


    Thats a bit of the problem. I want to use/include the php menu in the subpage. So that i can include the whole section.


    Other wise, i have to brake the footer apart.


    Is there an other methode that i can use?