Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 16, 20186 yr In my plugin I define a settings like so : I then proceed to have my settings.php file have these contents: $form->add(new \IPS\Helpers\Form\TextArea('disable_multiple_quantities_names', \IPS\Settings::i()->disable_multiple_quantities_names, null, array())); if ($values = $form->values()) { $form->saveAsSettings(); return true; } return $form; Going to the settings section of the plugin, I get this as expected (Disregard the plugin name, its for testing) : Putting in a value and pressing save, I get this: Edit : Creating a new plugin and redoing everything fixed this, something must have been corrupted.
June 18, 20186 yr Just to flag the 'best answer', the OP recreated his plugin as something apparently got corrupted.
Archived
This topic is now archived and is closed to further replies.