get($args['conf_change_type']); $model = $conf_obj->get_config_model($args['conf_change_type']); $saved = false; foreach( $model as $key => $item ) { if(!empty($args[$key])) { $conf[$key] = $args[$key]; } $conf_obj->set($args['conf_change_type'], $conf); $saved = $conf_obj->save($args['conf_change_type']); } if($saved) { echo "
Successfully saved $saved bytes to " . $conf_obj->get_conf_dir() . '/' . $args['conf_change_type'] . ".json
"; } else { echo 'Failed to save to ' . $conf_obj->get_conf_dir() . '/' . $args['conf_change_type'] . '.json!
'; } } ?>General settings:
User management:
Add User:
Theme cloner:
Want to write your own theme? Clone a theme here then see the styling guide for information on how tCMS' templates, image sets and CSS work in the theming system.
INSERT FORM HERE