[Multilangue] N siteAccess

Author Message

Sébastien Morel

Tuesday 07 November 2006 2:15:31 am

Hello,

I'm creating an eZpublish website with N language of Content.

I have to create one siteaccess per language ( It's Ok ? I have to create X siteAccess ???)

My Problem is : when I create an override, it will create in ONE siteaccess and not in all siteAccess related of all language...

How do create an override for several siteaccess in ONE time ? Is it possible ?

I have the idea to create a Symbolic Link between the override.ini file, is it a good solution ?

The other solution it's copy/paste the override.ini after creating each override, but isn't fun ;)

Thanks

Sébastien

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

Claudia Kosny

Tuesday 07 November 2006 11:26:42 am

Hi Sebastien

Unless you hack some files you have to use one siteaccess per language as the site.ini is the only way to tell ez which language to use and the site.ini allows only for one (main) language.

If you put the override settings in the general override directory they will be valid for <b>all</b> siteaccesses, including the admin siteaccess which is usually not desired. Therefore you really need a override.ini for each user siteaccess.

Using symlinks certainly sounds good, I haven't tried it yet. If that does not work I would write a small extension that copies the override.ini of the current siteaccess to all other siteaccesses. Then you just have to call up this script after you have made some changes to the ini file.

Greetings from Luxembourg

Claudia

Vicente Olivan

Wednesday 08 November 2006 1:51:17 am

Each language is necessary to create different siteaccesses and to establish the number, priority… to see:

http://ez.no/products/ez_publish/documentation/ez_publish_basics/content_management_in_ez_publish/support_for_multiple_languages

http://ez.no/products/ez_publish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site

http://ez.no/products/ez_publish/documentation/configuration/configuration/language_and_charset/multilanguage_site

Sébastien Morel

Wednesday 08 November 2006 7:25:47 am

Ok,

Thanks for your anwsers ;)

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

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 03:36:45
Script start
Timing: Jan 19 2025 03:36:45
Module start 'layout'
Timing: Jan 19 2025 03:36:45
Module start 'content'
Timing: Jan 19 2025 03:36:46
Module end 'content'
Timing: Jan 19 2025 03:36:46
Script end

Main resources:

Total runtime0.8360 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1563152.6250
Module start 'layout' 0.00610.0028 741.781339.4453
Module start 'content' 0.00890.8256 781.2266587.1328
Module end 'content' 0.83450.0014 1,368.359412.1641
Script end 0.8359  1,380.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4308160.0002
Check MTime0.00150.1793160.0001
Mysql Total
Database connection0.00080.099810.0008
Mysqli_queries0.773192.4837620.0125
Looping result0.00060.0768600.0000
Template Total0.803896.220.4019
Template load0.00220.262620.0011
Template processing0.801695.887220.4008
Template load and register function0.00010.014910.0001
states
state_id_array0.00090.104310.0009
state_identifier_array0.00160.194020.0008
Override
Cache load0.00180.2118300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.094930.0003
Fetch class attribute name0.00130.153960.0002
XML
Image XML parsing0.00430.516330.0014
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.00470.5595220.0002
String conversion0.00000.001140.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs