First of all, many thanks to all G2 developers for this great piece of work.
How can I config G2 to have
(1) a customized theme for when a visitor of the site is not logged in (this is always the case, since I don't offer the possibility to others to log in); this would be *the* theme, my customized theme for my website;
(2) a basic theme for when I log in to do all the admin stuff (uploading, adding description, etc.); for this I don't need anything special, the classic theme (or any other) would do the job.
My main problem is that when I develop my custom theme (based on Siriux) for the photo galleries displayed on the site, it also messes up the functionality and theme of the G2 admin screens (when I'm logged in). Off course it is doable to make a custom theme that look great in "logged in" and "not logged in" state (all styles included in G2 are examples of that), but I feel that I don't have the programming (PHP/smarty) skills nor the time to do this. I just want to hack around the .tpl and css files to make it look great for visitors.
(e.g. in Wordpress the customization can be done on two levels: (i) the blog that visitors see, and (ii) the admin section)
Thanks for your help.
Posts: 112
I've been using this to display stuff only for the Admin...
Posts: 32509
there's also $user.isAdmin. see http://codex.gallery2.org/index.php/Gallery2:Tpl_Reference#User_Information
theme settings per user are not available in g2, not yet.
Posts: 134
Thanks. That workaround solution helped.
Valiant, I didn't want to "request" the possibility to have different theme settings per user. I just wanted to suggest to offer a 2-tier customization: visitors view only, and a more extensive customization of the entire UI.
Posts: 134
check out this topic: http://gallery.menalto.com/node/36851
Posts: 16504
peter_k, that is a feature request. Fee free to search and see if anyone has already filed a feature request, if not file one and it can then be voted on. http://www.sf.net/projects/gallery and http://gallery.menalto.com/sfvote/
Posts: 134
It might not be the most elegant solution, but this works:
http://gallery.menalto.com/node/36851#comment-135064