Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Displaying more info about a page in Menu(2)

Go to End



Community Member, 165 Posts

2 December 2008 at 12:24pm

Edited: 02/12/2008 12:27pm

I have added a Description field to the cms for one of my page types. I want to display this description next to the link in the Menu(2) list. I know how $MenuTitle works, but how do I get the $description for the list items when using <% control Menu(2) %>


Sorry I made a simple mistake that was keeping this from working the way I expected. I have now figured it out by actually saving the page so that the $description variable actually gets some data from the database.