Forums / Developer / How to let site owner create forms?

How to let site owner create forms?

Author Message

Nicklas Lundgren

Wednesday 15 June 2005 1:45:02 am

Hi all,

We are planning a new project, where the customer wants to create forms of his own. We have considered granting him access to the setup-section of the eZ P admin interface. Thus, he could create his own classes. But this is a real threat, since we cant expect that the customer knows his way through this rather advanced section, and to my knowledge one cant restrict the permissions to setup to a specific nordtree, or such.

So, now we are thinking about an alternate way to achieve this. The customer needs to create simple forms vith input, textareas, radiobuttons and checkboxes. All form-replies will be emailed to the customers email-address.

My simple question is - anyone having experience from this?
All suggestiones is greatly appreciated.

Kind regards,
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Arran Price

Wednesday 15 June 2005 5:01:03 pm

Hi Nicklas,
the ideal way as you know is to create the appropriate classes. You might want to consider training them or putting in a workflow so you can review before they are published.

Otherwise...
If I were doing it outside of ezpublish, I would have the forms created based on the contents of an xml form which could be created by the client, using a form I would have created for that purpose.

The problem with that, is that its really complicated compared to the alternative.

A thought springs to mind while I write this...
Can you create a new class group, and only give the client access to create/edit classes within that group? If so, you could then create custom templates etc and not have to be so worried about what they may inadvertently get access to? If you cant, that would be a suggestion to add to the next round of feature additions.

Hope thats of some help.

Arran

Bruce Morrison

Wednesday 15 June 2005 6:04:58 pm

Hi Nicklas

I think I may have something that will fit your needs. We have a extension that we have been planing on releasing as a product but are just too busy to polish it off and package it up. As a result it's likely we will release it under the GPL.

In it's current state it is quite usable, has some installation documentation, but lacks configuration and operational documentation.

If you are interested drop me an email @ [email protected].

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish