Admin's panel theme

google21

Joined: 2007-04-20
Posts: 19
Posted: Sat, 2007-04-21 12:01

I have a question: is it possible to define a theme for ADMIN's PANEL ?? I need to have 2 separate themes: one for admin and one for the rest of the page. What I want to do is to remove the sidebar in the gallery, and when I am doing it the sidebar of the admin's panel disapears as well. I want to get rid of a sidebar in the gallery and have a sidebar in admin's panel.

Do you know the solution?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2007-04-21 16:46

The site admin page uses the default theme. The other albums can have a different theme. Go to the root album and change its theme to another theme and make sure you 'use in sub albums'.
The disadvantage of this is other non album views (like the tag module) will have the default theme as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2007-04-23 19:20

Just use an if then statement to determine if you are in Site Admin or not. Look at theme.tpl for examples.