Page 2 of 2
Re: Download button plugin
Posted: 09 Jan 2011, 13:16
by plshep
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
Re: Download button plugin
Posted: 09 Jan 2011, 20:33
by Jan
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:
Code: Select all
<td><?php echo $row->title; ?></td>
to:
Code: Select all
<td><?php echo $row->title .' (ID: '.$row->id.')'; ?></td>
Jan
Re: Download button plugin
Posted: 10 Jan 2011, 00:26
by plshep
Wow thanks I'll give it a try in the morning.
Paul
Re: Download button plugin
Posted: 10 Jan 2011, 10:22
by plshep
Tried it on my Local copy and it worked fine.
Many Thanks
Paul
Re: Download button plugin
Posted: 12 Jan 2011, 00:44
by Jan
Ok