Quote:
Why can't you just type in for example
{XOOPS_URL}/files/file.zip?
or
yoursite.com/files/file.zip?
Because the site i have currently in proyect will have a large volume of upload/downloads
Xoops has not a integrated upload file script yet (except mydownloads rc1)
them i will use a external upload script,the user after fill the XOOPS submit form with the file details is redirected to these upload script.
and i modified mydownloads module to allow enlarge screenshots. (i already made this with XOOPS 1.3.x some years ago in my old site)
them in each user submited file,i have to fill 3 spaces in manual way every time,
the url file (with the internal location)
the small picture (internal location)
the big picture (internal location)
if i have to fill all the complete path every time,is too much work.
in my way i only have to add the folder and the filename.
ie: files/file.zip
files/small_image.jpg
files/big_image.jpg
the rest is added automaticly.
--------
Thanks ajaxbr :) you solve my problem :)
i only modified the admin files because the users will not add file urls.
-----
jusui:
is very similar to the way i using :)
in 2.0.6 is not neccesary add all the site url, if you put your files inside the mydownloads module,
if your file is in the root of the downloads module, you put only file.zip and will work fine too.
if you put your file inside a folder inside download root, will work too
tex/file.zip
the only problem is if your want change the relative path to the XOOPS root for example.
in my old site i was modified the path relative for my files, but im 2.0.6 is diferent or i not remember fine how i made that before :)
grettings, sorry for my poor english