Online Editor & Custom Content Classes Problem

Author Message

Jean Hester

Tuesday 20 January 2004 1:38:32 pm

In our implementation of EZP, we created three new Content Classes. These all work fine.

We then installed the Online Editor, and while the OE works on the out-of-the-box Content Classes that come with EZP (such are "Article"), the OE does NOT attach itself to our custom classes.

How can I get the OE to recognize our custom content classes, and attach itself to the input templates for content of that custom content class?

This is critical for us, and I really need to make this work, otherwise the client will be very unhappy...

Thank you very much!

-Jean Hester

Eirik Alfstad Johansen

Wednesday 21 January 2004 12:46:58 am

Hi Jean,

I have yet to work with the OE, so I don't know how it's implemented in eZP. However, I would think that the OE editor would substitute any XML datatype field in edit mode, or perhaps the is a specifc attribute that decides whether to include it or not.

You are using the XML datatype for your custom made classes, right? Perhaps you could tell me a little bit more about how the OE was implemented for the working content classes?

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 19 2025 00:16:19
Script start
Timing: Jan 19 2025 00:16:19
Module start 'layout'
Timing: Jan 19 2025 00:16:19
Module start 'content'
Timing: Jan 19 2025 00:16:20
Module end 'content'
Timing: Jan 19 2025 00:16:20
Script end

Main resources:

Total runtime1.1051 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.0055 588.0469152.6406
Module start 'layout' 0.00550.0035 740.687539.4766
Module start 'content' 0.00901.0945 780.1641519.6563
Module end 'content' 1.10350.0016 1,299.82038.1250
Script end 1.1050  1,307.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3037160.0002
Check MTime0.00130.1187160.0001
Mysql Total
Database connection0.00070.062510.0007
Mysqli_queries1.055795.5287540.0195
Looping result0.00060.0583520.0000
Template Total1.060796.020.5304
Template load0.00220.200320.0011
Template processing1.058595.781920.5292
Template load and register function0.00020.015710.0002
states
state_id_array0.00210.189610.0021
state_identifier_array0.00160.146820.0008
Override
Cache load0.00180.1631160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.056820.0003
Fetch class attribute name0.00170.150730.0006
XML
Image XML parsing0.00090.085820.0005
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00080.0765160.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/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs