Jump to:

23491 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Showing my dropdown? Almost there..

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

Page: 1
Go to End
Author Topic: 1021 Views
  • Rawbit
    Avatar
    Community Member
    52 Posts

    Showing my dropdown? Almost there.. Link to this post

    I'm trying to show my dropdown results on my Page.ss - I have made a dropdown for the backend called MyPageColorScheme that goes on the behavior tab:
    http://pastie.org/414236

    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 page.ss - I have tried $Colors but no luck, also tried $MyPageColorScheme

    Any ideas?

  • Rawbit
    Avatar
    Community Member
    52 Posts

    Re: Showing my dropdown? Almost there.. Link to this post

    SOLUTION:

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

    Thanks simon

    1021 Views
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.