Download files without login?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
sorenriis
Posts: 5
Joined: Tue 10. May 2011, 14:47
Location: Denmark

Download files without login?

Post by sorenriis »

Hey all

I have uploaded some files using the "file center".
Is it possible to download/view the files without having a login?

I have already checked the status option "public", but that doesnt seem to make them public in the way I want :)

Regards,
Søren
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Download files without login?

Post by Oliver Georgi »

Folders have to be public and active too.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
sorenriis
Posts: 5
Joined: Tue 10. May 2011, 14:47
Location: Denmark

Re: Download files without login?

Post by sorenriis »

Oliver Georgi wrote:Folders have to be public and active too.
They are also set as public and active.
Image

Even though I cannot download the file "afstandsforhold_sol_maane.pdf". Phpwcms prompts for a login when I try to download it.
Do I have to use a specific link to download the files?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Download files without login?

Post by Oliver Georgi »

Where do you want to download? In the frontend? Maybe you have a CP files there which requires to be logged in.

And this has to be off.
Bildschirmfoto 2011-05-12 um 15.24.44.png
Bildschirmfoto 2011-05-12 um 15.24.44.png (17.1 KiB) Viewed 7797 times
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
sorenriis
Posts: 5
Joined: Tue 10. May 2011, 14:47
Location: Denmark

Re: Download files without login?

Post by sorenriis »

Oliver Georgi wrote:Where do you want to download?
I would like to do it through a link, which I can make available to the people of interest.
Oliver Georgi wrote:And this has to be off.
Where do you find the "secured frontend download only"-setting?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Download files without login?

Post by Oliver Georgi »

seems you have a old version running.

Files in the frontend are used by CP files. You cannot link directly to these in the backend.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Download files without login?

Post by flip-flop »

.... And in newer versions, you can use the "[download=.....]" TAG.

-> Docu basic version e.g. [download=ID, ID ,ID]file-1 file-2 file-3[/download]
-> wiki enhanced version e.g. [xdownload= t: a string tag, tag05, tag06 : template, greedy, max_count, sort_by /]

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
sorenriis
Posts: 5
Joined: Tue 10. May 2011, 14:47
Location: Denmark

Re: Download files without login?

Post by sorenriis »

So to summarize people without a login cannot download the file unless I use the [download]-tag, which is available only in version v1.39 r187 and onwards?

What I have done so far is to create some page content using the phpwcms-backend.
On the page I would like to add a link. From here all visitors should be able to download the file I have uploaded.

This is impossible without using the [download]-tag?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Download files without login?

Post by Oliver Georgi »

Use the content part file list for that! Is it so hard?
Bildschirmfoto 2011-05-13 um 14.15.28.png
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
sorenriis
Posts: 5
Joined: Tue 10. May 2011, 14:47
Location: Denmark

Re: Download files without login?

Post by sorenriis »

Oliver Georgi wrote:Use the content part file list for that! Is it so hard?
Hehe.. You got a point! I didn't know that existed. :)
I would though like to arrange the files within a table. There is alot of files and I would like to group them - that I have done in a table.

Is that possible using the file list?
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Download files without login?

Post by Oliver Georgi »

you can use several CPs to group files. And use a custom template.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Download files without login?

Post by flip-flop »

Using the content part "File list" you can offer files from the file center for download.

Since version V1.4.2 r354 it is possible to generate a picture preview with the help of the LightBox. In addition still an output for picture parameter was added.
-> wiki: CP File list
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply