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 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?
I am trying to port Ruthsarian's Skidoo Too template to Drupal and getting on OK. However, the theme breaks if I navigate to any page below the top level, as if it can't find the stylesheet.
The CSS file is called "style.css" and it is located in the folder "themes/Skidoo_too"
I call the style from page.tpl.php using the code print $styles
Ok, I give up, can someone tell me how the tabs (primary links) work in the Spreadfirefox theme? I think want to use the theme box_grey, but I want the primary links tabs to be like those in the Spreadfirefox theme but for the life of me I can't seem to get them to show up in the box_grey theme though I *think* I copied everything I need.
I hope someone can help me...as i am lost...am new and you can say a little slow...so please help me out...ill appreciate it...
the thing is that i downloaded "PHPTemplate" from http://drupal.org/project/phptemplate and placed the unziped file into the themes/engines directory....well that was easy and not so complicated...