Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
How do you set an admin theme?
-
- Rank: Software Foundation
- Registered: Sep 03, 2002
- Last visit: May 09, 2010
- Posts: 909
How do I set one theme for the frontend and another for the backend? -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Create a plugin to redirect to newtheme=foo if function type eq admin. ..and vice versa
or you could create a dual function theme (conditional styles and templates).
edited by: AmmoDump, Aug 09, 2008 - 08:25 AM
--
David Pahl
Zikula Support Team -
- Rank: Team Member
- Registered: Apr 07, 2005
- Last visit: Jan 18, 2010
- Posts: 228
Go to Theme administration.
Select theme, you want to use for admin and mark "Admin theme" option.
Then go to Admin module administration, Settings section, find there list of themes and select your theme.
Thanks to this - changing global theme should not change admin theme.
edited by: Jusuff, Aug 09, 2008 - 02:31 PM
--
Polish Zikula Team
Bianor Works - my Zikula works on CoZi -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
You are 100 percent correct.
Never mind my gibberish below.
Quote
This is true? I understand these as permission schemes. If I have admin privileges, I may use this theme if it is 'admin' else not. Likewise, if it is set to user, then these themes become available for users (admins are normally user class, as well).
...but it does suggest 'Admin Panel'.
If this is true, how does the admin panel get selected? (set to active).
edited by: AmmoDump, Aug 09, 2008 - 08:57 AM
--
David Pahl
Zikula Support Team -
- Rank: Software Foundation
- Registered: Sep 03, 2002
- Last visit: May 09, 2010
- Posts: 909
Very good. Very well hidden.
But Dave: Your hint is nice for functions that are not type=admin (type=edit in Pagesetter e.g.) which should also use the admin theme. What exactly do I write into that plugin?
--
best regards from Kiel, sailing city
Steffen Voss
Member of the Zikula Steering Committee
Read The Zikulan's Blog "If you want people to RTFM, make a better FM!" -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
I guess a 'complex' filter would be required, that would check against first against 'admin', then against $module and $type.
With BlankTheme we do a bit of this already right in the module templates. For example: http://code.zikula.org/blanktheme/browser/trunk/themes/blanktheme/templates/modules/pages.htm
It shouldn't be hard to extend this to filter for $type
--
David Pahl
Zikula Support Team -
- Rank: Software Foundation
- Registered: Sep 03, 2002
- Last visit: May 09, 2010
- Posts: 909
No - it should simply handle everything that's not "user"
--
best regards from Kiel, sailing city
Steffen Voss
Member of the Zikula Steering Committee
Read The Zikulan's Blog "If you want people to RTFM, make a better FM!" -
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
excuse me but why don't use the bases ?
http://community.zikula.org/Wiki-ThemeIntro.htm
there is already some ini file where you can specify which template you want for each page/func/param -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Hehe.. I didn't know it extended to the func/parm
Genius!
--
David Pahl
Zikula Support Team -
- Rank: Registered User
- Registered: Dec 10, 2010
- Last visit:
- Posts: 1
copy admin.htm and the associated CSS file from the theme you want to use as your admin/background theme and replace them in your activated theme.
- Moderated by:
- Support
