Template Variable...

Author Message

Dariusz Rubinkiewicz

Wednesday 02 April 2003 5:58:23 am

Where is a list with all template variable ??
I install ez3.0, try make own pagelayout and cannot find
any informtion about defined template variable...
I try search on SDK and manual but it`s not very easy...

I install ez becouse don`t have time to write own CMS so index with all template function and variables will be helpfull.

P.s Sorry for my English :)
Best Regards
Voder

Tijs van Bakel

Wednesday 02 April 2003 6:19:21 am

You may try the Operator List of ezTemplate at
http://ez.no/sdk/eztemplate/view/operator_list/

Dariusz Rubinkiewicz

Thursday 03 April 2003 12:27:00 am

I know this page but where can I find a more explanation i.e operator fetch ??
Where can I find list of variable i.e. $module_result.content,
$node.object.data_map. I read manual, I read tutorials in SDK, found some examples but that`s all ??
I don`t think, so ?

I try find information about i.e. enable_glossary=true(), but I can`t find.

Look this documentation for Smarty template engine:
http://smarty.php.net/manual/en/index.php

It`s very clear, and template designer didn`t must look to the template engine php code for seek a variables, function, classes and object which they probablly will use in own template desing.

sorry for my english...

Karsten Jennissen

Thursday 03 April 2003 12:59:50 am

Hi,

the problem is, there currently is no comprehensive documentation. Up to now, ez systems has devoted the time completely to getting the software done. Documentation, as with most open source projects, comes second. However it is up to us to build such a documentation.

Take a look at
http://ezwiki.blanko.info/index.php/eZp%203.x%20-%20Terminology%20-%20Basics
and
http://ezwiki.blanko.info/index.php/eZp%203.x%20-%20How-Tos
under "Template and Design"

you find a bit of additional info. The Wiki is being ported over here to the user contributed docs. The best way to learn the template language is to browse through the demo site, identify a structure that you like and then go through the template in the files to learn how it is done.

Maybe you can help build the documentation. The smarty docs TOC seems quite a good start. We should take the TOC and build the contents in the user docs here. Sounds good?

Karsten

Dariusz Rubinkiewicz

Thursday 03 April 2003 1:32:04 am

I think, that person which know a template language should write documentation :)) Actually I know some variables ;) from example, tutorials, forums so I`m not good person to do it :( :(

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 30 2025 19:43:47
Script start
Timing: Jan 30 2025 19:43:47
Module start 'layout'
Timing: Jan 30 2025 19:43:47
Module start 'content'
Timing: Jan 30 2025 19:43:47
Module end 'content'
Timing: Jan 30 2025 19:43:47
Script end

Main resources:

Total runtime0.0276 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.0313151.1953
Module start 'layout' 0.00680.0050 739.2266220.6563
Module start 'content' 0.01180.0143 959.88281,001.6641
Module end 'content' 0.02610.0015 1,961.546933.9922
Script end 0.0276  1,995.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00289.9640140.0002
Check MTime0.00114.0055140.0001
Mysql Total
Database connection0.00103.685010.0010
Mysqli_queries0.003813.788930.0013
Looping result0.00000.068210.0000
Template Total0.00103.610.0010
Template load0.00082.739110.0008
Template processing0.00020.872410.0002
Override
Cache load0.00051.854610.0005
General
dbfile0.00155.590580.0002
String conversion0.00000.037140.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