[Solved] OE 5.0 showing in Admin, not in Public siteaccess

Author Message

Benjamin Lorteau

Thursday 26 March 2009 4:42:49 pm

Hello,

I installed eZ Publish 4.1 with Online Editor 5.0 (with Tiny MCE) and ezwebin.

Now I'm facing the following situation : the rich-text editor appears when creating/editing content in Administration Interface, but don't show when creating content from the public siteaccess (like adding a new topic to a forum).

In the list of used templates, here's the template invoked in Admin : "content/datatype/edit/ezxmltext_ezoe.tpl" with "extension/ezoe/design/standard/templates/content/datatype/edit/ezxmltext_ezoe.tpl" effectively loaded.

But in Public, the template isn't the same, it's the standard "content/datatype/edit/ezxmltext.tpl" calling the no less standard "design/standard/templates/content/datatype/edit/ezxmltext.tpl" instead.

The is no override rules for either template, in any siteaccess. I tried to deactivate ezwebin, with no luck.

Did anyone knows why it isn't the same datatype edit template called by attribute_edit_gui template function in the two siteaccesses ?

Thanks in advance

eZ Publish personal project : http://www.aeriesguard.com [fr]

Benjamin Lorteau

Saturday 28 March 2009 2:05:56 am

I finally found out myself, you have to give editors the "ezoe/*" policy for them to see the rich-text editor. Having modified the PolicyOmitList array, I didn't think about giving editors the policies I removed from this configuration settings.

In my opinion, the policy requirement should be added in the eZ OE FAQ, because not everyone uses the standard configuration files.

eZ Publish personal project : http://www.aeriesguard.com [fr]

André R.

Sunday 29 March 2009 8:19:45 am

Thanks for the note, added a section on ezoe policy's in the FAQ now.

Ref:
http://svn.ez.no/svn/extensions/eztinymce/trunk/ezoe/FAQ

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 18 2025 18:22:21
Script start
Timing: Jan 18 2025 18:22:21
Module start 'layout'
Timing: Jan 18 2025 18:22:21
Module start 'content'
Timing: Jan 18 2025 18:22:22
Module end 'content'
Timing: Jan 18 2025 18:22:22
Script end

Main resources:

Total runtime0.7004 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.1563152.6563
Module start 'layout' 0.00600.0033 740.812539.5078
Module start 'content' 0.00930.6896 780.3203546.4531
Module end 'content' 0.69890.0015 1,326.773412.0938
Script end 0.7004  1,338.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4866160.0002
Check MTime0.00150.2120160.0001
Mysql Total
Database connection0.00120.167110.0012
Mysqli_queries0.645892.2003570.0113
Looping result0.00060.0807550.0000
Template Total0.666195.120.3331
Template load0.00200.288820.0010
Template processing0.664194.810520.3320
Template load and register function0.00010.018110.0001
states
state_id_array0.00090.126210.0009
state_identifier_array0.00180.254220.0009
Override
Cache load0.00170.2406210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.067520.0002
Fetch class attribute name0.00130.181650.0003
XML
Image XML parsing0.00330.470320.0016
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00320.4533230.0001
String conversion0.00000.001540.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6

Time used to render debug report: 0.0001 secs