XFdestek
Kurucu Üye
Hello,
In the PAGE_CONTAINER template, I would like to show some custom content only if a particular cookie (let's call it "mycookie") is NOT set.
What's the easiest way? I have read some posts in the forum, including a post about the use of:
$xf.app.request.getCookie('mycookie')
but I don't know how to integrate this with the template code and to use it as conditional statement.
Thanks!
In the PAGE_CONTAINER template, I would like to show some custom content only if a particular cookie (let's call it "mycookie") is NOT set.
What's the easiest way? I have read some posts in the forum, including a post about the use of:
$xf.app.request.getCookie('mycookie')
but I don't know how to integrate this with the template code and to use it as conditional statement.
Thanks!