Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

douglaswalker

Setting a Cookie

1 post in this topic

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

Share this post


Link to post
Share on other sites