This forum is for assistance with theme development.

Themeing forums

Hi,

i looked around the whole day searching informations about themeing the drupal forums. I know about node-forum.tpl.php of course but i don't know where to theme the forums homepage/overview or the comments to make them look like normal forum posts.

any idea?

Thanks!

Where are these vars from

I a newbie, not afraid to admit it...Now that's off my chest. Where are the //$head, //$styles, //$script variables read from?

How do I place a banner above teaser text on front page?

Hi,

I'm using the Garland theme and would like to place an image banner ABOVE the teaser text (of items promoted to front) displayed on the front page.

I thought (and still think) the best way is by using blocks, but the "content" block appears below the teaser text. I have tried a couple of guides on creating new block regions but they don't seem to correspond to the structure of the garland theme.

What's the best way to achieve the desired result?

Help! - something went wrong with Garland - errors displaying

I was attempting to follow a tutorial for modifying garland, but now when accessing the area to configure or select themes I have multiple instances of different errors..

The only way to rid myself of them is to set things back to the default. so I'm not sure why I cannot do simple things such as changing the color of the background for the header.

when i try to do that, not only do I get these errors, but the title of the site is then missing as well as the home logo.

Is there some explanation for this?

Override TinyMCE visibility for specific CCK type

I'm not sure if there is a way to do this but I would like to override or disable TinyMCE when a particular type of content is being edited and for the TinyMCE configuration screen too. Everything else can have TinyMCE present.

The type of content is called video_clip which contains JavaScript that tinyMCE will mess up. I have tried the following without success:
[code]

  if ($node->type == 'video_clip')
    return false;
  else
    return true;

[/code]

Custom pager and node templates

I have recently installed custom pager and it seems like it will fulfill my needs. But I can figure out what code/variable I shall use in my custom node template file. Custom pager works as long as I don't use an own template file for that node type. But I need to have a custom node template for this node type.

The code below don't do it.
print $node->content['custom_pager_bottom'][1]['#value'];

Any help would be greatly appreciated!

Pages

Subscribe with RSS Subscribe to RSS - Theme development