How to disallow users to swtich styles?

You can disable styles for user selection:

Admin CP -> Appearance -> Styles -> [click a style] -> Allow user selection

But I don't think there is an option to disable the ability of users to select from those styles which are user selectable.
 
  • Like
Reactions: D37
You can disable styles for user selection:

Admin CP -> Appearance -> Styles -> [click a style] -> Allow user selection

But I don't think there is an option to disable the ability of users to select from those styles which are user selectable.
Ok thanks. But the box at the bottom left is still here and is clickable. I know in Beta 1 I could completely make that box dissapear.
 
The chooser is still there but only one style is available.

You can remove the chooser from the templates if you want:

Admin CP -> Appearance -> Templates -> footer

Remove this code:

Code:
            <xen:if is="{$canChangeStyle} OR {$canChangeLanguage}">
            <dl class="choosers">
                <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}" data-offsetY="-11">{$visitorStyle.title}</a></dd>
                </xen:if>
                <xen:if is="{$canChangeLanguage}">
                    <dt>{xen:phrase language}</dt>
                    <dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" data-offsetY="-11">{$visitorLanguage.title}</a></dd>
                </xen:if>
            </dl>
            </xen:if>
 
  • Like
Reactions: D37
The chooser is still there but only one style is available.

You can remove the chooser from the templates if you want:

Admin CP -> Appearance -> Templates -> footer

Remove this code:

Code:
            <xen:if is="{$canChangeStyle} OR {$canChangeLanguage}">
            <dl class="choosers">
                <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}" data-offsetY="-11">{$visitorStyle.title}</a></dd>
                </xen:if>
                <xen:if is="{$canChangeLanguage}">
                    <dt>{xen:phrase language}</dt>
                    <dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" data-offsetY="-11">{$visitorLanguage.title}</a></dd>
                </xen:if>
            </dl>
            </xen:if>
Users can still set other styles via /misc/style?style_id=# if you haven't hidden them.
 
Top Bottom