Return to Snippet

Revision: 14447
at August 10, 2009 22:45 by sinecera


Updated Code
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'top';
$bt->controller->orderBy = 'display_asc';                    
$bt->controller->displaySubPages = 'all'; 
$bt->controller->displaySubPageLevels = 'custom';
$bt->controller->displaySubPageLevelsNum = '1';                   
$bt->render('templates/header_menu');
?>

Revision: 14446
at June 19, 2009 16:22 by sinecera


Updated Code
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'top';
$bt->controller->orderBy = 'display_asc';                    
$bt->controller->displaySubPages = 'all'; 
$bt->controller->displaySubPageLevels = 'custom';
$bt->controller->displaySubPageLevelsNum = '1';                   
$bt->render('templates/main_nav');
?>

Revision: 14445
at June 4, 2009 11:10 by sinecera


Initial Code
<?php 
    $bt_main = BlockType::getByHandle('autonav'); 
    $bt_main->controller->displayPages = 'top'; 
    $bt_main->controller->orderBy = 'display_asc';                     
    $bt_main->controller->displaySubPages = 'none';                     
    $bt_main->render('templates/level1'); 
?>

Initial URL

                                

Initial Description

                                

Initial Title
Add Autonav Block - Concrete5

Initial Tags

                                

Initial Language
PHP