eZOE : customize formatselect / theme_advanced_blockformats

Author Message

Thomas Parisot

Monday 04 April 2011 2:57:45 am

Hello,

I wanted to modify available formats in the « Format » button of eZOE. I've digged in the code and found nowhere to apply a change reguarding this.

I've digged in the ezxmltext_ezoe.tpl and found that it was hardcoded as a TinyMCE parameter, named theme_advanced_blockformats.

Do I need to override the template for 1 change, or is there another way to achieve this?

Thanks

André R.

Monday 04 April 2011 4:22:31 am

You'll have to override it. Reason why there are no settings for it is that eZXML does not support all of the settings TinyMCE supports.

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 02:45:24
Script start
Timing: Jan 18 2025 02:45:24
Module start 'layout'
Timing: Jan 18 2025 02:45:24
Module start 'content'
Timing: Jan 18 2025 02:45:25
Module end 'content'
Timing: Jan 18 2025 02:45:25
Script end

Main resources:

Total runtime0.6036 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.0052 588.1563152.6563
Module start 'layout' 0.00520.0028 740.812539.5156
Module start 'content' 0.00800.5938 780.3281530.6953
Module end 'content' 0.60190.0017 1,311.02348.0938
Script end 0.6036  1,319.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5345160.0002
Check MTime0.00130.2150160.0001
Mysql Total
Database connection0.00060.094810.0006
Mysqli_queries0.558392.4945540.0103
Looping result0.00090.1466520.0000
Template Total0.574295.120.2871
Template load0.00240.397820.0012
Template processing0.571794.717820.2859
Template load and register function0.00020.030010.0002
states
state_id_array0.00090.142210.0009
state_identifier_array0.00140.225220.0007
Override
Cache load0.00200.3273130.0002
Sytem overhead
Fetch class attribute can translate value0.00050.085320.0003
Fetch class attribute name0.00130.216540.0003
XML
Image XML parsing0.00090.151820.0005
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00080.1348230.0000
String conversion0.00000.001740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs