Jump to content

Downloads settings form

Adriano Faria

Recommended Posts

I need to hook into Downloads settings form (.../applications\downloads\modules\admin\downloads/settings.php) to update a hook but I can't because it isn't returning the form itself:

		\IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack('settings');
		\IPS\Output::i()->output = $form;

It should return $form. Due to that, I got the error:


Fatal error: Call to a member function add() on a non-object in C:\wamp\www\ips41\init.php(425) : eval()'d code on line 15

It was like that on Forums app too but it was changed in early days of 4.0 at requests.

Thank you.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...