[themes] theming civicrm
josh on
josh at theyrule.net
Sun Feb 5 22:02:10 UTC 2006
The thing I liked about the admin layout was that it forces it to be a two column layout.
But I realised that this seems to be the case before it even arrives at template.php (which is where the switch happens - directing it to use page_admin.tpl.php.
My new question is:
Where do the $sidebar_right and $sidebar_left get cleaned up to only contain the admin menu?
Is that a civicpace thing or a drupal wide thing?
In the end I want to get Civicrm to ignore the right menu. I guess I could just hack it in template.php with a conditional:
if ((arg(0) == 'civicrm') && (user_access('access civicrm pages'))) {
$sidebar_right="";
return true;
}
But that seems like a real hackjob!
Josh
-I want to learn to do things properly - so one day I can make stuff that is re-usable by others!
----- Original Message -----
From: josh on
To: A list for theme developers
Sent: Sunday, February 05, 2006 12:48 PM
Subject: Re: [themes] theming civicrm
Thanks Laura!
That seems like a great solution. I think maybe that should be part of the install deafult. Because my regular theme is fixed width and doesn't work for the CRM pages.
Josh
------------------------------------------------------------------------------
_______________________________________________
themes mailing list
themes at drupal.org
http://lists.drupal.org/mailman/listinfo/themes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20060205/345294ab/attachment.htm
More information about the themes
mailing list