Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
PDF uploads

 

 


retray
User

Feb 24, 2005, 3:28 AM

Post #1 of 4 (2625 views)
Shortcut
PDF uploads Can't Post

Hi, I'm new to RM. From what I've read there is no built in functionality to upload PDFs. Is it not possible to use Upload Images in the same way as Article Manager? If so, could a path be made so they can be downloaded? Trying to make things easy for my client. Would appreciate any comments. Thanks, Retray.


ross
Staff / Moderator


Feb 24, 2005, 1:32 PM

Post #2 of 4 (2616 views)
Shortcut
Re: [retray] PDF uploads [In reply to] Can't Post

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 Smile.

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 Smile.

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 Smile.

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 Smile.
-----------------------------------------------------------
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/



retray
User

Feb 28, 2005, 2:06 AM

Post #3 of 4 (2577 views)
Shortcut
Re: [ross] PDF uploads [In reply to] Can't Post

Thanks Ross, that worked fine. I was able to give my client direct ftp access to the PDF directory through their browser so they can upload files themselves. Seemed like a reasonable workaround.


nbyrd
User

Jan 14, 2009, 7:15 PM

Post #4 of 4 (1177 views)
Shortcut
Re: [ross] PDF uploads [In reply to] Can't Post

Hello ross,

Thanks for your prompt reply. I was able to successfully setup a PDF upload due to following your instructions in a previous posting, but need to know where I might obtain the JavaScript you noted that "will only display the link if you tell it to."

As you requested I'm posting a reply to that thread so that it's active in my system again.


Thank You,
nbyrd