Set a theme for 'public' pages
matt2000 - June 6, 2008 - 02:58
| Project: | CiviCRM Theme |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | matt2000 |
| Status: | needs review |
Jump to:
Description
The attached patch adds a third theme selection for civicrm pages which the user defines as 'public.'
This allows, for example, CiviEvent pages to display in the default theme, but still use an alternate theme for managing contacts.
| Attachment | Size |
|---|---|
| civicrm_theme.module.patch | 1.95 KB |

#1
Weird... I checked the issue queue before writing this, and the other two patches related to this issue didn't show up. So, I guess users have multiple approaches to pick from.
#2
One quick question...
How would I add a second one of these options? We'd like CiviEvents public pages to have one theme, CiviMember/CiviContribute pages to have another theme. Basically it's the same theme, the header just changes.
I think I see how you changed the module, but I want to make sure.
I think it would be good in the future to give us the ability to set a theme for each of the sections (CiviEvent, CiviContribute, etc.).
#3
jsimonis,
You might be served by
http://drupal.org/project/taxonomy_theme
Despite it's name, that module can also be used to set theme based on path. No need for the taxonomy component at all, if you don't want it.