enable to post comments

Author Message

dodo dido

Monday 26 February 2007 1:58:19 am

helo! I'm a beginner in ez publish. actually i'm building my website with ezpublish.in my home page i put a picture and some comments on it.i want to know that if its possible to allow people who are visiting the page to post their comments.i tried but i can't find out.if someone can help.
with regards,
dolla

Gurudutt Verma

Monday 26 February 2007 6:06:00 am

Hi dodo,

Yes it is possible to do ...

If you create an article and allow to add comment below that article and play little with that
then you will get more idea about that.

In your case if you don't have comment class for your image then.
First create a comment class at "Setup->Classes->Content"

You might have to play with your roles and policy.
now edit page "User_accounts->Roles and policy->Anonymous"
Add new policy and allow Anonymous user to edit/create
object of newly created class below certain subtree.

After new policy is created for Anonymous user or anybody can create object of
that class below specified sub tree.

to create comment from user site, Try following link that might help you.
http://ez.no/ezpublish/documentation/building_an_ez_publish_site/the_guestbook

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 31 2025 01:25:05
Script start
Timing: Jan 31 2025 01:25:05
Module start 'layout'
Timing: Jan 31 2025 01:25:05
Module start 'content'
Timing: Jan 31 2025 01:25:05
Module end 'content'
Timing: Jan 31 2025 01:25:05
Script end

Main resources:

Total runtime0.0265 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1016151.1953
Module start 'layout' 0.00560.0040 739.2969220.6563
Module start 'content' 0.00960.0148 959.9531997.7422
Module end 'content' 0.02440.0021 1,957.695329.9922
Script end 0.0265  1,987.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003212.0477140.0002
Check MTime0.00124.4897140.0001
Mysql Total
Database connection0.00083.041410.0008
Mysqli_queries0.00249.161130.0008
Looping result0.00000.045010.0000
Template Total0.00135.110.0013
Template load0.00103.916710.0010
Template processing0.00031.143310.0003
Override
Cache load0.00062.426110.0006
General
dbfile0.00030.976980.0000
String conversion0.00000.031540.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