Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » Jquery with session storing in silverstripe3 tempates

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

Page: 1
Go to End
Author Topic: 455 Views
  • Sreeja
    Avatar
    Community Member
    1 Post

    Jquery with session storing in silverstripe3 tempates Link to this post

    We have developed a site with silverstripe3.In the course listing page, there is an option to add the courses to shortlist and we can compare the courses. In the header there an icon to view the list of courses which are added in shortlist . By clicking the "Shortlist" icon in the header a drop-down will show and it will display the course list which are added for compare. In the course listing page , there is a check box to add the courses to shortlist . And in the header shortlist drop-down also its coming correctly. But in the other pages like Home or contact us etc , by clicking the shortlist menu in header nothing displayed. So is there any way to set the session variables to store the values by adding each courses to shortlist menu. If so we can check the session variable values in other pages like home and contact us to display the drop-down with added courses in the header.

    Thankful for any help or pointers on this topic.

  • IOTI
    Avatar
    Community Member
    189 Posts

    Re: Jquery with session storing in silverstripe3 tempates Link to this post

    Have you looked into the Session class?

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