Own functions in template

Author Message

Maxime Thomas

Tuesday 19 September 2006 2:35:32 am

Hi,

I was wondering if it is possible to make his own template function as <i>node_view_gui.</i>.

Max

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Norman Leutner

Tuesday 19 September 2006 2:40:03 am

Yes it is possible,
take a look at the contributions, there a some nice examples how to create a template operator.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

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 31 2025 04:18:12
Script start
Timing: Jan 31 2025 04:18:12
Module start 'layout'
Timing: Jan 31 2025 04:18:12
Module start 'content'
Timing: Jan 31 2025 04:18:12
Module end 'content'
Timing: Jan 31 2025 04:18:12
Script end

Main resources:

Total runtime0.0163 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.0051 588.1328151.2109
Module start 'layout' 0.00510.0032 739.343836.6484
Module start 'content' 0.00830.0066 775.992290.1406
Module end 'content' 0.01480.0014 866.132829.9922
Script end 0.0163  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.9775140.0002
Check MTime0.00106.3282140.0001
Mysql Total
Database connection0.00095.450110.0009
Mysqli_queries0.002515.258530.0008
Looping result0.00000.165410.0000
Template Total0.00095.810.0009
Template load0.00084.733010.0008
Template processing0.00021.037610.0002
Override
Cache load0.00053.357310.0005
General
dbfile0.002012.062280.0002
String conversion0.00000.055640.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