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.

General Questions /

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

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

Hints to achieve this


Go to End


3 Posts   682 Views

Avatar
wilsonStaff

Community Member, 143 Posts

20 February 2012 at 12:25pm

Hi to all, i am asking advices on how to achieve this. See image.

I am thinking about a jQuery list menu.

PROBLEM --> How to control that <ul><li> from the CMS?? Image Gallery module?

Thanks!

Avatar
MarcusDalgren

Community Member, 288 Posts

20 February 2012 at 1:00pm

I'd simply add an image field called "MenuImage" or something to the Page class and then just show that when outputting the menu in the template. What js you actually use to make the slider is secondary.

Avatar
wilsonStaff

Community Member, 143 Posts

28 February 2012 at 2:49pm

Finally got it to work.

I created a simple <ul><li> sliding menu using jQuery as a tween engine.

I then populated appropriate <li> with <% control Page(xxx) %>$Image, $NewsTitle<% end_control %>

Works like a charm.

Thanks!