Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Displaying more info about a page in Menu(2)

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

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

Page: 1
Go to End
Author Topic: 880 Views
  • micahsheets
    Community Member
    164 Posts

    Displaying more info about a page in Menu(2) Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.