I'm going crazy with SiteDesign and SiteAccess

I'm going crazy with SiteDesign and SiteAccess

Monday 08 September 2003 3:31:00 am - 5 replies

Author Message

Bjørn Kaarstein

Monday 08 September 2003 4:50:15 am

You will have to make sure that you don't have the

[SiteSettings]
DefaultPage=/content/view/full/46
IndexPage=/content/view/full/46

in your site,ini.append.php in your override directory, because that file will override your site.ini.append for your siteaccess.

Also if you're running matchorder=host, try this setting in site.ini.append.php.

[SiteAccessSettings]
MatchOrder=host
HostMatchMapItems[]=www.yoursite.com;master

Regards Bjørn

Martin Ulrich

Monday 08 September 2003 4:57:57 am

have you create a new override pagelayout_master.tpl ?
and modify override.ini.append

rs. change the fix parent_node_id in the pagelayout_xxx.tpl ?

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

Adolfo Barragán

Monday 08 September 2003 5:14:03 am

In /settings/override/site.ini.append.php:
IndexPage=/content/view/full/2/
DefaultPage=/content/view/full/2/
DefaultAccess=user
This is Ok, because I want users go to root folder

In /setings/siteaccess/master/site.ini.append
DefaultPage=/content/view/full/46
IndexPage=/content/view/full/46
And this not work, I allways see node 2 (root).

>Also if you're running matchorder=host, try this setting
> in site.ini.append.php.
No I'm using index match type for site access (non virtual host)

> Regards Bjørn
Thanks, Adolfo

Adolfo Barragán

Monday 08 September 2003 5:29:24 am

>in your site,ini.append.php in your override directory,
>because that file will override your site.ini.append for
>your siteaccess.

Yes, that is the the crux of the matter.

I deleted the entries for IndexPage and DefaultAccessPage from /settings/override/site.ini.append.php and I put specific entries for IndexPage and DefaultAccessPage on /settings/siteaccess/<access>/site.ini.append and then it works Ok.

I assumed that override order (or settings apply order) are:
1. /settings/site.ini
2. /settings/override/site.ini.append.php (override '1')
3. /settings/siteaccess/<access>/site.ini.append (override '2')

But the correct order are:
A. /settings/site.ini
B. /settings/siteaccess/<access>/site.ini.append (override 'A')
C. /settings/override/site.ini.append.php (overrido 'B')

That is Ok?

Regards, Adolfo

Bjørn Kaarstein

Monday 08 September 2003 5:51:15 am

This seems right.

>But the correct order are:
>A. /settings/site.ini

This is the settings used if you don't use any overrides at all.

>B. /settings/siteaccess/<access>/site.ini.append (override 'A')

This is the override based on siteaccess, so that you can have different settings for different siteaccesses (i.e. user and editor)

>C. /settings/override/site.ini.append.php (overrido 'B')

This will override both site.ini and site.ini.append within your siteaccesses.

Hope this has been of some help.

Regards Bjørn

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.