Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
According this link it's possible to set a value in a Macro from a Cookie: http://our.umbraco.org/documentation/v480/Reference/Templating/Masterpages/#umbracomacro
The script below shows my attempt to send a cookie value to a Macro - with no luck - is this even possible in Umbraco v4.7.1 the way I try...?
From DocumentationCurrentPage property value: [#propertyAlias] Recursive value: [$propertyAlias] Cookie value: [%cookieValueKey] Value from request collection: [@requestValueKey]
<script type="text/javascript" src="/scripts/jquery.cookie.js"></script><script> var COOKIE_NAME = 'adServingKeywords'; $go = $.cookie(COOKIE_NAME); if ($go == null) { $.cookie("adServingKeywords", "travel") } </script><umbraco:Macro adspaceid="56" keywords="[%adServingKeywords]" Alias="adServing.Wallpaper" runat="server" />
*bump*
FYI
This seems to be a bug in versions 4.7.x prior to ver. 4.7.1.1... - which means from 4.7.1.1 and forward this works nicely...
(Tested on ver: 4.7.0 - 4.7.1 - 4.7.1.1 - 4.7.2)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using CookieValueKey in a macro v4.7.1
According this link it's possible to set a value in a Macro from a Cookie: http://our.umbraco.org/documentation/v480/Reference/Templating/Masterpages/#umbracomacro
The script below shows my attempt to send a cookie value to a Macro - with no luck - is this even possible in Umbraco v4.7.1 the way I try...?
From Documentation
CurrentPage property value: [#propertyAlias] Recursive value: [$propertyAlias] Cookie value: [%cookieValueKey] Value from request collection: [@requestValueKey]
*bump*
FYI
This seems to be a bug in versions 4.7.x prior to ver. 4.7.1.1... - which means from 4.7.1.1 and forward this works nicely...
(Tested on ver: 4.7.0 - 4.7.1 - 4.7.1.1 - 4.7.2)
is working on a reply...