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

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

Moderator: iturbay

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

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

Post by sbupravi »

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

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

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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
sbupravi
Power Poster
Power Poster
Posts: 257
Joined: Sun Oct 07, 2012 9:29 pm
Location: Adler

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 - русский”