• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Disallow guests from selecting styles?

Cezz

Well-known member
#2
I think currently your only options are

#1 disable all but default style for selection by anyone!
#2 use template conditionals to hide the chooser if guest (though they could still change style with direct link)
 

Cezz

Well-known member
#5
As a direct template edit you can edit the footer template in admincp

FIND
Code:
                <xen:if is="{$canChangeStyle}">
                    <dt>{xen:phrase style}</dt>
                    <dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}">{$visitorStyle.title}</a></dd>
                </xen:if>
REPLACE WITH
Code:
                <xen:if is="{$canChangeStyle} AND {$visitor.user_id}">
                    <dt>{xen:phrase style}</dt>
                    <dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}">{$visitorStyle.title}</a></dd>
                </xen:if>