fixed main navigation

Permalink
I like to build a site with fixed main navigation, so navigation will be part of the template and not as a block. Advantage is that a user is not able to remove the navigation by accident.

I would like to reuse the existing auto-nav code, with respect to the MVC model.

I didn't manage yet... Any help??

MissMarvels
 
griebel replied on at Permalink Reply
griebel
MissMarvels replied on at Permalink Reply
MissMarvels
It's certainly useful for dealing with "reusable" content. There is a slight deference with what i like to do.

The issue is that i like to render the auto-nav in the template, so i probably have to call the auto-nav block with a set of parameters for setting behavior and then show the result in the page.

Or... do exactly what's said in your reply but then no page call but a direct block call.

Thnx for your fast reply, this could have been my next question. I already implemented this for address in footer.
frz replied on at Permalink Reply
frz
you're over thinking it.

just put it in defaults under page types in dashboard and change the properties for that block to only be editable by admin.

(you need to be in advanced permissions mode for that last bit)
MissMarvels replied on at Permalink Reply
MissMarvels
i'm over thinking it. I'll dive into the permissions model.
MissMarvels replied on at Permalink Reply 1 Attachment
MissMarvels
Setting permission on area in default settings gives an adodb exception. see attachment.

Also, could you please explain a little bit about the advanced permission model.

thnx
frz replied on at Permalink Reply
frz
http://www.concrete5.org/index.php?cID=2891
is how you turn em on..

you shouldn't be getting an error if they're working elsewhere in your site.