ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

HTML5 Local Storage in Channel Entries Tag

May 13, 2012 4:19pm

Subscribe [2]
  • #1 / May 13, 2012 4:19pm

    bizual

    1 posts

    Hi there

    I am attempting to create ‘Favourites’ functionality on my site using HTM5 Local Storage.

    So far I am successfully storing the entry IDs of chosen posts in Local Storage when the user clicks a ‘save to favourites’ button. I am passing those to a variable as a string separated by a pipe character, to mimic the entry_id parameter (e.g. 2|4|8|41)

    However, I am unable to figure out how to use that variable within the entry_id parameter of the Channel Entries Tag. Is this even possible?

    Thanks!

  • #2 / May 14, 2012 3:34pm

    Shane Eckert

    7174 posts

    Hello bizual,

    Thank you for posting your question here on the ExpressionEngine forums.

    It would be helpful to see some code and what you have so far.

    I am going to move this over to the Community Help Forum where the community can help you out with the programming aspect of HTML5’s LS.

    Have a great week!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases