Prompting User To Login To Download File
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Prompting User To Login To Download File
Ok
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 176
- Joined: 18 Jul 2008, 03:06
Re: Prompting User To Login To Download File
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
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
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Prompting User To Login To Download File
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
Jan
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

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 176
- Joined: 18 Jul 2008, 03:06
Re: Prompting User To Login To Download File
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!
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!
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Prompting User To Login To Download File
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
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