Problems with override of folderdesign

Author Message

K259

Tuesday 23 May 2006 9:09:41 am

I have installed eZ p 3.7.x with News-design. In Design/Templates I see that folder are overrided with design/news/override/templates/full/folder.tpl.

My case: I want to make another view for folder for node 2, but I get problems. I tried to create a new override for full view, folder and node 2, but this just removed the other view for folder.

Can anyone please explain what I can do to keep the default override for folder, and add another view for folder at node 2 through the admininterface?

k259

K259

Tuesday 23 May 2006 10:05:14 am

I created a design to override folderview for node 2, but the system only uses the default override folderview.

I added this:
[full_folder]
Source=node/view/full.tpl
MatchFile=foldernode2.tpl
Subdir=templates
Match[node]=2
Match[class_identifier]=folder

[full_folder]
Source=node/view/full.tpl
MatchFile=full/folder.tpl
Subdir=templates
Match[]
Match[class_identifier]=folder

..and what I want is that node 2 uses foldernode2.tpl for view, and all the other nodes uses folder.tpl for view..

Please help :/ I have tested this for 3 days now, but with no result :(

K259

Tuesday 23 May 2006 10:12:00 am

Solved..so thanks anyway :p

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 19:02:54
Script start
Timing: Jan 18 2025 19:02:54
Module start 'layout'
Timing: Jan 18 2025 19:02:54
Module start 'content'
Timing: Jan 18 2025 19:02:55
Module end 'content'
Timing: Jan 18 2025 19:02:55
Script end

Main resources:

Total runtime0.8668 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 592.0156152.6250
Module start 'layout' 0.00890.0042 744.640639.4453
Module start 'content' 0.01310.8520 784.0859435.2656
Module end 'content' 0.86510.0017 1,219.35168.1563
Script end 0.8668  1,227.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3670160.0002
Check MTime0.00130.1556160.0001
Mysql Total
Database connection0.00200.229610.0020
Mysqli_queries0.814093.9047550.0148
Looping result0.00060.0741530.0000
Template Total0.817994.420.4090
Template load0.00200.231920.0010
Template processing0.815994.126420.4080
Template load and register function0.00020.022610.0002
states
state_id_array0.00240.275010.0024
state_identifier_array0.00210.243320.0011
Override
Cache load0.00150.1780260.0001
Sytem overhead
Fetch class attribute can translate value0.00100.117310.0010
Fetch class attribute name0.00120.135830.0004
XML
Image XML parsing0.00010.015110.0001
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00340.3943100.0003
String conversion0.00000.001040.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs