Hi
I really like the design and feel of this theme, but there is a problem when wanting to display other imagefields besides the recommended:

it's strongly recommended to have the following: Imagefield module enabled, with a field for each node type you are using called field_image.

It seems that ONLY imagefields called "field_image" are displayed in node (unless it's inserted in the body). I would like to also be able to display a gallery of photos using this theme.
Can I remove this limitation?
Thanks
Tan

Comments

burgs’s picture

Hi Tan,

It is heavily customised to only show the body text and a cck image. This was the easiest way to form the css, and keep things simple for entry level users.
To display all cck fields, edit the node.tpl.php file and replace:

<div class="content">
  	<?php if($node->field_image[0]['view']){ ?>
  	<span class="main-image"><?php print $node->field_image[0]['view']; ?></span>
  	<?php } ?>
    <?php print $node->content['body']['#value']; ?>
  </div>

with

<div class="content">
  <?php print $content; ?>
</div>
burgs’s picture

Status: Active » Closed (fixed)

I hope that is enough information. For obvious reasons there is no reason to change the code, as long as you know how to change it for more advanced uses.

tanma’s picture

Hi burgs
Yes great, enough info thanks! In the past I did some programming (way before the time of php) but I just get a bit lost in Drupal/php...

I ended up leaving your code in place and went for

  <div class="content">
    <?php if($node->field_image[0]['view']){ ?>
      <span class="main-image"><?php print $node->field_image[0]['view']; ?></span>
      <?php print $node->content['body']['#value']; ?>
    <?php } else { ?>
      <?php print $content; ?>
    <?php } ?>
  </div>

Seems to do what I want.

Also I was wondering if you had any plans to make some to the text lighter in the Admin modules, particularly Views, I can't see the values I'm changing very easily.

Thanks again for a great theme.
Tan

burgs’s picture

Views don't look too bad for me, although, there is a lot of stuff that could look better on the dark background. Add a screenshot and I'll have a look and see if I can make some adjustments.