link

Author Message

rasha mordi

Tuesday 07 August 2007 4:14:54 am

how to link template in other view ?

Felix Laate

Wednesday 08 August 2007 2:04:26 am

Hi Rasha,

could you please elaborate. What exactly would you like to do?

If I guess right, you are wondering how to make link to switch from one view to another. You then can make a link using the node id as identifier. Lets say you're view the full view of an object and you want to make a link to the list view of that object. You then simply:

<a href="/content/view/line/{$node.node_id}">Link text</a>

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

rasha mordi

Wednesday 08 August 2007 4:19:49 am

hi felix
first thanks for your care, second yes you understood right & already wrote this code line before but now the template that i want link to it is in other view & it in is assigned to attribute in certain section not assigned to certain node. so now after i cleared my topic is this line that you sent before suitable for my topic???

at end forgive me if my question very simple but i am new developer with this field.

thanks in advance
Rasha

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 21:07:36
Script start
Timing: Jan 18 2025 21:07:36
Module start 'layout'
Timing: Jan 18 2025 21:07:36
Module start 'content'
Timing: Jan 18 2025 21:07:36
Module end 'content'
Timing: Jan 18 2025 21:07:36
Script end

Main resources:

Total runtime0.0124 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.0045 587.6875152.5938
Module start 'layout' 0.00450.0027 740.281339.3750
Module start 'content' 0.00720.0034 779.656389.3984
Module end 'content' 0.01060.0017 869.054730.3047
Script end 0.0124  899.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.0191140.0002
Check MTime0.00107.8127140.0001
Mysql Total
Database connection0.00086.515110.0008
Mysqli_queries0.002419.197230.0008
Looping result0.00000.088410.0000
Template Total0.001511.810.0015
Template load0.00075.886410.0007
Template processing0.00075.909510.0007
Override
Cache load0.00054.000510.0005
General
dbfile0.00021.487980.0000
String conversion0.00000.032740.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