Page 1 of 1

Customizing menus

Posted: Thu Oct 19, 2006 7:58 pm
by Hockey
Greetings. First off, I have experience in using Smarty. Having used at least a dozen different CMS over the years I am just trying to get my head around how CMSMS works.

I want to tweak my menu and have sorta figured out how CSS & Templates work togather.
{menu template='primary_menu'}
That is what I am using as of now, it's a template stored in the DB copied from the file system so I could easily update it without worrying about file permissions, etc.

My question for now is: How does a template designer know of the existing menu states, etc???

From a quick glance, I can see it's the $node object which appears to be queried frequently, but do I have to dump the object to the screen or is there an API documentation for that object? Sorry if there is, but I've searched for about 15 minutes and have grown frustrated :P

Also, the $count variable? Where does that come from? I mean I assume it's the count of pages (immediate or nested I have no idea) but if it's related to the page listings...wouldn't it have made more sense to include that as a property of the $node object???

Cheers :)