Menu displaying a submenu

Permalink Browser Info Environment
Hi,
in Cleaview the Menu displays the main menu which derivates from the Home Page.
I would make my website multilinugual and i wish to display a submenu instead of the Main Menu...is it possible? Thanks

Type: Discussion
Status: New
alexpacio
View Replies:
c5mix replied on at Permalink Reply
c5mix
In the theme's header.php file (located at theme_clearview/themes/clearview/elements/header.php) replace this code:
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'top';
$bt->controller->orderBy = 'display_asc';                    
$bt->controller->displaySubPages = 'none';                   
$bt->render('templates/header_menu');
?>

With this code:
<?php 
$a = new Area('Header Nav');
$a->display($c);
?>

This will create an area that you can add an Autonav block to and choose whatever settings you need. Also, make sure that you select the Header Menu custom template for the Autonav block

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.