OK.. you got me.. that does work! The comments in config.php say: // Path to user files relative to the document root. $Config['UserFilesPath']
which is not the same as "full URL to files," but it's great that it does work, and let's hope that this continues to work in future versions - thanks for the help!
I did it by having my site editor set a cookie, then i had to edit the connectors to read the cookie and update the path to the images and where the files will be uploaded and the CSS link in the config file.
I'm using the PHP connector, but if you tell me what you did for Perl it should be straightforward to do the same for PHP. My guess is that once the file is selected in the browser and that window closes, there is code that populates the Image popup with the path of the selected file. So I would guess that prepending the URL just before that point would make the full URL appear in the Image popup and everything would be good from there... ?
thanks for the reply. i tried that. when i click on 'browse server', it doesnt siplay the contents of the server. there's an error icon on the bottom left of the window.
when i put the old code back: the problem goes away.
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
http://wwww.blah.com/blah.jpg
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
// Path to user files relative to the document root.
$Config['UserFilesPath']
which is not the same as "full URL to files," but it's great that it does work, and let's hope that this continues to work in future versions - thanks for the help!
RE: How to prepend URL to uploaded img path
I can send you the files if you are interested.
-Scott
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
RE: How to prepend URL to uploaded img path
Best.
Scott
RE: How to prepend URL to uploaded img path
http://sourceforge.net/forum/forum.php? ... _id=257180
Re: How to prepend URL to uploaded img path
Re: How to prepend URL to uploaded img path
Re: How to prepend URL to uploaded img path
i tried that.
when i click on 'browse server', it doesnt siplay the contents of the server.
there's an error icon on the bottom left of the window.
when i put the old code back: the problem goes away.
what am i doing wrong?