Fetching only certain language objects

Author Message

mikle mikle

Monday 02 February 2004 2:20:32 am

I have a multilangual site with forums on it. Now i've found that if somebody submits a message in a forum - it may be read from other language parts also, waht is of course i don't want. I think i've seen some place that fetch function allows to fetch only objects with current translation (or maybe and even better - an ini setting - to prevent showng untranslated objects - this would be helpfull also).

I'll be glad to see any help or link, thanks.

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 31 2025 01:14:03
Script start
Timing: Jan 31 2025 01:14:03
Module start 'layout'
Timing: Jan 31 2025 01:14:03
Module start 'content'
Timing: Jan 31 2025 01:14:04
Module end 'content'
Timing: Jan 31 2025 01:14:04
Script end

Main resources:

Total runtime0.5200 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1484151.2109
Module start 'layout' 0.00560.0044 739.3594220.6875
Module start 'content' 0.01000.5092 960.04694,137.1328
Module end 'content' 0.51920.0007 5,097.17977.8438
Script end 0.5200  5,105.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.6816160.0002
Check MTime0.00130.2451160.0001
Mysql Total
Database connection0.00090.178910.0009
Mysqli_queries0.449586.4446460.0098
Looping result0.00040.0764440.0000
Template Total0.471890.720.2359
Template load0.00170.331220.0009
Template processing0.470190.401420.2350
Template load and register function0.00150.288510.0015
states
state_id_array0.00070.133110.0007
state_identifier_array0.00060.120820.0003
Override
Cache load0.00140.262150.0003
Sytem overhead
Fetch class attribute can translate value0.00190.363910.0019
Fetch class attribute name0.00160.303310.0016
XML
Image XML parsing0.00010.021510.0001
class_abstraction
Instantiating content class attribute0.00000.001210.0000
General
dbfile0.00260.4912100.0003
String conversion0.00000.002340.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs