
ross
Staff
/ Moderator

Feb 24, 2005, 1:32 PM
Post #2 of 4
(2616 views)
Shortcut
|
Hi retray. Thanks for posting and welcome to the board! I was actually just looking into recently myself and it doesn’t seem like there is a really simple way of uploading PDFs to Listings Manager. Here is something that you can look into though: Here is how to get this setup: 1. Log into Listings Manager, click on Setup Options and then Setup Listings fields. 2. Create a new listing field and name it "PDF name". You can leave it as a text field. Remember to enable it and then hit the Save button . 3. Log onto your webserver using FTP and create a new folder called "pdf" in your /listman/listings folder. You’ll need to manually upload your PDFs to this folder. When you are uploading them, you'll need to remember the name, so you might want to use a naming convention. You may need to do this for your client though. 4. Open your _publish_listing.html template and add the following code to where you would like the link for your tours to be: <table> <tr> <td>PDF</td><td><a href="tours/$lfield16$.pdf">Click Here</a></td> </tr> </table> Just make sure that you change lfield16 to the field that you ended up using . 5. Go back to Listings Manager and create a new listing. In the PDF Name field add the file name of the PDF you wanted to use for this listing. You won’t need to add .pdf to the end of it. Save the listing and you should be good to go . One thing to keep in mind is that this method is going to create a link on each page even if you don’t have a PDF for. Do you plan on having a PDF for all your listings? If you like, there is a small piece of JavaScript that will only display the link if you tell it to. Hopefully something along these lines will work. Just let me know if you run into any trouble getting this setup . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting: http://www.interactivetools.com/consulting/
|