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 @ brucem@designit.com.au.

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:15:41
Script start
Timing: Jan 18 2025 18:15:41
Module start 'layout'
Timing: Jan 18 2025 18:15:41
Module start 'content'
Timing: Jan 18 2025 18:15:41
Module end 'content'
Timing: Jan 18 2025 18:15:41
Script end

Main resources:

Total runtime0.0159 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9219152.6250
Module start 'layout' 0.00490.0028 740.546939.4609
Module start 'content' 0.00770.0062 780.007893.3359
Module end 'content' 0.01400.0019 873.343834.3047
Script end 0.0158  907.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.2611140.0002
Check MTime0.00106.4578140.0001
Mysql Total
Database connection0.00074.417410.0007
Mysqli_queries0.002414.912530.0008
Looping result0.00000.081110.0000
Template Total0.00159.210.0015
Template load0.00084.959810.0008
Template processing0.00074.216110.0007
Override
Cache load0.00063.598510.0006
General
dbfile0.00148.935580.0002
String conversion0.00000.051140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs