This forum is for assistance with theme development.

How to read Body Field in template for CCK type?

I want create a custom template node-mytype.tpl.php for my added custom content type mytype.
(Drupal 5.0, CCK 5.x-1.2, content template 5.x-1.1)
This type has body field enabled.
I have no problem to read $title, $field_cckfieldname[0], ... and theme these individual fields.
Variable $body consists all fields values, but I would like to display only value of the "body field".
Is there any variable which contains only the field body value, like $field_body?

user_profile.tpl.php question

How can i get the uid of currently logged in user in template for user profile (in user_profile.tpl.php)?

Enabling top row of primary links in contented7 theme?

Hi

I'm using the contented7 theme and it was working while I kept the original name of the theme folder. However, I have renamed the theme folder and now the top row of primary links (between the header and the content) has disappeared.

How can I re-enable those horizontally-arranged primary links? I have tried to add a 'primary links' block in the header region, but it displays a vertical list of primary links just below the site logo.

Thanks in advance for any assistance.
--
Albert

Localization change design!

Hi,
in this site (http://provolini.mine.nu) I am using a theme that uses icons for the node links (like add comment, read more, etc.) but these icons disappear when I choose a language that is not English from locale settings in my profile section.

The problem seems to be the $link array used in the node.tpl.php which (for example) does not include the class="icon-add-comment" attribute for the link Add new comment

How to modify the edit and reply pages structure ?

Hi !

I'd like to know how to modify the edit and reply pages structure ?
I've noticed there is no title on the edit page of a comment and and the reply page, I don't want to display the previous node at the bottom of the form.

Do you know which file or which function I should edit and modify ?

Thank you.

Matt.

Problem with Golden Hour theme

The blue/grey banner in the Golden Hour theme does not seem to work correctly. Under the site name, there is a big white space.

http://zemea.info/main/

This happens in any browser.

Pages

Subscribe with RSS Subscribe to RSS - Theme development