I have a header template with PHP parsing on Input an the following code:
<?php
$this->EE->config->_global_vars['user_language'] = "nl";
?>
When I use {user_language} in my header template it works as expected and outputs "nl".
However, my header template is being embedded in my main template, and when I use {user_language} over there, it doesn't output anything.
I know it has something to do with the parsing order, but how do I fix it ?