Prompting User To Login To Download File

Phoca Download - download manager
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Prompting User To Login To Download File

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
likestuff
Phoca Professional
Phoca Professional
Posts: 176
Joined: 18 Jul 2008, 03:06

Re: Prompting User To Login To Download File

Post by likestuff »

Hi Jan,

Is there a way to put a "modified date" next to the filename. That way the user can know the date the file was last modified.

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Prompting User To Login To Download File

Post by Jan »

Hi, what you mean with "modified date" - modified data of the record (the item in system) or modified date of the file stored on the server.

If the file stored on the server, then this needs to be customized - to read the file, get modified date by php function and display it in view :idea:

Jan
If you find Phoca extensions useful, please support the project
likestuff
Phoca Professional
Phoca Professional
Posts: 176
Joined: 18 Jul 2008, 03:06

Re: Prompting User To Login To Download File

Post by likestuff »

So what I mean is if the download page can display the date that the file was modified or replaced.

Currently is shows the filename on the page along with the download button and I was wondering if it could also show when the file was modified or replaced so it would look something like this:

My-Flyer-Design.pdf (Last Updated: Jan.6 2016)

Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Prompting User To Login To Download File

Post by Jan »

Hi, you can display the date of the file, which is in fact the last updated date.

This you can set in File View when you display the output with help of specific layout.

Or you can change directly the output code:
components\com_phocadownload\views\file\tmpl\default.php

Jan
If you find Phoca extensions useful, please support the project
Post Reply