Как создать Cookie?

Обсуждение CMS Made Simple в России.

Moderator: iturbay

Post Reply
User avatar
sbupravi
Power Poster
Power Poster
Posts: 255
Joined: Sun Oct 07, 2012 9:29 pm
Location: Kiev

Как создать Cookie?

Post by sbupravi »

Нужно создать кнопку куки на сайте, чтобы при клике на нее - менялись заголовки блоков (буд-то 2 языка).
Как сделать?

Например:
"Rus | Eng" - при клике по rus, заголовки на русском. При клике eng - на английском, соответственно.
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7741
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands

Re: Как создать Cookie?

Post by Rolf »

MLE template in CMSMS (no cookies required)
https://www.cmscanbesimple.org/blog/mul ... ade-simple
Cookies in CMSMS
https://www.cmscanbesimple.org/blog/set ... ug-cookies

Greetz, Rolf
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
User avatar
sbupravi
Power Poster
Power Poster
Posts: 255
Joined: Sun Oct 07, 2012 9:29 pm
Location: Kiev

Re: Как создать Cookie?

Post by sbupravi »

Rolf wrote:MLE template in CMSMS (no cookies required)
https://www.cmscanbesimple.org/blog/mul ... ade-simple
Cookies in CMSMS
https://www.cmscanbesimple.org/blog/set ... ug-cookies

Greetz, Rolf
All languages ​​- the same page. Differences - Titles Only.
Post Reply

Return to “Russian - русский”