I have a node which requires attachments, hence I used the Upload Module.I am able to upload the attachment but when I try to retreieve it through I cannot find it.

I think it is(attachment) no longer a part of the $content variable nor the $node->body.I am completely lost on how to get this attachment.

I am able to see the attachments in the default content types though for eg:page.

Please do help me.

Comments

vm’s picture

what kind of "node" is this attachement being uploaded on ?
if it a self made content type ?

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

avatar123’s picture

Its a self made content type which has an Author Name, subject etc ...called node_featured.tpl.php.

I am able get evreything except the Attachment.I assumed that
print $content

would have the attachment but this does not have it.I am lost .

Thanks for your time

In fact the $node->body in the cotemplate Module shows the attachment but when I add it to the .tpl.php nothing happens.

danielb’s picture

I have the same problem. I dont' think the upload module has thought of a way to actually include the attachments with the node.