Anybody got any advice on how to show the table of attached files at the bottom of a custom cck content type using contemplate?

I can create a custom body templete using:

print $body

However, this doesn't give me enough flexibility over the rest of the content layout. Contemplate gives me an array variable called $attachments - but how to I use that in contemplate to create the table listing?

I'm using filemanager.module and attachment.module instead of upload.module.

I'm working in Drupal 4.74.

Cheers,
sean

Comments

pamphile’s picture

seanberto’s picture

I posted the hack for filemanager and attachments module here: http://drupal.org/node/63114#comment-170276

Sean Larkin

mndonx’s picture

Similarly, I have an audio clip for my custom content node. How do I use contemplate to bring the audio piece in? I don't see $audio or anything like that.

Thanks!