Editing pages using a front-end Contour form, with user login
This is a bit complex, but I'm not expecting a step by step guide; if someone could give me a general idea of how to do this, I'd appreciate it:
I need to add a 'Locations' section to my website that will contain a few dozen pages, which will all use the same document type. Each of these pages will contain several pieces of information describing a single location. I need to set things up so that users who have been given approval can log in somewhere and edit the contents of a specific location page that has been assigned to them. They don't need to be able to create new pages or sign up for an account (I'm fine with doing those manually), just edit. These edits would, preferably, go to a site administrator for approval before publishing.
I have a good idea of how I could do all of this by having users edit directly on the Umbraco back-end, but as I have Contour, I'd like to see how difficult it would be to set this up with one or more front-end edit pages using a Contour form. It could use either a single edit page, or an edit page for each location, as long as a user's editing privileges can be limited to a single location page, and the process of adding a new location remains simple.
Can anyone help get me pointed in the right direction? Thanks.
Without being too specific, you're going to need to create a new workflow that contains the logic to do what you desire.You can take a look at the Contour Contrib workflow code samples.You could also check out this package which is a custom workflow that allows you to choose a specific node to save the form information to.
Editing pages using a front-end Contour form, with user login
This is a bit complex, but I'm not expecting a step by step guide; if someone could give me a general idea of how to do this, I'd appreciate it:
I need to add a 'Locations' section to my website that will contain a few dozen pages, which will all use the same document type. Each of these pages will contain several pieces of information describing a single location. I need to set things up so that users who have been given approval can log in somewhere and edit the contents of a specific location page that has been assigned to them. They don't need to be able to create new pages or sign up for an account (I'm fine with doing those manually), just edit. These edits would, preferably, go to a site administrator for approval before publishing.
I have a good idea of how I could do all of this by having users edit directly on the Umbraco back-end, but as I have Contour, I'd like to see how difficult it would be to set this up with one or more front-end edit pages using a Contour form. It could use either a single edit page, or an edit page for each location, as long as a user's editing privileges can be limited to a single location page, and the process of adding a new location remains simple.
Can anyone help get me pointed in the right direction? Thanks.
Without being too specific, you're going to need to create a new workflow that contains the logic to do what you desire.You can take a look at the Contour Contrib workflow code samples.You could also check out this package which is a custom workflow that allows you to choose a specific node to save the form information to.
Well you need to be able to edit an existing document type so like Douglas mentoines you'll need a custom workflow that contains the logic for that.
If you want to make it generic you can look at the existing create content workflow type you can find the code for that on the contour project page
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.