Share » Forums » Setup & design » Ezoe 5 doesnt store xml block content...

Ezoe 5 doesnt store xml block content on frontpage object

Ezoe 5 doesnt store xml block content on frontpage object

Wednesday 15 July 2009 1:23:00 am - 2 replies

Modified on Wednesday 15 July 2009 1:23:47 am by Luis Micunco

Author Message

André R.

Wednesday 15 July 2009 1:49:19 am

Its because flow uses a very old version of 'ez_core.js', I thought it was replaced entirely with yui by now but seems to still be used somewhere.

Patch:

Index: ezoe/design/standard/templates/content/datatype/edit/ezxmltext_ezoe.tpl
===================================================================
--- ezoe/design/standard/templates/content/datatype/edit/ezxmltext_ezoe.tpl	(revision 22)
+++ ezoe/design/standard/templates/content/datatype/edit/ezxmltext_ezoe.tpl	(working copy)
@@ -59,7 +59,7 @@
     <script type="text/javascript">
     <!--
     
-    if ( window.ez === undefined ) document.write('<script type="text/javascript" src={"javascript/ezoe/ez_core.js"|ezdesign}><\/script>');
+    if ( window.ez === undefined || ez.version < 0.95 ) document.write('<script type="text/javascript" src={"javascript/ezoe/ez_core.js"|ezdesign}><\/script>');
 
     var eZOeAttributeSettings, eZOeGlobalSettings = {ldelim}
         mode : "none",

Alternatively download "design/standard/templates/content/datatype/edit/ezxmltext_ezoe.tpl" from svn* in 20-30 minutes, the fix will be there by then.

* http://svn.projects.ez.no/ezoe/stable/5.0/ezoe/

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

Luis Micunco

Wednesday 15 July 2009 2:09:43 am

Thanks a lot André R. it works fine now.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu