Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I decided to experiment with the CVS version of Drupal and phptemplate in preparation with 4.7 and for some reason I can't get $sidebar_left and $sidebar_right to show up. $content, $breadcrumbs are just fine.
I don't see a ton of activity in the CVS logs for the phptemplate project or anything that would indicate that major changes are in the works for the way you would implement a page.tpl.php file.
I am working on my first drupal theme and want to know if there is a full list of the elements required/i should include in my css.
i have created the layout already in css, yet of all the different themes i have looked at the coding of, i often find contradictory elements or they are structured in not the clearest way to follow.
I do not want to add the php (i am/will be using the php engine - unless someone convinces me otherwise) until i have all the syles down.
Can anyone point me in the direction of a list of css elements?
I've done some pretty radical changes to how I display content on my nodes. The problem that this presents for me is that when I display content by taxonomy, I've got some major problems. Basically I want to have two kinds of templates per node type- a listing template and a landing template. I know that there is a concept of "teaser" but this hasn't been sufficient for me. So the hack I came up with is the following:
<? $httpvars = ($GLOBALS['HTTP_SERVER_VARS']);
if (stristr($httpvars['REDIRECT_QUERY_STRING'],'taxonomy'))
{ // do listing display }
else { // do landing display}
?>
Anybody else have ways of doing this that are straightforward?