Ahiru_San
Karma: 0
|
Re:direct download from file list - bypass file info - 2010/08/02 20:03
Hi there.. I recently started using Joomla and Remository, and was wondering the same thing.
I've made a simple change in remository.html.php somewhere around line 325~ (I've changed other things, so not really sure of its actual line)
| Code: | protected function fileListing ($file, $container, $downlogo, $remUser, $showContainer=false, $type='A', $downlinktype=0) {
$thumbnails = new remositoryThumbnails($file);
$filefunc = $downlinktype ? 'directinfo' : 'download';
|
EDIT: The 'download' in the last line was previously "fileinfo" I think. Also, to make things work I left the "Allow File Info" turned on, so it is like it's going to link the file to its info, but since the "download" is in "fileinfo" place, it starts downloading automatically with the temporary link.
Mind I ask, is it possible to make links in the menus (from joomla template and modules) that goes to the "Edit/Delete" buttons in file info? Since I can no longer reach the file info (unless I'm uploading a file, right after the upload is complete) is there a way to have a link (like the "search/upload" in the footer) to edit and delete without even knowing the file ID? How can I add something that shows me what files are there so I can check which one I want to edit/delete from a link (and not from file info)?
Thanks
Post edited by: Ahiru_San, at: 2010/08/02 20:06
|