How to set a cookie?
Permalink
I've been searching through forums for an answer but found nothing. So I'd be pleased if anyone could help me (:
My site has English and Finnish parts. Both of them are in their own folders and the other has alias "en" and the other "fi". So the path is: mysite.com/en/home or mysite.com/fi/home. I'd need to set a cookie about the language in the index of both folders.
I tried to find where C5 saves the files I have created but did not succeed. So my question is: where are the files I have created in C5 Sitemap, or is there some other way to set a cookie?
My site has English and Finnish parts. Both of them are in their own folders and the other has alias "en" and the other "fi". So the path is: mysite.com/en/home or mysite.com/fi/home. I'd need to set a cookie about the language in the index of both folders.
I tried to find where C5 saves the files I have created but did not succeed. So my question is: where are the files I have created in C5 Sitemap, or is there some other way to set a cookie?
Concrete saves the sites to the Database.
The place to set the cookies would probably be your template, discerning what is in the path at the moment.
The template is located in your /themes/... directory (try looking inside concrete/themes/ if there's none top level)