|
Post by georgi on Oct 13, 2023 8:48:24 GMT 1
Hi n3t team,
I just started using your consent module, it works great, thank you for that!
I have a small issue with the shortcode in a Joomla URL menu item at a module position on my site. The shortcode works, the link is functional and it has the text "Cookie Settings" as it should, however after the link it gives this text ">Cookie Settings". When I inspect in Chrome it has this added after the href: <li class="nav-item item-1035"><a href="/<a href=" #"="" aria-label="Cookie Settings" class="cc-link" data-cc="c-settings" title="<a Href" aria-haspopup="dialog">Cookie Settings</a>" >Cookie Settings</li>
I looked at the overrides, but cant find the plugin listed to create an override. Not even sure if this comes from Joomla not being able to handle shortcode instead of URL's in its URL menu item or your plugin? Any suggestions are much apreciated, thanks.
|
|
|
Post by n3t on Oct 14, 2023 13:07:09 GMT 1
Hi, I'm not sure if I understood correctly. All possible options how to add config dielog links are described in documentation here n3t-cookie-consent.readthedocs.io/en/latest/usage/configlink/If you want to add link to menu item, do not use short code {n3tcookieconsent settings}, just create menu item of type "External link", add "#" as its link and add "n3tcc-settings" to its custom class, thats all. The shortcode is designed to be used within article or custom module text for example. Pavel
|
|
|
Post by georgi on Oct 24, 2023 11:14:59 GMT 1
Hi Pavel, you are correct, that works, thank you. I guess I didnt read the full manual, just what i needed to get it started, that is why i missed this sollution.
|
|