Hide user settings for language and style?

You can edit the template:

Admin CP -> Appearance -> Templates -> account_preferences

Note that you can force a single style and hide the choice by marking only one style as user-selectable.

Screen shot 2011-12-13 at 9.09.39 PM.webp

Note that admins are exempt from this. Admins can see all styles regardless.

As for languages... there is no option to mark languages as user-selectable. You have to delete the languages you don't want people to use.
 
I've been doing som custom work in some templates with help of TMS, to hide the language and style selector. When I was doing that I discovered this in the footer template:

PHP:
<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}" rel="nofollow">{$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}" rel="nofollow">{$visitorLanguage.title}</a></dd>
                </xen:if>
            </dl>
            </xen:if>

It seems like these variables isn't used in the options. Why?

<xen:if is="{$canChangeStyle}">
<xen:if is="{$canChangeLanguage}">
 
Top Bottom