I'm working on a little plugin project. Nothing real fancy, but I think some of y'all will find it useful. (Not going to spill the beans until I have a beta.)
I've configured my GL site to not allow user themes. But now I want to be able to have my OWN account show a different theme so that I can play with some theme mods for my plugin.
I tried doing this in {geeklog}/config.php immediately after setting the site's default theme:
Text Formatted Code
if ($_USER['username'] == 'Jefficus') {
$_CONF['theme'] = 'mynewtheme';
}
I am assuming it didn't work because the $_USER stuff hasn't been initialized yet? (I also tried
if ($_USER['uid'] == 2), with similar lack of results.
I then tried both those changes in {geeklog}/system/lib-custom.php. Still no effect. So I'm a bit stumped. Where would I apply such a change to give my account a different theme from everybody else's?
This has been an opinion, brought to you by the fine people at Jefficus World.