Url alias error ezp 4

Author Message

Andreas Kaiser

Thursday 07 February 2008 7:47:38 am

Hi,

I'm building a multilanguage site with ez publish 4l (esl-ES & eng-GB) using host (2 subdomains, http://es.cellerix.atela.biz / http://en.cellerix.atela.biz ) - non translated objects aren't displayed.

The problem is following:

Some nodes display correctly in spanish site, but in english site I get a module not found error. (http://en.cellerix.atela.biz/index.php/About-us - and follow the links) Every time I create a node in english under this folder I get the same behavior.

The error is related with the url_alias (the link in the url is a mix between spanish / english node names)

When I add a extra language at site.ini.append.php:

[RegionalSettings]
SiteLanguageList[]
SiteLanguageList[]=esl-ES
SiteLanguageList[]=eng-GB

the error doesn't appears.

I'm really lost...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Veikko Perttula

Sunday 09 March 2008 4:41:17 am

I'm having a bit similar problem with a multilanguage site. This must be trivial, but as a newcomer I have spent hours to find out. To put it simply: How do you make this:

http://ez.no/fr/customers
menu: ez.no/fr / clients

http://ez.no/de/customers
menu: ez.no/de / kunden

If I change the name of the content, the url changes respectively, and I get the same error "Module not found" if I try to switch between languages.

Andreas Kaiser

Monday 10 March 2008 3:09:00 am

If I'm not wrong you mean that you want to use the same name for the URL alias: "customers" and use a different name in the menu: "clients" / "kunden"

Never tried it, but a option is to edit the classes and add a specific attribute for the URL alias (non-translable) and configure the "URL alias name pattern" attribute with this new attribute.

The menu template will create the menu with the content object names: "clients" & "kunden", but the URL alias will be generated with "URL alias name pattern".

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

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 15:02:11
Script start
Timing: Jan 18 2025 15:02:11
Module start 'layout'
Timing: Jan 18 2025 15:02:11
Module start 'content'
Timing: Jan 18 2025 15:02:12
Module end 'content'
Timing: Jan 18 2025 15:02:12
Script end

Main resources:

Total runtime1.1319 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 587.9063152.6250
Module start 'layout' 0.00450.0022 740.531339.4453
Module start 'content' 0.00671.1241 779.9766536.0391
Module end 'content' 1.13080.0011 1,316.015612.1719
Script end 1.1319  1,328.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2867160.0002
Check MTime0.00140.1235160.0001
Mysql Total
Database connection0.00050.043810.0005
Mysqli_queries1.086696.0010570.0191
Looping result0.00040.0332550.0000
Template Total1.106897.820.5534
Template load0.00240.208020.0012
Template processing1.104597.575720.5522
Template load and register function0.00010.007910.0001
states
state_id_array0.00070.058210.0007
state_identifier_array0.00060.057220.0003
Override
Cache load0.00200.1783250.0001
Sytem overhead
Fetch class attribute can translate value0.00040.034820.0002
Fetch class attribute name0.00110.092840.0003
XML
Image XML parsing0.00050.042720.0002
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00120.1084160.0001
String conversion0.00000.000640.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/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: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs