johnkras 0 Posted January 13, 2021 Share Posted January 13, 2021 (edited) Hi, i am making a plugin and i need to get latest purchases for each member. I tried to add the following as Setting $form->add( new \IPS\Helpers\Form\Node( 'custom_prod', ( \IPS\Settings::i()->custom_prod ) ? explode( ',', \IPS\Settings::i()->custom_prod ) : 0, FALSE, array( 'class' => 'IPS\nexus\Package\Group', 'zeroVal' => 'all', 'multiple' => TRUE ), NULL, NULL, NULL, 'custom_prod' ) ); However each time i choose and saves it doesnt save the ones i selected. Edited January 13, 2021 by johnkras Link to comment Share on other sites More sharing options...
johnkras 0 Posted January 13, 2021 Author Share Posted January 13, 2021 @DiaboliK. Link to comment Share on other sites More sharing options...
The Grim Reaper 142 Posted January 13, 2021 Share Posted January 13, 2021 20 minutes ago, johnkras said: @DiaboliK. Well, i don't own knowledge into plugin creation right now. Maybe the official documentation will help you : https://invisioncommunity.com/developers/docs/development/plugins/overview-of-plugins-in-ips4-r41/ Link to comment Share on other sites More sharing options...
Recommended Posts