Jump to content



Photo
- - - - -

Setting a Cookie

cookie template top

  • Please log in to reply
No replies to this topic

#1   douglaswalker

douglaswalker
  • Members
  • 252 posts
  • Real Name:Doug
  • Gender:Male
  • Location:Western Australia

Posted 04 May 2016 - 04:51

Hi there

I have been having an interesting time integrating a modal popup controlled by a cookie into a header tag module.

 

i needed to set  a cookie and as far as i am aware this needs to happen before the html tag so I placed the code to make the cookie at the top of template_top. It works no problem

My question is if there is a better way to do this eg is there a way to include it in the header tag_module somehow so there is no core change.

 

Doug


Edited by douglaswalker, 04 May 2016 - 04:54.