[ic] Linking to .pdf files
Steve Graham
icdev at mrlock.com
Mon Sep 11 14:32:00 EDT 2006
>Anyone help me on how to create a link to a .pdf file using the item-code?
>
>Steve at airdelights.com
>_______________________________________________
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
More information about the interchange-users
mailing list