more specific theming

briskday - January 9, 2009 - 04:49
Project:CiviCRM Theme
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is it be possible to theme contribute and event info pages separately from the management pages?

civicrm/event/info? => default site theme
civicrm/event/... => admin theme

civicrm/contribute/transact? => default site theme
civicrm/contribute/... => admin theme

#1

briskday - January 9, 2009 - 05:33

it is possible! after looking at posts for the 5.x version I discovered the joy of (arg(2)), so if anyone else is interested I'm attaching my changes to the .module file.

I have event info, event registration pages, and the contribution/campaign pages themed in the site theme while keeping all management pages under the admin theme (or which ever theme you select in the admin theme options)

AttachmentSize
civicrm_theme.module.txt 2.5 KB
 
 

Drupal is a registered trademark of Dries Buytaert.