Drupal - iTweak Upload & Contemplate

Another very short post (in a terrible hurry!) -> How to arrange for an iTweak Upload file list to be dislayed in your node content template (contemplate)?

Well, i'm not sure if this is the best way to do this, I couldn't much info out there on the subject, but this worked for me...

<?php print theme('upload_attachments', $node->files); ?>

Here's some more info on the subject - http://drupal.org/node/214564

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.

Pride on FacebookPride on TwitterPride on TwitterPride on Twitter

Join Our Newsletter

* indicates required

Irish Internet Association

finalist.png
phone-number.png