This forum is for assistance with theme development.

Use of Filtered-Html-Tags in template files

Is it possible to use Filtered-Html-Tags like e.g. [audio] or [coolfilter] in template files?

In my menus, how do I make a parent show as active when a child is selected?

Hi, I'm sorry if this question is a pretty basic one, I've been charged with making a website for our company but haven't got a huge amount of experience in these things!

I've managed to cobble together a half decent menu system using modified versions of nokoala and nice_menus, but I'd like to make it such that the parent nodes (which are shown all the time in a horizontal bar at the top of the site) are highlighted when one of their children is active. Could anybody shed some light on how to do this? I presume it has something to do with the css files.

Applying CSS to only one node type. Can it be done?

I realise I can use ConTemplate to alter the output of node types. And I can make node-poem.tpl to alter the layout of a "Poem" content type, for example.

But is there any way of altering only the CSS of one content type?

User loads a Poem and poem.css gets called.
User loads a Story and story.css gets called.
etc.

Modifying how a Teaser within a Block is Themed

1. I have a block that displays the teaser for a node.

2. I want the way it is displayed to be different from how teasers appear elsewhere.

3. I can, theoretically, modify block.tpl.php, but as far as I can tell, this only allows me to theme $block->content.... but $block->content already contains the rendered and themed version of what I want to display, so I have to intercept it earlier.

sort comments by date only

Hi,

maybe I'll get killed, because it´s to easy or I did not find it in the manual.

I could not figure out, how to tell Drupal to append the latest comment to the end of the comments-list. It always appends after the comment, on which I clicked "reply".
What and where do I have to change something, so that a new reply will show up at the last entry in the list?

Thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Theme development