"; } function install_post($var) { $sql = e107::getDb(); $mes = e107::getMessage(); // $query = "INSERT INTO #_blank SQL insert query goes here;"; // if($sql->db_Select_gen($query)) { $mes->add("Custom - Install Message.", E_MESSAGE_SUCCESS); } // else { $mes->add("Custom - Failed to add default table data.", E_MESSAGE_ERROR); } } function uninstall_options() { $listoptions = array(0=>'option 1',1=>'option 2'); $options = array(); $options['mypref'] = array( 'label' => 'Custom Uninstall Label', 'preview' => 'Preview Area', 'helpText' => 'Custom Help Text', 'itemList' => $listoptions, 'itemDefault' => 1 ); return $options; } function uninstall_post($var) { // print_a($var); } function upgrade_post($var) { // $sql = e107::getDb(); } } ?>