View Full Version : [3.5] List attachment ID on edit-post for easy [attach] usage


Floris
17th June 2005, 12:25 AM
[3.5] List attachment ID on edit-post for easy [attach] usage

This small template modification shows how to list the id's of attachments you're adding to a post, this makes it easier if you're using inside a post.

Instructions:

* Open the template 'newpost_attachmentbit'

* Find both instances of:($attach[filesize])</div>

* Replace them with this code:($attach[filesize]) [attach]$attach[attachmentid]</div>

* Save the template


Screenshot: http://creations.nl/screenshot_attach_id.gif



Enjoy.

Neeto
18th August 2005, 04:11 AM
What does [attach] tag do exactly? lol Sorry, I am always learning new things about vB.