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

Access $contentTemplate in template editor


Well-known member
To force simple editor in conversations I would like to add this to the editor template (later with a template hook), but in the editor template $contentTemplate is unknown:
<xen:if is="{$contentTemplate} == 'conversation_view'"><xen:set var="$showWysiwyg"></xen:set></xen:if>

Jake Bunce

XenForo moderator
Staff member
That template is rendered separately so you can't access those container params:


An addon is required.

I came up with this addon to disable the RTE user preference for the entire conversation controller. I think this will work for you.