Hello,
I’m not sure if this is possible with an Expression Engine plugin or if it has to be custom made with PHP.
I’m looking for a way to store a cookie based on a url variable, and if the cookie is present display certain information.
So for example my URL would be http://www.website.com/eletters/helloworld/?eletter, if the “?eletter” part is present a cookie is stored on the users computer, and certain content on the website is shown.
I know CookiePlus can help me with the cookie part and using conditionals to show the content, but how would I go about the url variable? Is there a piece of custom PHP code I can use?
Does anyone have any idea how I could do this? Thanks.