How to change in the tpl the text_color of texttoimage ?

Author Message

Ludovic Gasc

Friday 06 June 2008 7:57:54 am

Hi,

I want to change the colour text generated by texttoimage inside the tpl, because the colour is in a property of a content class.

But, in the documentation: http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/images/texttoimage
it's possible only with the texttoimage.ini file.

I tried some parameters, based on the content of eztemplateimageoperator.php, but it doesn't work.

Do you have an idea to do this ?

Thanks for your response.

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 19 2025 07:12:42
Script start
Timing: Jan 19 2025 07:12:42
Module start 'layout'
Timing: Jan 19 2025 07:12:42
Module start 'content'
Timing: Jan 19 2025 07:12:42
Module end 'content'
Timing: Jan 19 2025 07:12:42
Script end

Main resources:

Total runtime0.0183 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 590.5313152.6563
Module start 'layout' 0.00590.0025 743.187539.4922
Module start 'content' 0.00840.0074 782.679785.3828
Module end 'content' 0.01590.0024 868.062530.3047
Script end 0.0183  898.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002614.2077140.0002
Check MTime0.00116.0267140.0001
Mysql Total
Database connection0.00126.504110.0012
Mysqli_queries0.002312.696130.0008
Looping result0.00000.065010.0000
Template Total0.001910.110.0019
Template load0.00105.369810.0010
Template processing0.00094.724610.0009
Override
Cache load0.00063.328810.0006
General
dbfile0.00126.547180.0001
String conversion0.00000.041640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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