I’m just implementing my Cookie Consent stuff, and I realised that the documentation for the module could do with some tweaking, specifically for the {cookies_allowed_link} tag and the corresponding tags to revoke cookie acceptance. The documentation gives the following example template code:
{exp:cookie_consent:message}
{if cookies_allowed == 'yes'}
Thanks for allowing cookies!
Delete cookies: {clear_ee_cookies_link}
{if:else}
Please allow cookies:
{cookies_allowed_link}
{/if}
{/exp:cookie_consent:message}This code makes it seem as if the {cookies_allowed_link} tag creates the HTML for the link, when in fact what it outputs is a URL. The code would perhaps better be given as:
{exp:cookie_consent:message}
{if cookies_allowed == 'yes'}
Thanks for allowing cookies!
Delete cookies: <a href="http://{clear_ee_cookies_link}">Revoke acceptance</a>
{if:else}
Please allow cookies:
<a href="http://{cookies_allowed_link}">Accept cookies</a>
{/if}
{/exp:cookie_consent:message}Hope this helps.