Joomla: 1.5.26
Phoca Download: 1.3.9
Hi,
Is it possible to let he user overwrite existing files while uploading the files from the frontend?
(User Upload Layout)
Found only a topic for the backend....
regards
enzo
----------------------------------------------------------------
Open up controllers > phocadownloadupload.php and go to line 190. You will see the following code:
/*if (JFile::exists($filepath)) {
if ($format == 'json') {
header('HTTP/1.0 409 Conflict');
jexit('Error. File already exists');
} else {
JError::raiseNotice(100, JText::_('Error. File already exists'));
// REDIRECT
if ($return) {
$mainframe->redirect(base64_decode($return).'&folder='.$folder);
}
return;
}
}
*/
Overwrite files in User Upload
- Jan
- Phoca Hero
- Posts: 48595
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Overwrite files in User Upload
Hi, this is planned.
Jan
Jan
If you find Phoca extensions useful, please support the project