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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Showing my dropdown? Almost there..


2 Posts   1030 Views


13 March 2009 at 5:00am Community Member, 52 Posts

I'm trying to show my dropdown results on my - I have made a dropdown for the backend called MyPageColorScheme that goes on the behavior tab:

This works perfectly. I see the dropdown in the CMS behavior tab and it is saving my choice per page. Now I'm just having a hard time printing this value (Red,blue,green etc) on my - I have tried $Colors but no luck, also tried $MyPageColorScheme

Any ideas?


13 March 2009 at 7:44am (Last edited: 13 March 2009 7:44am), Community Member, 52 Posts


IRC >> <simon_w> add a Colors Varchar to your $db array

Thanks simon