cliftonc / calipso

Calipso is a simple NodeJS content management system based on Express, Connect & Mongoose.
calip.so
1.71k stars 307 forks source link

separate admin theme #84

Open dtan opened 13 years ago

dtan commented 13 years ago

per an earlier conversation: I was considering breaking out the admin functions into an Admin theme (so you can theme both seperately) ... and then ensuring that any URL's exposed by modules that are 'Admin' automatically switch to the admin theme

cliftonc commented 13 years ago

We would have to:

You would probably want to do one more thing, which is provide a helper function in the admin theme that allows it to control rendering of the top / overlay menu on the front end for when an administrator is logged in (e.g. the site theme can call the admin theme to get that menu and render it into the response).

The admin theme wouldn't actually be any different in its configuration, but clearly would have its own CSS, layouts etc. that optimise it for Admin functions - it would then be possible for a theme to be both front end and admin (if you wanted).

Definitely doable!

:)

dtan commented 13 years ago

hehe, i'll have to digest this one for a bit

dtan commented 13 years ago

it also looks like there should be a separate "admin theme" selector in the administration page.

cliftonc commented 13 years ago

Yes, definitely. On Jul 26, 2011 4:47 PM, "dtan" < reply@reply.github.com> wrote:

it also looks like there should be a separate "admin theme" selector in the administration page.

Reply to this email directly or view it on GitHub: https://github.com/cliftonc/calipso/issues/84#issuecomment-1655309