set siteaccess manually

Author Message

Dhaval Patel

Friday 18 April 2008 4:26:09 am

hello,

i am making site in french and english language.

now i want "when site is opened from france then the language must be french and for other countries it should be english."

i have all the ips and countries. and i have the code when to set "fre" and when to set "eng".

so now the thing is that i want to change the siteaccess manually. so can any one tell me where the siteaccess is being set so i can change there ?

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Siw Helen Thorslund

Saturday 19 April 2008 2:08:33 am

Hi Dhaval,

Have a look here:

http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/configuration/site_management

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Dhaval Patel

Sunday 20 April 2008 11:52:55 pm

Hello,

I have done this.

we can change site access manually from access.php file in function accessType.

$access['name'] = "siteaccessnamelikefre";
$access['type'] = "EZ_ACCESS_TYPE_URI";

Put this code before

return $access;

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

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 11:35:39
Script start
Timing: Jan 18 2025 11:35:39
Module start 'layout'
Timing: Jan 18 2025 11:35:39
Module start 'content'
Timing: Jan 18 2025 11:35:41
Module end 'content'
Timing: Jan 18 2025 11:35:41
Script end

Main resources:

Total runtime1.1240 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.0054 587.9063152.6250
Module start 'layout' 0.00540.0038 740.531339.4453
Module start 'content' 0.00921.1133 779.9766531.2969
Module end 'content' 1.12250.0015 1,311.273412.1719
Script end 1.1240  1,323.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2891160.0002
Check MTime0.00140.1209160.0001
Mysql Total
Database connection0.00050.045710.0005
Mysqli_queries1.074695.6056570.0189
Looping result0.00050.0470550.0000
Template Total1.089796.920.5448
Template load0.00250.218620.0012
Template processing1.087296.723720.5436
Template load and register function0.00060.052110.0006
states
state_id_array0.00100.088710.0010
state_identifier_array0.00100.090520.0005
Override
Cache load0.00200.1783200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.056220.0003
Fetch class attribute name0.00150.132240.0004
XML
Image XML parsing0.00070.060320.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00080.0683160.0000
String conversion0.00000.000840.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/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs