This forum is for assistance with theme development.

Q: Is there a clean way to add a block ABOVE the comments?

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?

Thanks!

Theming a node depending on destination

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.

'Cue cards' for webform?

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.

How to change the width of minnelli?

How can I adjust the width of minnelli (or any other fixed-width) theme?

Drowdown menu mod for Garland

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.

Name of page being displayed

Hi folks,
can anyone tell me how I can tell what page is being displayed from within page.tpl.php?

thanks
Selwyn

Pages

Subscribe with RSS Subscribe to RSS - Theme development