Enrico Posted October 4, 2017 Share Posted October 4, 2017 (edited) I need to ask, can be easy done this ? Exist one quick way to make contributive site with processwire ? What i mean ? Simply i mean after user signup does exist a way for the user to submit NEW PAGES / EDIT SUBMITTED PAGES ? Does exist a module free or premium to easly do it ? If no, how much to pay a developer can create it ? Thanks Edited October 7, 2017 by horst @horst: Changed Title to be more precise Link to comment Share on other sites More sharing options...
Rudy Posted October 4, 2017 Share Posted October 4, 2017 Hi @enrico, There is already a front end login/user registration module https://github.com/ryancramerdesign/LoginRegister As far as front-end content editing, you could use https://processwire.com/api/modules/front-end-editing/ Hope this helps Rudy 1 Link to comment Share on other sites More sharing options...
louisstephens Posted October 4, 2017 Share Posted October 4, 2017 As far as I know, there is not a way for a user to create new pages strictly via a front end instance (without using the api). However, you could use the backend and allow a user to create a page (and not allow publishing), or you could create a form on the front end (After login) that would allow a user to fill it out and create a page utilizing the API. 1 Link to comment Share on other sites More sharing options...
lokomotivan Posted October 4, 2017 Share Posted October 4, 2017 In processwire, there is a "page-edit-created" permission so you can easily restrict any user to be able to edit only page created by them. And you have multiple ways to achieve how users will manage pages. 1. You can allow users to create/publish/edit pages via the backend. Ofc, they will have access only to stuff u allow via permissions (module, admin, trash and system only superuser). 2. Make a front-end form to submit pages via API, and use some (free) module for editing, like: http://modules.processwire.com/modules/front-end-edit-lightbox/ 3. Use form-builder premium module to create pages, and for editing some module like one above 4. You can do everything via api on front-end, creating and editing pages. So final answer is yes, you can make contributive site with processwire, many ways to do it in pw. 1 Link to comment Share on other sites More sharing options...
adrian Posted October 4, 2017 Share Posted October 4, 2017 This fork of AdminBar (https://github.com/teppokoivula/AdminBar) can be very useful in this situation. Style it to match your site and it's a very quick way to give logged in users the ability to edit and add new child pages. It won't ever be as flexible as building your own frontend form and processing using the PW API, but it's very easy when you have complex forms to reproduce, especially if there is image upload and ASM type select fields to reproduce. This screenshot shows that you can add a "New +" child page when viewing the main portal parent. This screeencast shows editing an existing entry: 8 Link to comment Share on other sites More sharing options...
SamC Posted October 6, 2017 Share Posted October 6, 2017 On 04/10/2017 at 2:46 PM, adrian said: This screenshot shows that you can add a "New +" child page when viewing the main portal parent. Still not tried this but looking at the screencast again, it looks very promising. The problem I have found in the past with an admin bar, is that you're on an parent page, say 'services' that is just made up of child pages pulled in via a loop?. The clients may not fully understand that the whole page is made of other pages and literally has nothing directly editable on it. They click 'Edit' and go "huh?". Link to comment Share on other sites More sharing options...
szabesz Posted October 7, 2017 Share Posted October 7, 2017 @Enrico or @moderators: I recommend renaming the title of this thread to something like: "Frontend editing and content creation possibilities?" Current title is not descriptive at all, that is why @Enrico The title can be edited when you edit your own post starting this thread. 1 Link to comment Share on other sites More sharing options...
Noel Boss Posted February 18, 2018 Share Posted February 18, 2018 On 10/4/2017 at 3:46 PM, adrian said: It won't ever be as flexible as building your own frontend form @adrian How / Is it possible to easily receive a Template with all it's fields and settings to create a new form in the frontend? Basically the backend form for the frontend. I am also looking to make editing and creation of new Objects possible in the frontend and know how to build a form manually but is there an easy way to more or less get the whole template? Something like: // just made that code up… $form = $templates->get('MyTemplate')->form; $form->get('MyField')->attr('value', "New Value"); $form->render(); Link to comment Share on other sites More sharing options...
Noel Boss Posted February 18, 2018 Share Posted February 18, 2018 Okay, I could probably use: http://modules.processwire.com/modules/form-helper < long time not updated… http://modules.processwire.com/modules/form-template-processor/ < even longer… http://processwire.com/api/modules/form-builder/#about-the-form-builder-project-and-author < using formbuilder with page cration… could be the solution Is there a native way? Link to comment Share on other sites More sharing options...
Macrura Posted February 18, 2018 Share Posted February 18, 2018 I would recommend to try the form template processor, it should still work. Formbuilder is also a solid choice. Easy to create forms, and pages from the forms, and also add your own scripts and styles to forms, hook into form process and do advanced things. 2 Link to comment Share on other sites More sharing options...
bernhard Posted February 19, 2018 Share Posted February 19, 2018 @noelboss don't know your exact scenario but you could maybe use something like FEEL or the pw-panel or just an iframe to achieve that? 1 Link to comment Share on other sites More sharing options...
Noel Boss Posted February 19, 2018 Share Posted February 19, 2018 Thanks @bernhard - but i want it to be directly on the page without any iframe or lightbox. I know these solutions but i think there are many scenarios where you would like to CRUD things in the frontend and not have a separate ui or overriding to much. Kind of surprises me this is not a question or need more often. @Macrura thanks! I will try it. Did you use it lately? Link to comment Share on other sites More sharing options...
Macrura Posted February 20, 2018 Share Posted February 20, 2018 @noelboss I used form template processwire way back before Formbuilder was released, and it worked fine; You can also very easily setup a service page to accept the form's post data and process it any way you want. It's very simple to do this; you can also get some ideas for how to build this: https://processwire.com/talk/topic/3779-use-csrf-in-your-own-forms/ https://processwire.com/talk/topic/2089-create-simple-forms-using-api/ https://processwire.com/talk/topic/14206-contact-form-tutorial/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now