Forums / Setup & design / Show only translated objects

Show only translated objects

Author Message

Mads Ovesen

Thursday 24 February 2005 5:03:32 am

Hi...

I have a multilanguage site, with Danish as the default language, and a list of products (names) which I need to show in a leftmenu. The problem is that only some of the products should be translated. Instead of not showing the product (name) at all in the leftmenu, ezp shows the product in the default language. How do I most easy get around this problem? I'm using version 3.4.

- Mads

/m

Lazaro Ferreira

Thursday 24 February 2005 7:08:20 am

Hi,

I would recommend you to create another admin siteaccess for your second language, then you can publish all of your not Danish translation content from there, you should also publish these content in another sub-tree

That way EZP won't show your second language content on your Danish default page

Lazaro
http://www.mzbusiness.com

Paul Forsyth

Thursday 24 February 2005 7:46:53 am

This feature has been added to 3.5.1 but not 3.4. If you have a read of this mailing list thread you can see the code for yourself.

http://lists.ez.no/pipermail/sdk-public/2005-January/000816.html

This was added to the tree and list fetch functions.

paul

eZ debug

Timing: Jan 18 2025 19:06:46
Script start
Timing: Jan 18 2025 19:06:46
Module start 'content'
Timing: Jan 18 2025 19:06:46
Module end 'content'
Timing: Jan 18 2025 19:06:46
Script end

Main resources:

Total runtime0.0178 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.8281180.8359
Module start 'content' 0.00620.0068 769.664193.6641
Module end 'content' 0.01300.0048 863.328170.7031
Script end 0.0178  934.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.8933120.0002
Check MTime0.00116.0063120.0001
Mysql Total
Database connection0.00074.013510.0007
Mysqli_queries0.002614.440940.0006
Looping result0.00000.073520.0000
Template Total0.004424.810.0044
Template load0.00095.117510.0009
Template processing0.003519.614610.0035
Override
Cache load0.00063.453510.0006
General
dbfile0.002614.3394100.0003
String conversion0.00000.028130.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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