Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Hints to achieve this

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: 373 Views
  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Hints to achieve this Link to this post

    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!

  • MarcusDalgren
    Avatar
    Community Member
    288 Posts

    Re: Hints to achieve this Link to this post

    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.

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: Hints to achieve this Link to this post

    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!

    373 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.