Replacing menus within a theme

Permalink
I can't delete the theme navigation in edit mode. How do I customize the Vertigo theme to get rid of their navigation (I've installed another)?

pkpadmin
 
adajad replied on at Permalink Reply
adajad
The theme probably has a hardcoded autonav block.

You will need to edit the source code to get rid of the menu and perhaps add your own nav area to be able to add your new navigation.

Search in your source file for something like the below:

<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'top';
$bt->controller->orderBy = 'display_asc';
$bt->controller->displaySubPages= 'all';
$bt->controller->displaySubPageLevels = 'all';
$bt->render('view');
?>


The theme files are probably found in 'root/packages/vertigo_theme/' and you only need to look in files with a .php extension.

I don't know how much you know about either PHP, html or css, but a good start on theme manipulation and understanding is this how-to: http://www.concrete5.org/documentation/how-tos/designers/making-a-t...