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.
Right now my comments always show up above my "content" block which is fine in some cases, but on some sites I would like my "content" block, or any other one, to show up above my comments.
I would want a block to show up in between my node and comments. Is there some clean way to do this without having to theme a block in my node theme?
I'm currently developing (theming) my first drupal site and though I'm not really sure I need this, I was wondering if it was possible to theme a node differently depending on the page it shows on? For example, I'd want all my story node teasers to be themed in a particular way when displayed on the front page, but when they're displayed in the Stories page, I'd want them to be themed differently.
I have been asked to modify webform to add 'Cue cards'. Essentially this would be a div float to the right of the current form page with extended help for the form element which currently has focus (js + possibly AJAX).
Now I see I can copy node.tpl.php to node-webform.tpl.php and modify the header information easily. I also see I can also override the form handling to reorder the form etc, but I don't really understand how that helps.
I was keen JUST to give the Garland theme drop down menues, whos submenues expand when hovered over. See http://74.220.203.213/basic2/garland-dropdown
The Mod is attached as a zip file which also contains two MS Word documents
stylecss.doc
pagetplphp.doc
these are markups of the relevant files style.css and page.tpl.php BUT with the alterations coloured eg green text = inserted and red text = deleted, this way if you have a Garland mod and wish to adapt it you can.