How do you add a title to an Auto-Nav block?

Permalink
Hi, there,

I'd like to add a heading to my main Auto-Nav block, like "Navigation" or "Main Menu" or something like that.

The block options, however, don't seem to allow for this.

How's the best/easist way to do this?

Thanks a lot,

- Paul

 
pixel8 replied on at Permalink Best Answer Reply
pixel8
you have two options.. create the headline in a content block above your navigation block, or hardcode it into your autonav in a theme...

the last option can be done by copying the file view.php from the folder concrete/blocks/autonav/view.php to the folder (you have to create these folders) blocks/autonav/templates/nav_with_header/view.php

and then you modify the view.php in you new template folder by adding your :
<?php echo '<h2>Navigation</h2>'; ?>



hope this helps you :-)