Optional admin template

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Mike Adolphs
Posts: 3
Joined: Wed Jul 04, 2007 11:07 am
Location: Berlin, Germany
Contact:

Optional admin template

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Optional admin template

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Mike Adolphs
Posts: 3
Joined: Wed Jul 04, 2007 11:07 am
Location: Berlin, Germany
Contact:

Post by Mike Adolphs »

Great, thanks for that! ;)


Farewell,
Mike
Post Reply