eZ Find search results in other languages [SOLVED]

Author Message

Lo' F.

Wednesday 08 December 2010 1:10:45 pm

Hello!

There seems to be a problem with the returned search results' links when the search is launched from other languages other than the default one:

The Italian (default language) search produces results linked to their related pages..

"

.../index.php/ita/Chi-Siamo/Contatti/(language)/ita-IT

"

while the English search, for instance, produces results in English but linked to nodes with their default language names which ends up with a module not found message

"

.../index.php/eng/Chi-Siamo/Contatti/(language)/eng-GB

"

(instead of .../index.php/eng/About-Us/Contacts/(language)/eng-GB)

Is there a way I can overcome this issue?

loredanaebook.it

Lo' F.

Friday 10 December 2010 6:46:46 am

Finally got it!

The trick was in the ezfind_line.tpl (..of course!) where the search result url was set as global_url_alias.

Simply changed to url_alias.

loredanaebook.it

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 30 2025 21:13:07
Script start
Timing: Jan 30 2025 21:13:07
Module start 'layout'
Timing: Jan 30 2025 21:13:07
Module start 'content'
Timing: Jan 30 2025 21:13:07
Module end 'content'
Timing: Jan 30 2025 21:13:07
Script end

Main resources:

Total runtime0.0249 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2656151.2266
Module start 'layout' 0.00470.0040 739.4922220.7266
Module start 'content' 0.00880.0142 960.2188997.9609
Module end 'content' 0.02290.0019 1,958.179729.9766
Script end 0.0248  1,988.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.5643140.0002
Check MTime0.00104.1082140.0001
Mysql Total
Database connection0.00072.770710.0007
Mysqli_queries0.00239.148330.0008
Looping result0.00000.047910.0000
Template Total0.00145.510.0014
Template load0.00104.110110.0010
Template processing0.00031.331710.0003
Override
Cache load0.00072.879110.0007
General
dbfile0.00228.975780.0003
String conversion0.00000.027840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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