Jump to content

Downloads settings form


Adriano Faria
 Share

Go to solution Solved by bfarber,

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:

Quote

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.

Edited by Adriano Faria
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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