ezoe : How to call button config ?

Author Message

H-Works Agency

Thursday 28 April 2011 9:07:10 am

Hello everyone,

We can see in ezoe.ini that we can configure customs buttons layout in the ezoe tinymce.

The problem is that its never mentionned how/where to call the configuration name ?

There an example called "mini" like this : But where do we call the "mini" key ?

[EditorLayout_mini]
Buttons[]
Buttons[]=bold
Buttons[]=italic
Buttons[]=underline
Buttons[]=|
Buttons[]=undo
Buttons[]=redo
PathLocation=none
Thanx

EZP is Great

H-Works Agency

Thursday 28 April 2011 9:42:11 am

Good, after searching the ezpublish documentation (which mean searching source code :) i found this undocumented feature :

To use a custom buttons configuration you have to :

1/ Create ezxml.ini.append.php in your siteaccess holding the config's name :

[TagSettings]
TagPresets[config_identifier]=Config Name

2/ Create a ezoe.ini.append.php holding your config buttons (check forum topic)

3/ Go to admin siteaccess and edit the class where the ezxml attribute's toolbar should be custom. You should then see the config name detailed in 1/

4/ Add a new object of this class and your custom toolbar should be displayed.

EZP is Great

zhong tian

Tuesday 17 May 2011 1:42:52 am

Good job! Agency

I'm doing find this. Great!

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

Main resources:

Total runtime0.7669 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.0056 589.3438152.6250
Module start 'layout' 0.00560.0024 741.968839.4688
Module start 'content' 0.00810.7573 781.4375537.3516
Module end 'content' 0.76530.0015 1,318.789112.1563
Script end 0.7668  1,330.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3886160.0002
Check MTime0.00130.1633160.0001
Mysql Total
Database connection0.00090.114110.0009
Mysqli_queries0.715393.2812570.0125
Looping result0.00060.0730550.0000
Template Total0.742696.820.3713
Template load0.00170.227820.0009
Template processing0.740896.607320.3704
Template load and register function0.00010.018910.0001
states
state_id_array0.00060.077910.0006
state_identifier_array0.00060.073920.0003
Override
Cache load0.00150.1942230.0001
Sytem overhead
Fetch class attribute can translate value0.00040.058320.0002
Fetch class attribute name0.00150.196950.0003
XML
Image XML parsing0.00100.136820.0005
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00100.1336230.0000
String conversion0.00000.000840.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
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs