TheJackal84 Posted July 7, 2017 Share Posted July 7, 2017 So I am hooking into \IPS\core\modules\front\members\profile and trying to make a setting what a member will obviously edit but when I use the editor it throws a error Here's the setting $form->add( new \IPS\Helpers\Form\Editor( 'My_Setting', $this->member->My_Setting, FALSE, array( ) ) ); I have to use TextArea for it to work, $form->add( new \IPS\Helpers\Form\TextArea( 'My_Setting', $this->member->My_Setting, FALSE, array( ) ) ); is it because you can't use the editor in there, or is it something I am doing?, the error it gives is Undefined index: autoSaveKey Link to comment Share on other sites More sharing options...
Daniel F Posted July 7, 2017 Share Posted July 7, 2017 Link to comment Share on other sites More sharing options...
TheJackal84 Posted July 7, 2017 Author Share Posted July 7, 2017 6 hours ago, Daniel F said: Cheers after a bit of reading and reverse engineering the MemberForm profile settings I managed to do it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.