listing nodes of a new class doesn't work

Author Message

Stefan van Zwoll

Saturday 06 December 2003 12:52:07 pm

hi everyone,

i added a new class to 'content' in my ezp3.2-2, it's got the id of 14. now i want to let all published nodes of that kind to be listed on my frontpage. i use the following code:

{let rezi_list=fetch('content','list',hash(
parent_node_id, 82,
limit, 6,
class_filter_type, include,
class_filter_array, array( 'rezi' ) ) ) }

whereas 'rezi' is the identifier of my new class. i let the results appear with

{section name=Rezension loop=$rezi_list max=6}
{node_view_gui view=line_rezi content_node=$Rezension:item}
{/section}

i do get nothing out of this. i've published an article (class id i think is 2 or similar) in the same node (82) and this is being shown (i changed the class_filter_array to include 'article'). i did register the new class with the 'anonymous user' in my role-list. still nothing shows up.

anyone that can help me out?
regards, stefan

Stefan van Zwoll

Monday 08 December 2003 8:22:32 am

ps: i just checked with the standard template, whether i do get an output accessing the node (82) directly. again nothing but the node with the class=article is shown. all of the nodes of my new class are missing. i must have forgotten something....

Stefan van Zwoll

Monday 08 December 2003 10:37:25 am

well, somehow all works out all of a sudden. i did not change any code at all. i just deleted the new class from and re-registered it with the 'anonymous user' account. suddenly it works...

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 19 2025 00:34:27
Script start
Timing: Jan 19 2025 00:34:27
Module start 'layout'
Timing: Jan 19 2025 00:34:27
Module start 'content'
Timing: Jan 19 2025 00:34:28
Module end 'content'
Timing: Jan 19 2025 00:34:28
Script end

Main resources:

Total runtime1.2511 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.0053 588.0469152.6406
Module start 'layout' 0.00530.0029 740.687539.4766
Module start 'content' 0.00831.2415 780.1641437.5234
Module end 'content' 1.24980.0013 1,217.68758.1250
Script end 1.2511  1,225.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2725160.0002
Check MTime0.00130.1066160.0001
Mysql Total
Database connection0.00100.077610.0010
Mysqli_queries1.208496.5813550.0220
Looping result0.00050.0370530.0000
Template Total1.217897.320.6089
Template load0.00190.151220.0009
Template processing1.215997.180220.6079
Template load and register function0.00020.019310.0002
states
state_id_array0.00130.104010.0013
state_identifier_array0.00160.131020.0008
Override
Cache load0.00160.1249210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.055610.0007
Fetch class attribute name0.00150.121930.0005
XML
Image XML parsing0.00010.009210.0001
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00090.0707100.0001
String conversion0.00000.000840.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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs