How to restore Comment abilities in Article class

Author Message

Zak dma

Friday 12 May 2006 7:16:16 am

I have site on eZpublish. Creator deleted all classes and settings needed for commenting articles on this site.
How to restore all classes and settings to allow commenting articles?

André R.

Friday 12 May 2006 3:09:40 pm

Reinstall??

If that's not an option, what eZ version do you run??
In 3.8 you can just download the news package or something.
In the other versions I would recommend rebuilding the classes (article and comment)
Then rebuild the user rolls that enables user to comment.
Then u need to assign the right templates to those new classes.

But first, remove admin rights to the one that did this, and check the recycle bin for the missing files.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

Main resources:

Total runtime1.1286 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.2578151.2266
Module start 'layout' 0.00640.0042 739.484436.6797
Module start 'content' 0.01061.1172 776.1641920.0078
Module end 'content' 1.12780.0008 1,696.17197.8125
Script end 1.1285  1,703.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2887160.0002
Check MTime0.00140.1206160.0001
Mysql Total
Database connection0.00120.107610.0012
Mysqli_queries1.081495.8225540.0200
Looping result0.00050.0463520.0000
Template Total1.068994.720.5345
Template load0.00190.168820.0010
Template processing1.067094.545920.5335
Template load and register function0.00130.116010.0013
states
state_id_array0.00550.484810.0055
state_identifier_array0.00290.259520.0015
Override
Cache load0.00160.1403140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.052020.0003
Fetch class attribute name0.00220.193430.0007
XML
Image XML parsing0.00060.057320.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00150.1346170.0001
String conversion0.00000.000740.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs