Tealk
Well-known member
Hello
I want to edit the template "error" to be exact i want to adjust the full page and the overlay individually.
I have tried the conditional statement

	
	
	
		
				
			I want to edit the template "error" to be exact i want to adjust the full page and the overlay individually.
I have tried the conditional statement
<xf:if is="$template == 'error'"> which doesn't seem to work but I don't understand why.
		HTML:
	
	<xf:title>{{ phrase('oops_we_ran_into_some_problems') }}</xf:title>
<div class="blockMessage">
    <xf:if is="$template == 'error'">
        full side
    <xf:else />
        <xf:if is="$error">
            {$error|raw}
        <xf:else />
            <ul>
            <xf:foreach loop="$errors" value="$error">
                <li>{$error|raw}</li>
            </xf:foreach>
            </ul>
        </xf:if>
    </xf:if>
</div>