7
Hi friends,
I want only use "basic form" to registered members.
I did this for the 3 forms but equal I see the form full:
$form_art_elements["full"] = !empty($form_element["active"]) ? array_keys($form_element["active"]) :
array(
"form_mode", // Form mode
"art_title", // Article title
//"uid", // User ID for submitter
"art_summary", // Article summary
//"subtitle", // Subtitle for a page
//"editor", // Editor selection box
"text", // Article body
"text_options", // Options for article body display
//"page", // Multipage manipulation
//"writer_id", // Original author
//"art_source", // Original source
"art_keywords", // Keywords or tags for the article
//"attachment", // Attachments, not used yet
//"art_image", // Article spot image
//"art_template", // Article template
"cat_id", // Basic category
//"category", // Extra categories to register to
//"topic", // Topics to register to
//"art_forum", // Newbb forum board for discussing the article
//"art_elinks", // External relevant links
//"trackbacks", // URL to send trackback
"notify", // Notification for approval of the article
"approved", // Approve the article, admin only
//"update_time", // Update publish time, admin only
);
$form_art_elements["basic"] =
// Comment out any of the fields to be hidden
// Elements will be sorted according to the order here
array(
"form_mode", // Form mode
"art_title", // Article title
//"uid", // User ID for submitter
"art_summary", // Article summary
//"subtitle", // Subtitle for a page
//"editor", // Editor selection box
"text", // Article body
"text_options", // Options for article body display
//"page", // Multipage manipulation
//"writer_id", // Original author
//"art_source", // Original source
"art_keywords", // Keywords or tags for the article
//"attachment", // Attachments, not used yet
//"art_image", // Article spot image
//"art_template", // Article template
"cat_id", // Basic category
//"category", // Extra categories to register to
//"topic", // Topics to register to
//"art_forum", // Newbb forum board for discussing the article
//"art_elinks", // External relevant links
//"trackbacks", // URL to send trackback
"notify", // Notification for approval of the article
"approved", // Approve the article, admin only
//"update_time", // Update publish time, admin only
);
$form_art_elements["custom"] =
// Comment out any of the fields to be hidden
// Elements will be sorted according to the order here
array(
"form_mode", // Form mode
"art_title", // Article title
//"uid", // User ID for submitter
"art_summary", // Article summary
//"subtitle", // Subtitle for a page
//"editor", // Editor selection box
"text", // Article body
"text_options", // Options for article body display
//"page", // Multipage manipulation
//"writer_id", // Original author
//"art_source", // Original source
"art_keywords", // Keywords or tags for the article
//"attachment", // Attachments, not used yet
//"art_image", // Article spot image
//"art_template", // Article template
"cat_id", // Basic category
//"category", // Extra categories to register to
//"topic", // Topics to register to
//"art_forum", // Newbb forum board for discussing the article
//"art_elinks", // External relevant links
//"trackbacks", // URL to send trackback
"notify", // Notification for approval of the article
"approved", // Approve the article, admin only
"update_time", // Update publish time, admin only
);
?>
what´s wrong?
Thanks in advance.