Jump to content


Adriano Faria

  • Content Count

  • Joined

  • Days Won


Reputation Activity

  1. Like
    Adriano Faria got a reaction from wtanton in Form Helper (*)   
    A few examples to load Nodes (forums, groups, downloads or gallery categories, themes, etc.):
    $form->add( new \IPS\Helpers\Form\Node( 'setting_name', \IPS\Settings::i()-> setting_name ? \IPS\Settings::i()->setting_name : 0, FALSE, array( 'class' => 'IPS\forums\Forum', 'zeroVal' => 'use_cat_forum' ), NULL, NULL, NULL, 'setting_name' ) ); The important here is the 'class' => 'IPS\forums\Forum'. You can use other elements:
    'class' => '\IPS\Theme' 'class' => 'IPS\Application' 'class' => 'IPS\gallery\Album' 'class' => 'IPS\gallery\Category' 'class' => 'IPS\downloads\Category'
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy