<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=UTF-8>
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>The thing I liked about the admin layout was that
it forces it to be a two column layout. </FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My new question is:</FONT></DIV>
<DIV><FONT face=Arial size=2>Where do the $sidebar_right and $sidebar_left get
cleaned up to only contain the admin menu? </FONT></DIV>
<DIV><FONT face=Arial size=2>Is that a civicpace thing or a drupal wide
thing?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2> if ((arg(0) == 'civicrm') &&
(user_access('access civicrm pages'))) {</FONT></DIV>
<DIV><FONT face=Arial size=2>
$sidebar_right="";<BR> return true;<BR> }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But that seems like a real hackjob!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Josh</FONT></DIV>
<DIV><FONT face=Arial size=2>-I want to learn to do things properly - so one day
I can make stuff that is re-usable by others!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=josh@theyrule.net href="mailto:josh@theyrule.net">josh on</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=themes@drupal.org
href="mailto:themes@drupal.org">A list for theme developers</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, February 05, 2006 12:48
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [themes] theming
civicrm</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Thanks Laura!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Josh</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>themes mailing
list<BR><A href="mailto:themes@drupal.org">themes@drupal.org</A><BR><A
href="http://lists.drupal.org/mailman/listinfo/themes">http://lists.drupal.org/mailman/listinfo/themes</A><BR></BLOCKQUOTE></BODY></HTML>