[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Linking to .pdf files



Anyone help me on how to create a link to a .pdf file using the item-code?

suppressed
_______________________________________________

We created a separate field for the pdf file information, and use it like so:

[if-item-field pdf_file]
<br>
<a href="#" onClick="open('/catname/images/pdf/[item-field pdf_file]','[item-code]','width=500,height=500,resizable,scrollbars');">
<br><center>More Details (PDF)</center>
</a>

[/if-item-field]

pdf_file will hold the subdirectory & name of the pdf file: such as mfgname/filename.pdf

since many of our items will use the same pdf file, we didn't want to save multiple copies of the same file.

fwiw
Steve


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.