Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
Error when configuring "image_select"

 

 


Dean
New User

Apr 17, 2004, 7:37 PM

Post #1 of 3 (2590 views)
Shortcut
Error when configuring "image_select" Can't Post

I'm new to setting up pages for Page publisher & I'm not sure how to get images to upload to a different directory than specified by the default Upload Dir. I'm looking to have each client's images uploaded to their own Dir instead of a common Dir

I'm using the tag below but i'm unsure what goes in the uploaddir="???" section
<!-- publish type="image_select" allowupload="yes" uploaddir="" allowremove="no" editalt="yes" rows="2" -->
<!-- /publish -->

For example, if my default Upload Dir in Page Publisher is
/home/website/public_html/jweb/uploads/

And I've created a new folder called cjbc in the public_html directory, therefore the uploaddir="" section should then be uploaddir="/home/website/public_html/cjbc/" Is this correct? as i'm getting a message saying "Upload directory does not exist!" when using the Add Button in the File Manager window. I've tried a few variations such as leaving out the / for example. the cjbc folder is chmod to 777, is this correct also?

Thanks,
Dean.


Donna
Staff / Moderator


Apr 18, 2004, 3:06 PM

Post #2 of 3 (2581 views)
Shortcut
Re: [Dean] Error when configuring "image_select" [In reply to] Can't Post

Hi Dean!

Thanks for your email. :)

The uploaddir is actually relative to the uploads directory. So, the easiest way to split up the files between pages is to create subdirectories of the uploads directory, and simply enter "cjbc" into the upload dir. So, you'd have this:

<!-- publish type="image_select" allowupload="yes" uploaddir="cjbc" allowremove="no" editalt="yes" rows="2" -->

...and this would upload to /<your uploads dir>/cjbc

I hope this helps! Let me know if you have any other questions or concerns. :)

<!-- /publish -->

Donna

--
support@interactivetools.com


Dean
New User

Apr 18, 2004, 6:05 PM

Post #3 of 3 (2576 views)
Shortcut
Re: [Dean] Error when configuring "image_select" [In reply to] Can't Post

Thanks Donna,

I followed your instructions & it's now working well.
Page Publisher is nice software indeed!

Dean.