DataCollection

Author Message

mikle mikle

Thursday 08 January 2004 1:48:04 am

I am trying to make a user submittion form. Wasn't able to find any document about it. After digging sources got some ideas and found some options about collection. I put such a settings in a collect.ini file
[CollectionSettings]
Email_Receiver=mikle@maka.ru
CollectAnonymousData=enabled
CollectUserData=enabled
CollectAnonymousDataList=overwrite
CollectionUserDataList=overwrite

Now its working under Admin user, but for anonymous - not. When i submit form under admin - it shows me list of values which have been sent, under anonymous it gives the same page with empty list.
How to fix the problem? Or can somebody give me a link to a guide or docimentation or smth about this issue?

Florian Feigenbutz

Thursday 08 January 2004 2:21:42 am

Hi Mikle,
have you checked the user roles?
Login to your admin area, change to users and chose "Roles" from the menu left. I suppose the anonymous user isn't allowed to view or send the form.
If you created a new class for the form you have to allow the anoymous user to read it..
Hope it helps,
Florian.

mikle mikle

Thursday 08 January 2004 9:27:08 pm

Thanks for yor advice

I tried this, i tried to give all permitions to anonymous user role, the same... Now did a few new tests - it works ok under _any_ registered user, but not for anonymous .

Can comeone give me config example related to information collection (part of ini file), and tell if i have to do any other changes?

Ekkehard Dörre

Saturday 14 February 2004 1:38:44 am

Here is an old tutorial for parts of your question.
http://pubsvn.ez.no/sdk/tutorials/view/forms

Greetings ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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 16:25:38
Script start
Timing: Jan 18 2025 16:25:38
Module start 'layout'
Timing: Jan 18 2025 16:25:38
Module start 'content'
Timing: Jan 18 2025 16:25:38
Module end 'content'
Timing: Jan 18 2025 16:25:38
Script end

Main resources:

Total runtime0.6586 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 590.2969152.6094
Module start 'layout' 0.00610.0031 742.906339.4297
Module start 'content' 0.00920.6479 782.3359582.2266
Module end 'content' 0.65710.0015 1,364.562512.1953
Script end 0.6586  1,376.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5055160.0002
Check MTime0.00140.2063160.0001
Mysql Total
Database connection0.00080.125910.0008
Mysqli_queries0.611192.7817620.0099
Looping result0.00050.0742600.0000
Template Total0.631195.820.3156
Template load0.00220.330920.0011
Template processing0.628995.493120.3145
Template load and register function0.00030.041510.0003
states
state_id_array0.00080.128810.0008
state_identifier_array0.00060.098220.0003
Override
Cache load0.00180.2781280.0001
Sytem overhead
Fetch class attribute can translate value0.00050.069530.0002
Fetch class attribute name0.00080.124150.0002
XML
Image XML parsing0.00080.119630.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00070.1040160.0000
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs