By jeeves on
I would like to have the link for downloading node attachments appear in the teaser (in addition to the node's body). Currently what I get in the teaser is a link labeled "1 attachment" which links to the node body instead of the actual attachment.
Is there any way to do this so that a link that leads directly to the attachment is automatically created in the teaser?
thanks
Comments
you can use the attachment
you can use the attachment contributed module (which requires the filemanager api module) which has an option for exactly this.
Drupal 6.X
How do i do the same for Drupal 6? I cant find the module for this version.
You can rewrite the
You can rewrite the node.tpl.php in your theme. Another choice is you can create a node-.tpl.php in your theme if you only want attachment appear for a spcific content type, not all.
Best Drupal Hosting | Affordable Web Hosting | Drupal Tutorials
I am a newbie
I am a newbie, could you help me out by being more specific as to how I am supposed rewrite. What I am wanting is what the attachments show up us in the module download sections of drupal.
Check out this snippet:
Check out this snippet: http://drupal.org/node/214564
----------------------
okay.cool