how do i access/enable comments

Author Message

paul harvey

Sunday 15 February 2004 5:06:21 pm

i have created a new class and set enable comments as default. which templates do i use to post comments and read comments.

thanks
paul

James Packham

Monday 16 February 2004 3:16:54 am

Check out the guest book tutorial.

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook

All you need to do is to change the create button to use whichever Object's node id as it's mainnodeid.

Regards,

James

paul harvey

Tuesday 17 February 2004 2:36:33 pm

thanks i now have that working with restricted access which prompt the vistor to login or gives them a button to post a comment. the next thing i would like to do is automatically fill the Author name field with the logged in user name does anyboy have any ideas or can point me in the right direction for achieving this.

paul

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 03:35:14
Script start
Timing: Jan 31 2025 03:35:14
Module start 'layout'
Timing: Jan 31 2025 03:35:14
Module start 'content'
Timing: Jan 31 2025 03:35:14
Module end 'content'
Timing: Jan 31 2025 03:35:14
Script end

Main resources:

Total runtime0.0459 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.0066 588.1328151.2109
Module start 'layout' 0.00660.0051 739.3438220.7031
Module start 'content' 0.01170.0316 960.0469997.7891
Module end 'content' 0.04330.0026 1,957.835929.9922
Script end 0.0459  1,987.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00367.8876140.0003
Check MTime0.00132.9283140.0001
Mysql Total
Database connection0.00092.048210.0009
Mysqli_queries0.00316.825430.0010
Looping result0.00000.061210.0000
Template Total0.00173.610.0017
Template load0.00143.005610.0014
Template processing0.00030.576510.0003
Override
Cache load0.00102.253110.0010
General
dbfile0.012026.181180.0015
String conversion0.00000.020240.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