Forums / Setup & design / Template Variable...

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 :( :(

eZ debug

Timing: Jan 18 2025 02:17:51
Script start
Timing: Jan 18 2025 02:17:51
Module start 'content'
Timing: Jan 18 2025 02:17:52
Module end 'content'
Timing: Jan 18 2025 02:17:52
Script end

Main resources:

Total runtime1.0612 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.6094180.8438
Module start 'content' 0.00720.8951 768.4531534.6484
Module end 'content' 0.90230.1588 1,303.1016338.1250
Script end 1.0611  1,641.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.4662210.0002
Check MTime0.00160.1498210.0001
Mysql Total
Database connection0.00070.062710.0007
Mysqli_queries0.984892.80262020.0049
Looping result0.00220.20782000.0000
Template Total1.032197.320.5160
Template load0.00230.216620.0011
Template processing1.029897.038120.5149
Template load and register function0.00020.019710.0002
states
state_id_array0.00120.111410.0012
state_identifier_array0.00110.105020.0006
Override
Cache load0.00200.1905370.0001
Sytem overhead
Fetch class attribute can translate value0.00180.167040.0004
Fetch class attribute name0.00110.100050.0002
XML
Image XML parsing0.00080.071840.0002
class_abstraction
Instantiating content class attribute0.00000.003150.0000
General
dbfile0.00450.4213210.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs