Blocking guests from seeing style-variation?

Status
This content is read-only, or is not open for further replies.

Dannymh

Guest
offline
I am having issues trying to hide the style chooser for guests. The reason i want to do this is because under google analytics I am getting absolutely hammered by guest users hitting the misc/style-variations link.
Screenshot 2026-02-12 at 3.08.50 pm.webp

I tried to set this in a template modification as follows on page_container

find:
Code:

Code:
<xf:if is="$xf.visitor.canChangeStyleVariation($xf.style)">
                                                <a href="{{ link('misc/style-variation') }}" rel="nofollow"...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom