Home arrow Forum

Remository Forum

 


admin

Karma: 57  
Re:addfiledone - 2008/10/31 11:36 My approach would be to remove the last three lines of the savefile method in remository_savefile_Controller.php, which currently read:
Code:

          require_once ($this->admin->v_classes_path.'remositoryAddFileDoneHTML.php');         $view =& new remositoryAddFileDoneHTML($this);         $view->addFileDoneHTML ($newfile);


and replace them with:
Code:

          $interface =& remositoryInterface::getInstance();         $interface->redirect(remositoryRepository::RemositoryBasicFunctionURL('fileinfo'$newfile->id));


That is untested, but something along those lines should work. It wouldn't suit everybody because it only makes sense if everything is auto-approved.

Post edited by: admin, at: 2008/10/31 11:37
Martin Brampton aka Counterpoint
http://black-sheep-research.com
http://mamboguru.com
  | | Sorry, you do not currently have permission to write here.

      Topics Author Date
    thread link
(solved) addfiledone
chrissy6930 2008/10/31 10:55
    thread link
thread link Re:addfiledone
admin 2008/10/31 11:36
    thread link
thread linkthread link Re:addfiledone
chrissy6930 2008/10/31 12:22

Menu

Budding author?

Could you write about software?  Packt Publishing is looking for authors for its new series of Beginners' Guides.  Take a look at their web site to find out more.

Login Form

Username

Password

Remember me
Password Reminder
No account yet?
Create one

Who is Online

Remository welcomes guests and registered users.

We have 14 guest online