How to: Calling a template

Author Message

shajeer K P

Wednesday 26 May 2004 2:27:44 am

When user clicks a link (<a>), i want to call a template(ie. .tpl )
file. But i want this to accomplish without attaching this template to any of content class object. Is there any methods?
thanks in advance

John Mina

Wednesday 26 May 2004 3:58:21 am

HI there
sorry wished to help
but i think you have to make a class object fr that tpl, can you pelase let me knwo wh tare ulooking forward to use it at, so may be we can find solution

good luck
JOhn

shajeer K P

Wednesday 26 May 2004 4:16:57 am

hai
I know to call a tpl file by using content class object. I want to know wheteher is it possible without creating a content object class.
(I know {include uri..} method also, but i need to call tpl file when user clicking a link) )

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 18 2025 22:30:41
Script start
Timing: Jan 18 2025 22:30:41
Module start 'layout'
Timing: Jan 18 2025 22:30:41
Module start 'content'
Timing: Jan 18 2025 22:30:42
Module end 'content'
Timing: Jan 18 2025 22:30:42
Script end

Main resources:

Total runtime0.8026 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.9141152.6250
Module start 'layout' 0.00590.0029 740.539139.4453
Module start 'content' 0.00890.7920 779.9844468.1250
Module end 'content' 0.80090.0017 1,248.10948.1641
Script end 0.8026  1,256.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4108160.0002
Check MTime0.00130.1630160.0001
Mysql Total
Database connection0.00100.119510.0010
Mysqli_queries0.756694.2658570.0133
Looping result0.00060.0760550.0000
Template Total0.757794.420.3788
Template load0.00250.307220.0012
Template processing0.755294.091120.3776
Template load and register function0.00080.101410.0008
states
state_id_array0.00520.641710.0052
state_identifier_array0.00140.172820.0007
Override
Cache load0.00200.2531160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.089120.0004
Fetch class attribute name0.00320.392630.0011
XML
Image XML parsing0.00020.028920.0001
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00070.0886100.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0010 secs