Anonymous creates content objects?

Author Message

Lara Nordahl

Saturday 04 September 2010 10:49:10 am

Is there a tutorial on how to have an anonymous user create a content object? Thanks!

Heath

Sunday 05 September 2010 11:19:21 pm

Hello Lara,

Sadly no tutorial or article exists on the subject. But I would imagine that giving the anonymous role the proper policies you could do this similar as it is done with comments?

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Matthieu Sévère

Monday 06 September 2010 4:20:49 am

Lara,

Do you need to create an object in a template or in a module/view in PHP ?

--
eZ certified developer: http://ez.no/certification/verify/346216

Romeo Antony

Monday 06 September 2010 5:13:34 am

Hi Lara,

I think you can grant anonymous users to create content objects by granting policies roles like , can create objects in content module(create function in content module) , create a policy based on roles and allot it for anonymous users.

hope u understand.

Regards

Romeo

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 05:08:50
Script start
Timing: Jan 18 2025 05:08:50
Module start 'layout'
Timing: Jan 18 2025 05:08:50
Module start 'content'
Timing: Jan 18 2025 05:08:51
Module end 'content'
Timing: Jan 18 2025 05:08:51
Script end

Main resources:

Total runtime0.8815 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.0547152.6250
Module start 'layout' 0.00440.0023 741.679739.4453
Module start 'content' 0.00670.8732 781.1250628.0781
Module end 'content' 0.88000.0015 1,409.203112.1563
Script end 0.8814  1,421.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3247160.0002
Check MTime0.00120.1377160.0001
Mysql Total
Database connection0.00070.076210.0007
Mysqli_queries0.832094.3915640.0130
Looping result0.00060.0724620.0000
Template Total0.853696.820.4268
Template load0.00180.209120.0009
Template processing0.851796.625720.4259
Template load and register function0.00020.017110.0002
states
state_id_array0.00130.151210.0013
state_identifier_array0.00090.107120.0005
Override
Cache load0.00160.1773210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.063640.0001
Fetch class attribute name0.00100.114670.0001
XML
Image XML parsing0.00140.155740.0003
class_abstraction
Instantiating content class attribute0.00000.001270.0000
General
dbfile0.00130.1471290.0000
String conversion0.00000.000840.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs