| Re: Article module - How can I only use basic form |
| by chardiar on 2008/6/14 16:17:23 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. |
| Re: Article module - customize submit screen |
| by patagon on 2007/6/2 0:16:17 Thanks Dona! I was about to loose this project but I managed to solve most of my problems with your advice. BTW, not that I make any money on this, but I put a lot of work that I didnt want to see fade away (besides believing in the cause, and my personal opinion that a website could help). anyway, my remaining issue is that I would need to be able to 'tag' each article with 'open', 'pending' or 'solved' (or something similiar). Whenever someone posts an 'article' the status would be 'open' and then they can edit the post and change that to 'pending' or 'solved'. Since I dont use all the fields in the article submit I figured one of them (say 'source') could hold this, but I'd need to make sure users can only input one of these 3 options (for example a dropdown) and then do an if on the article page (if the option selected in the dropdown equals 'open', show an image saying open). Maybe there is another way, or something I'm overlooking, since I'm not a programmer... hope this is clear, and maybe someone can give me an idea on how to do this. thanks |
| Re: Article module - customize submit screen |
| by Dona_Brasil on 2007/6/1 19:10:59 There is a small file modules/article/readme.editmode.txt : Quote:
|
| Re: Article module - customize submit screen |
| by patagon on 2007/6/1 16:08:31 anyone? I really need this... |
| Re: Article module - customize submit screen |
| by patagon on 2007/6/1 7:23:44 and the icing on the cake: on advanced mode I see that I have a few options for the main text area (koivi, dhtml form, plain text, etc). I'd love to make 'plain text' the default (withouth the ability to choose the others, is this posible?). Since users will only see the 'basic' mode, without the ability to choose advanced or custom, this should be the default for all 3 (or just basic). At last, I'm using articles for a non profit organization where users submit issues or problems they have, so I'd need them to be able to 'tag' their problem/article, by selection from a dropdown (similar to how you can label a post on CBB). when the article is initially posted, the status would be 'open', and then users can change that (by editing the article) to 'in process' and 'solved', is this possible? guess thats too many questins, but any help or guidelines will be appreciated. |