Forums / Developer / [Multilangue] N siteAccess

[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)

eZ debug

Timing: Jan 19 2025 00:14:33
Script start
Timing: Jan 19 2025 00:14:33
Module start 'content'
Timing: Jan 19 2025 00:14:34
Module end 'content'
Timing: Jan 19 2025 00:14:34
Script end

Main resources:

Total runtime0.8995 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.7109180.8359
Module start 'content' 0.00760.7226 768.5469592.2109
Module end 'content' 0.73020.1692 1,360.7578337.3750
Script end 0.8994  1,698.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4494210.0002
Check MTime0.00150.1705210.0001
Mysql Total
Database connection0.00100.110610.0010
Mysqli_queries0.786487.42581990.0040
Looping result0.00230.25781970.0000
Template Total0.868196.520.4340
Template load0.00220.242620.0011
Template processing0.865996.263520.4329
Template load and register function0.00020.023210.0002
states
state_id_array0.00100.110310.0010
state_identifier_array0.00130.148920.0007
Override
Cache load0.00190.2064300.0001
Sytem overhead
Fetch class attribute can translate value0.00130.144940.0003
Fetch class attribute name0.00120.135160.0002
XML
Image XML parsing0.00770.852940.0019
class_abstraction
Instantiating content class attribute0.00000.001970.0000
General
dbfile0.02863.1742330.0009
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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