Language not activating in emotions plugin for ezoe

Author Message

Erik Weinmaster

Monday 19 April 2010 11:28:56 am

I have ezoe enabled along with the emotions plugin for ezoe. I have setup in the ezoe.ini config Plugins[]=emotions and Buttons[]=emotions to add the feature. The funny thing is the actual functionality works just fine. I can click the button, click an emotion, and it returns the right image. However, the wording doesn't seem to be coming through. Thus in emotions.htm there are several references to {#emotions_dlg.bla_bla_bla}, and thats what I see, not the english (which is the language I'm using) title, or icon emotion description.

thanks,

erik

André R.

Tuesday 20 April 2010 5:07:50 am

ezoe is only tested with the extensions and buttons mentioned in ezoe.ini, to be able to enable that extension you'll have to merge emotions_dlg language strings to ezoeServerFunctions::i18n, which is the function that bridges translations in eZ Publish with the once you have in TinyMCE.

EDIT: But that won't help as this extensions add smily images to the content, and since these are not eZ Publish images, they are ignored by the xml parser and thus removed when you click publish / store.

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

Erik Weinmaster

Tuesday 20 April 2010 7:20:56 am

I don't understand why the emotions are removed when you click publish? The Emotions plugin is included in the 4.3 download (and 4.2 for that matter). I understand its up to individual people to customize the look and function of ezoe, but why is it stripped out in the end? Is this a bug in eZ Publish?

André R.

Monday 26 April 2010 9:43:24 am

No, ezxml does not understand images, only relations, and as long as the image miss a id="eZObject_<object_id>" attribute to a valid eZ object, it will be ignored.

One alternative would be to somehow map them to custom tags that have a "image_url" custom attribute on them, and the custom tag is defined as IsInline[<custom_tag_name>]=image in content.ini

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 14:57:38
Script start
Timing: Jan 18 2025 14:57:38
Module start 'layout'
Timing: Jan 18 2025 14:57:38
Module start 'content'
Timing: Jan 18 2025 14:57:39
Module end 'content'
Timing: Jan 18 2025 14:57:39
Script end

Main resources:

Total runtime0.9812 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.0625152.6406
Module start 'layout' 0.00700.0034 740.703139.4766
Module start 'content' 0.01030.9695 780.1797546.5781
Module end 'content' 0.97990.0014 1,326.757812.1250
Script end 0.9812  1,338.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3637160.0002
Check MTime0.00140.1464160.0001
Mysql Total
Database connection0.00080.085510.0008
Mysqli_queries0.927594.5226600.0155
Looping result0.00050.0523580.0000
Template Total0.948896.720.4744
Template load0.00540.550620.0027
Template processing0.943496.139020.4717
Template load and register function0.00020.017910.0002
states
state_id_array0.00090.095110.0009
state_identifier_array0.00080.086120.0004
Override
Cache load0.00170.1778160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.073120.0004
Fetch class attribute name0.00160.160250.0003
XML
Image XML parsing0.00090.091620.0004
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00110.1100170.0001
String conversion0.00000.000940.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
4content/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
2content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs