Hello,
First, let me say that I am a novice user of Drupal, but have some basic PHP skills, etc.
I am developing a tableless CSS-based layout built using xtemplate. I've been having a problem that a div I'm using to position the main content area (inside the
section tag) dissapears whenever I log in, so the administration content isn't styled or placed correctly.
Looking at xtemplate.engine, I found this on lines 192-194:
$output .= "\n<!-- begin content -->\n";
$output .= $content;
$output .= "\n<!-- end content -->\n";
Removing the div from my template, and making this change seems to work:
$output .= "\n<div id=\"mainbody\"><!-- begin content -->\n";
$output .= $content;
$output .= "\n</div><!-- end content -->\n";
But I'm concerned that it might not be the right solution. It has had no adverse effects as far as I can tell, but it seems that I sould be able to fix the problem in the template side.
As an aside, it would be very nice if xtemplate could handle missing section and item tags a little more gracefully. :)
Eventually, if I can get everything working right, I'd love to submit this theme.
Regards,
- Gustavo