J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Link to open GDPR banner (1 viewing) 
Go to bottom
TOPIC: Re:Link to open GDPR banner
#7845
John Dagelmore
Admin
Posts: 3541
User Offline
Re:Link to open GDPR banner 1 Year, 10 Months ago Karma: 75  
Hello,

this is not part of the component, the cookie toolbar is fully managed by javascript and has nothing to do with links.

When the revocable option is enabled, the cookie toolbar can be opened using the cookie tab that is always visible.

Only thing you can do is use a link to trigger the toolbar javascript as below:

Code:

<a href="javascript:void(0)" onclick="jQuery('div.cc-revoke').trigger('click');">Open cookie toolbar</a>
Probably you will need to disable the Joomla editor to place this code into the Cookie Policy article. Notice that you need to keep enabled the revocable option anyway, if you want to get rid of the tab use CSS insteadas in the following snippet:
Code:

div.cc-revoke{display:none !important}
 
Logged Logged  
 
Last Edit: 2018/05/31 14:36 By @store$eco#mm!.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Link to open GDPR banner
Marlies 2018/05/13 15:42
    thread link
thread linkthread link Re:Link to open GDPR banner
John Dagelmore 2018/05/13 15:44
Go to top