I have trouble setting a variable in a parent ID where I have the following structure on my classes.
$CMS->TEMPLATE->functions.
And in a function under the class TEMPLATE I want to set $CMS->in_admin = true.
I've added global $CMS, then run $CMS->in_admin = true.
But this doesn't do the job. $CMS->in_admin is not set to true or even touched.
Is this possible?