Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Display Attachement Name on Pages: Edit Log

Here is the list of edits for this post
Display Attachement Name on Pages
I added "attached_file" column in links database, and I want to show the NAME of the attachement (means display the name of the file on the harddisk) next to the link in category.html! How do I do that?
I tried putting <%attached_file%> in category.html but did not work, I get a blank instead of the attached file name.
also, I tried creating a global for the attached file name: "attached" which is <%attached_file%> and also did not work...

It seems also, that even if I put a GLOBAL like:
display_attach ... which is: <IMG SRC="<%db_cgi_url%>/jump.cgi?view=File&ID=<%ID%>">
then it is not being replaced in the dynamically generated category page.
e.g. if I put <%display_attach%> on category.html, then I still see the following link: ...cgi-bin/mixes/<%db_cgi_url%>/jump.cgi?view=File&ID=<%ID%>

any hint or help... greatly appreciated.

Last edited by:

Mark2: Nov 15, 2005, 11:38 AM

Edit Log: