Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » passing variables though jquery....

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: 959 Views
  • JPG
    Community Member
    53 Posts

    passing variables though jquery.... Link to this post

    Hi - I was wondering if anyone could help me with something... Basically I want to use gallery type thing that I downloaded that produces a fullscreen slideshow on the fly, the issue is that the images are created/input in the jquery code and I cannot work out how to pass them in my page controller... I understand how to produce the controller pages etc but cannot workout how the SS tags could be input (if possible) to the js pages.

    Is this something that anyone can help with???

    Many thanks

  • Ryan M.
    Community Member
    309 Posts

    Re: passing variables though jquery.... Link to this post


    You could use Requirements::customScript() to print your jquery code using data obtained through the controller.

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.