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   1680 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

This thread should help:

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

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