• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: relative path for images

relative path for images 14 years 3 months ago #12406

How can I modify the files.php file to use relative paths for storing images? Right now this is stored as absolute path but I need to be able to use relative paths in there.
The administrator has disabled public write access.

Re:relative path for images 14 years 3 months ago #12418

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

Upload fields actually have two placeholders: {name:value} and {name:path}

You can read more on them here:

www.rsjoomla.com/customer-support/docume...nts-file-upload.html
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:relative path for images 14 years 3 months ago #12424

Hello Alex,
this is not what I was after. I need to be able to use a relative "Destination Path" and not an absolute. Where would I need to apply these changes?
Thanks for your help
The administrator has disabled public write access.

Re:relative path for images 14 years 1 month ago #13048

  • robert68
  • robert68's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Serge,

Did you get anywhere with this? I want to do the same - relative path but haven't had any luck with Support

Look forward to hearing from you.
The administrator has disabled public write access.

Re:relative path for images 12 years 1 month ago #22148

  • aboville
  • aboville's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Hello Serge,
Did you ever find how to set a relative destination path in "File uploads"?
I can't get RSForm support to answer me on this.
Thank you very much for yoru help.
Alek
The administrator has disabled public write access.

Re:relative path for images - END, not solved 12 years 1 month ago #22152

  • aboville
  • aboville's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
No indication of what the SQL query is :( .

Here is the official reply from RSForm:

"The destination path of your uploaded files needs to be an absolute path. This is automatically determined by the component when a new upload field is created.

When moving an installation from one host to another you will also need to run an SQL query that updates the paths of the uploaded images."
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!