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.
[email protected]
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.
[email protected]
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.