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.

Archive

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

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

side bar menu


Reply

5 Posts   1675 Views

Avatar
famous

11 July 2008 at 9:02am Community Member, 14 Posts

I don't know if this is the correct place to ask for such a thing, but I hope it is.
Can anyone make a mod that will allow you to put custom data in the side menu. This is a small but good feature that love cms has. I was wondering if there was a way to do something like that in SilverStripe Forum

Avatar
Hamish

11 July 2008 at 10:53am Community Member, 712 Posts

This thread should help:

[url]http://www.silverstripe.com/site-builders-forum/flat/117657[/url]

Avatar
famous

11 July 2008 at 10:58am Community Member, 14 Posts

thanks I will check it out

Avatar
dio5

11 July 2008 at 11:16am (Last edited: 11 July 2008 11:17am), Community Member, 501 Posts

Not sure if that thread is what you're looking for.

I think you just want an extra content field in the cms, no?

that would be something like

static $db = array(
"RightContent" => "HTMLText"
)

and in yr getCMSFields()

$fields->addFieldToTab("Root.Content.ExtraContent", new HTMLEditorField("RightContent", "Right Content"));

Then in the template:

$RightContent

Avatar
famous

11 July 2008 at 4:49pm Community Member, 14 Posts

where do I put the 1st to peaces of code?

what I want is to have more than one menus on the side
So I don't have to put all the links in one menu