Page 1 of 1

Optional admin template

Posted: Wed Jul 04, 2007 11:53 am
by Mike Adolphs
Hi there,

I'm currently working on a template which also redesigns the backend via CSS. As I've seen it is possible to create simple constructions for various options via config.inc.php so that you're able to work with if/else in Smarty templates.

But, is there any way to integrate something like a switch which enables you to choose, whether you want the default template or the template's CSS stylesheet for the backend? I know that it's not a problem to delete or rename the specific directory so that the admin panel runs with the default template. But that's not what I want...

Any ideas on that? Is it really necessary to write a small plugin for such a purpose?


Farewell,
Mike

Re: Optional admin template

Posted: Wed Jul 04, 2007 12:33 pm
by garvinhicking
Hi!

This option is available starting with Serendipity 1.2-beta2, yes. There the template options can also be accessed within the templates/default/admin/index.tpl smarty template file, that could use different CSS Stylesheets.

HTH,
Garvin

Posted: Thu Jul 05, 2007 1:12 am
by Mike Adolphs
Great, thanks for that! ;)


Farewell,
Mike