This forum is for assistance with theme development.

How to print the node text only ?

Hi !
I'm looking for a way to print the main text of a node. Do you know how to to do that ?

I've added a new field for an image for the blog entry so I want to include the image in the

tag.
I've tried this but it doesn't work

<p><?php print theme('imagecache', 'mid', $field_image_blog[0]['filepath']); ?>
<?php print $body_filter?></p>

Thank you fo your help.

Drupal.org handbooks source code

Im looking for the source code on how Drupal.org/handbooks page in created. I found it before searching through the forums in like 5mins but this time i just spent 40mins and i still cant find it. Thanks in advance.

I don't want to display the node on top the form comment. How can I do ?

Hi !
The node it belongs to is displayed on top of the comment reply form. How can I remove it ?

Same thing for the forum reply page...

Thank you for your help.

PHP Syntax Error Involving Template.php

I am getting the following error:

Parse error: syntax error, unexpected T_VARIABLE in /www/themes/cdrama2_standard/links.tpl.php on line 5

Here's my links.tpl.php:


$delimiter = "&nbsp;&nbsp;&nbsp;"

$link_count = count($links);
$current = 1;
foreach($links as $link) {
	print $link;
	if(current < $link count) {
		print $delimiter;
	}
	$current++;
}

and template.php:

Themeing issues - getting duplicate heading on some pages

We are running Drupal with CiviCRm and are using a online store.

The site is at http://www.donortec.com.au

Please look at the following page : http://www.donortec.com.au/directory/5

As you can see, we are getting duplicate headings 'hardware'

Any ideas on how to fix this.

How do displaying the Top search phrases in the block?

hi,everybody

I think displaying the hot keyword in the block,How to should do?
Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Theme development