Forums / Setup & design / [Solved] OE 5.0 showing in Admin, not in Public siteaccess

[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

eZ debug

Timing: Jan 18 2025 15:05:34
Script start
Timing: Jan 18 2025 15:05:34
Module start 'content'
Timing: Jan 18 2025 15:05:34
Module end 'content'
Timing: Jan 18 2025 15:05:34
Script end

Main resources:

Total runtime0.1417 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9531180.8125
Module start 'content' 0.00520.0058 768.765697.9766
Module end 'content' 0.01100.1306 866.7422526.9219
Script end 0.1416  1,393.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.1579200.0002
Check MTime0.00130.9224200.0001
Mysql Total
Database connection0.00060.411510.0006
Mysqli_queries0.101171.36771410.0007
Looping result0.00100.72901390.0000
Template Total0.130392.010.1303
Template load0.00070.475110.0007
Template processing0.129791.523510.1297
Override
Cache load0.00050.347210.0005
Sytem overhead
Fetch class attribute can translate value0.00060.434210.0006
XML
Image XML parsing0.00030.220310.0003
General
dbfile0.00473.3129200.0002
String conversion0.00000.002930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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