Would it be possible to get the Front End upload page to display the actual File ID then the workaround would be to just enter the {phocadownload view=file|id=1} command in the front end editor. The only problem I see is that the upload list does not give the true ID.
Thanks
Paul
Download button plugin
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Download button plugin
Hi, added to feature reqest list, you can add the id with the following code:
components\com_phocadownload\views\user\tmpl\default_files.php
e.g. from:
to:
Jan
components\com_phocadownload\views\user\tmpl\default_files.php
e.g. from:
Code: Select all
<td><?php echo $row->title; ?></td>
Code: Select all
<td><?php echo $row->title .' (ID: '.$row->id.')'; ?></td>
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 08 Nov 2010, 16:07
Re: Download button plugin
Wow thanks I'll give it a try in the morning.
Paul
Paul
-
- Phoca Newbie
- Posts: 4
- Joined: 08 Nov 2010, 16:07
Re: Download button plugin
Tried it on my Local copy and it worked fine.
Many Thanks
Paul
Many Thanks
Paul
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: