Write to INI...

Author Message

Nebojsa Eric

Thursday 25 May 2006 3:39:28 am

How to write something to INI file from a template. I know how to read from INI and I need similar write operation. Does anyone know that?

Tnx.

Ɓukasz Serwatka

Thursday 25 May 2006 5:29:20 am

This is not possible, there is no template oprtator for this. You can write your own template operator. Look at this tutorial: http://ez.no/products/ez_publish/documentation/development/extensions/template_operator

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 20 2025 05:52:35
Script start
Timing: Jan 20 2025 05:52:35
Module start 'layout'
Timing: Jan 20 2025 05:52:35
Module start 'content'
Timing: Jan 20 2025 05:52:35
Module end 'content'
Timing: Jan 20 2025 05:52:35
Script end

Main resources:

Total runtime0.0135 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.0044 589.0234152.6094
Module start 'layout' 0.00440.0027 741.632839.3984
Module start 'content' 0.00710.0047 781.031389.1641
Module end 'content' 0.01190.0016 870.195330.3047
Script end 0.0135  900.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.4383140.0002
Check MTime0.00118.0125140.0001
Mysql Total
Database connection0.00064.218910.0006
Mysqli_queries0.002115.492130.0007
Looping result0.00000.118210.0000
Template Total0.00139.610.0013
Template load0.00075.113510.0007
Template processing0.00064.485310.0006
Override
Cache load0.00043.285510.0004
General
dbfile0.00021.526380.0000
String conversion0.00000.044140.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