
MikeB
Staff
/ Moderator

Sep 1, 2005, 3:53 PM
Post #9 of 9
(6432 views)
Shortcut
|
Hi Lee, Thanks for the post! I'll outline the steps you can follow to set up a field that will allow users to upload files and then I'll offer some suggestions on how they can add links to these files in Page Publisher's WYSIWYG editor with their content. First, on your .html page you'll want to add the PML (Publish Markup Language) tag for a file_select field. The code will look like this:
<!-- publish type="file_select" allowupload="yes" uploaddir="" allowremove="yes" --> <!-- /publish --> This will allow your client to uploads their own file when they are modifying this page. Then, once they've uploaded the file to the server they should be able to use the WYSIWYG editor's linking feature to add a link to the file they've uploaded. By default, the files will all be uploaded to the Upload Dir you have set in Page Publisher's Setup Options (by default this is /pp/uploads/). This means you should be able to just tell your clients that if they upload a file called "file.pdf" the URL they could link to would look like this: http://www.yoursite.com/pp/uploads/file.pdf I hope this helps and if you have any other questions feel free to let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] 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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|