ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 25,814
- Points
- 823
Reputation:
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!
Continue reading...
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!
Continue reading...