 |

ajmusic24
User
Mar 20, 2007, 6:18 AM
Post #1 of 9
(2516 views)
Shortcut
|
|
File Upload/Links Recommendation
|
Can't Post
|
|
Hi, I have a page (Articles page) that has several articles with each having links to a file (pdf or doc). I want the client to be able to upload the file and add the text link and subtitle text under the link all through Page Publisher. Any recommendations on how I should go about programming this page with the publisher tags? Thanks, AJ
|
|
|  |
 |

Donna
Staff
/ Moderator

Mar 20, 2007, 11:15 AM
Post #2 of 9
(2514 views)
Shortcut
|
|
Re: [ajmusic24] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi AJ, For each file you want to upload, you'd have something like this: <!-- publish name="Upload 1" type="file_select" allowupload="yes" uploaddir="" allowremove="yes" --> <!-- /publish --> <!-- publish name="Text 1" type="textfield" --> <!-- /publish --> You can add any additional formatting as required, of course. Give that a try and see if that works for you. :) Donna
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.
|
|
|  |
 |

aharris816
User
Mar 20, 2007, 4:21 PM
Post #3 of 9
(2512 views)
Shortcut
|
|
Re: [Donna] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi Donna, Thanks for the reply. I tried that option and the problem with that option is I would limit the user to how many articles they can have on the page because I would have to program the page with a preset number of upload/text fields. I was hoping there was a way the user can modify the Articles page with a WYSIWYG editor and create a text link and upload the pdf to the server at the same time, or create a text link to a pdf that they've previously uploading on another screen in Page Publisher. Thanks, AJ
|
|
|  |
 |

ChetW
Staff

Mar 21, 2007, 11:06 AM
Post #4 of 9
(2503 views)
Shortcut
|
|
Re: [aharris816] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi AJ, Thanks for the follow-up! One thing that you could do is create a page that isn't linked to on your website, this one page would be added to Page Publisher and used for uploading all your PDF files into the /uploads/ directory. Next you could use the wysiwyg editor on a Page Publisher editable page to create a link to your previously uploaded pdf file. The only real trick to this is that the user would need to know that their link URL to the PDF files for their website will always be something similar to this: www.abc.com/pp/uploads/My_PDF_Filename.pdf Does this sound like an option that may work for you AJ? If so let me know and I'll be happy to give you more details on how this can be set-up. :) Cheers, Chet Woodside - 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.
|
|
|  |
 |

aharris816
User
Mar 21, 2007, 12:13 PM
Post #5 of 9
(2501 views)
Shortcut
|
|
Re: [ChetW] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi Chet, This sounds like it might work. Can you give me more details on how this can be set-up? Thanks, AJ
|
|
|  |
 |

ross
Staff
/ Moderator

Mar 21, 2007, 3:35 PM
Post #6 of 9
(2497 views)
Shortcut
|
|
Re: [aharris816] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi AJ Thanks for getting back in touch! Here's what the plan will be. First, create a new file called uploads.html put this HTML code on it:
<!-- publish type="file_select" allowupload="yes" uploaddir="" allowremove="yes" allowadd="yes"--> <!-- /publish --> That's all you need. Upload this file to your server and then add it to Page Publisher. I would call the page "Upload PDF's Here" so that it jumps out as the place to upload PDF's . Now that the page is there, you just click to modify if and upload your PDF's then flip back to the page you want that PDF and stick the link into it. Does that all make sense? Give it a shot and let me know how you make out . ----------------------------------------------------------- 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.
|
|
|  |
 |

aharris816
User
Mar 25, 2007, 12:49 PM
Post #7 of 9
(2452 views)
Shortcut
|
|
Re: File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi Ross, Chet, Donna, Thanks for you help. I tried both options and I think I'm going to have results better for the client with Donna's solution. Donna, how do I make that text link of the uploaded file open in a new window. Thanks, AJ
|
|
|  |
 |

ross
Staff
/ Moderator

Mar 25, 2007, 1:23 PM
Post #8 of 9
(2450 views)
Shortcut
|
|
Re: [ajmusic24] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Hi AJ Thanks for getting back in touch . To get those files opening in different windows try using this bit of code for your file_select:
<!-- publish type="file_select" allowupload="yes" uploaddir="" allowremove="yes" name="File Upload/Selection"--> <A href="" target=_blank>File</a> <!-- /publish --> Notice how I stuck in a dummy link there with a target attribute? Now, when you upload a new file, Page Publisher will adjust the href part of the link there but it will leave that target attribute in there as is and will keep the file opening in a new window. Does that make sense? Give it a shot and let me know what you think . ----------------------------------------------------------- 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.
|
|
|  |
 |

aharris816
User
Mar 27, 2007, 4:48 AM
Post #9 of 9
(2409 views)
Shortcut
|
|
Re: [ross] File Upload/Links Recommendation
[In reply to]
|
Can't Post
|
|
Perfect. Thanks to all.
|
|
|  |
|