Posted By

sinecera on 06/04/09


Tagged

Blocks concrete5 autonav


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

chansolo


Add Autonav Block - Concrete5


 / Published in: PHP
 

  1. <?php
  2. $bt = BlockType::getByHandle('autonav');
  3. $bt->controller->displayPages = 'top';
  4. $bt->controller->orderBy = 'display_asc';
  5. $bt->controller->displaySubPages = 'all';
  6. $bt->controller->displaySubPageLevels = 'custom';
  7. $bt->controller->displaySubPageLevelsNum = '1';
  8. $bt->render('templates/header_menu');
  9. ?>

Report this snippet  

You need to login to post a comment.