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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

side bar menu


Go to End


5 Posts   2179 Views

Avatar
famous

Community Member, 14 Posts

11 July 2008 at 9:02am

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

Community Member, 712 Posts

11 July 2008 at 10:53am

Avatar
famous

Community Member, 14 Posts

11 July 2008 at 10:58am

thanks I will check it out

Avatar
dio5

Community Member, 501 Posts

11 July 2008 at 11:16am

Edited: 11/07/2008 11:17am

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

Community Member, 14 Posts

11 July 2008 at 4:49pm

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