Explaining parts of Menu Management Programming code

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
TripleFive
New Member
New Member
Posts: 4
Joined: Mon Mar 21, 2011 4:58 am

Explaining parts of Menu Management Programming code

Post by TripleFive »

Hello:

I understand a little about the programming of the menu manager.

I can vaguely understand what is being done.
What I would like to understand is what each line is doing and what each item means. What is $nodelist? what is -> used to command. (greather than something or does the - mean something?), HOW DO I TELL what string is associated with the MenuText?

The reason for trying to understand this is because I would like to be able to better build menus. Specifically, to be able to make navigational images.

IE having a menu with HOME, ABOUT, CONTACT US. Then creating buttons HOME.jpg, ABOUT.jpg and CONTACT.jpg.

Then specify the menu manager to use menutext to write the code:
<ul>
<li> <a href="#"><img src="{* Insert HOME.jpg here*}" alt="home" /></a></li>
<li> <a href="#"><img src="{* Insert ABOUT.jpg here*}" /></a></li>
</ul>

So that I can use unique menu images BUT if I (or others) adds another page, that they can create an image from the template and upload it to display an image as a button.

I hope that there is a way to accomplish this that will support drop down menus.

Is there a programmers guide or a list of what can be used to program?

Thanks again
-Larry B
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Explaining parts of Menu Management Programming code

Post by Dr.CSS »

You can use the page image for this...

http://mit-computers.com/index.php/how- ... types.html
Post Reply

Return to “CMSMS Core”