This forum is for assistance with theme development.

Can not use relative path in tpl

I just discovered that I can not use relative image paths in page.tpl.php as in ...

<div><img src="images/panelleftcorner.gif" /></div>

What is the proper way to reference images located in the themes directory? Is there a PHP variable that give me this path?

Own styles for my themes

Hello to all, first that nothing excuses the English for this post since I use a translator.

I am arming my first site with Drupal and need to know since I can do so that Drupal recognizes the styles that I indicate to him, that is to say, not those that bring by defect.

Somebody can help me with this? thanks!!!

Drupal Site Theme

Is the theme that this site uses available for anyone? I really like the look of it, and would like to use it.

Change class: form-text required

I have discovered that input forums get the class "form-text required" assigned.
Someone who knows how I can change the class to for example "form-text-required" in order to get the whitespace removed?
With the whitespace in the class-name I have problems with overriding the default style with an external stylesheet.

How to display comments in different place?

Hi peeps,

I've got a layout in which content of the CCK node is displayed in one column and comments are displayed in the other column parallelly to the content. That's the layout idea, but I can't achieve it. I made a custom node-content_my_article.tpl.php which prints only node title and node terms. But I still can post comments under the content. I didn't print $links but the damn comments (and 'comment or login' links too) keep appearing :((((

Anyone, pls help! :(((

menu-picture

Hello,

i want to have menu which has for each menupont (for example: Home, Games, Contact) a own picture. This picture should be shown a bit more left than the background of the menu.

Is this possible? And if, how?

greets, Dani

Pages

Subscribe with RSS Subscribe to RSS - Theme development