how could be this ?! class error ?!

Author Message

Selmah Maxim

Monday 05 May 2003 3:49:41 am

hi ..

i have done new small class, and i used ready made template for it, the class id is 30, so i had made line_class_30, and full_class_30, with template debug is showing me that full_class_1 is loaded, not full_class_30 !

what the worng here ?!

thx for helping.

Bård Farstad

Monday 05 May 2003 4:23:14 am

You're most likely viewing a folder ( class 1 ). This will show a list of children, these will by default be loaded with the appropriate line_class_x.tpl.

The full_class_30.tpl should only be loaded when you view the full view of an object of class 30.

Hope this helps,

--bård

Documentation: http://ez.no/doc

Vivienne van Velzen

Monday 05 May 2003 4:35:58 am

Did you place your own template files in /design/yoursite/override/templates/node/view? That's where EZP looks for custom classes.
Greetz,

Vivienne
PS. OOPS: The above is not the solution to your problem (as you probably already found out). The solution Bard gave probably is. Sorry (no delete option on forum :( )

Selmah Maxim

Monday 05 May 2003 4:43:23 am

i see ...

i put in the right path for my design!

bård ...
then what should i do ?

i`ll make new section, and i`ll make new folder class under this section, do think this will work ?

Selmah Maxim

Monday 05 May 2003 4:53:36 am

ekkksss .... Ghrrrrrrrrrr

now it`s a folder, it`s class called main category, and still loading class_1 , but how then the forum section done , it`s loading the right class !?!

Selmah Maxim

Monday 05 May 2003 4:59:12 am

found it ... thx alot :D

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 04:23:24
Script start
Timing: Jan 18 2025 04:23:24
Module start 'layout'
Timing: Jan 18 2025 04:23:24
Module start 'content'
Timing: Jan 18 2025 04:23:24
Module end 'content'
Timing: Jan 18 2025 04:23:24
Script end

Main resources:

Total runtime0.7515 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.7969152.6250
Module start 'layout' 0.00650.0032 742.421939.4609
Module start 'content' 0.00960.7404 781.8828597.6563
Module end 'content' 0.75000.0014 1,379.539112.1563
Script end 0.7515  1,391.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4404160.0002
Check MTime0.00140.1807160.0001
Mysql Total
Database connection0.00150.204710.0015
Mysqli_queries0.692192.0939680.0102
Looping result0.00080.1058660.0000
Template Total0.726996.720.3635
Template load0.00180.244720.0009
Template processing0.725196.480220.3625
Template load and register function0.00030.034110.0003
states
state_id_array0.00050.069410.0005
state_identifier_array0.00070.087920.0003
Override
Cache load0.00160.2182290.0001
Sytem overhead
Fetch class attribute can translate value0.00050.067730.0002
Fetch class attribute name0.00200.272470.0003
XML
Image XML parsing0.00140.188730.0005
class_abstraction
Instantiating content class attribute0.00000.002370.0000
General
dbfile0.00070.0996170.0000
String conversion0.00000.002040.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs