IndexPage set, no change

Author Message

Olaf Fichtner

Tuesday 18 May 2010 11:18:38 am

During my quest to understand ez Publish, the docs revealed another very nice feature, the IndexPage setting in site.ini. So I followed the docs and set it to the node ID of an article, but there is absolutely no change. I can view the article just fine using .../view/full/ID, but the browser still shows me the demo block as index page. (all caches were flushed, more than once)

This is on ez Publish 4.3 with ezflow, but without demo content.

Bertrand Dunogier

Tuesday 18 May 2010 12:45:52 pm

Are you 100% sure the setting has been declared correctly ? With all the overrides it's easy to misplace it... check with setup / INI settings for your siteaccess, this will show you the final value.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Olaf Fichtner

Tuesday 18 May 2010 1:33:23 pm

The corresponding line says

<table class="list" border="0" width="100%"><tbody><tr><td width="50%">IndexPage</td><td width="1">siteaccess</td><td width="50%">"/content/view/full/75"</td></tr></tbody></table>

At least it looks like the docs said - or is something wrong with it? I also set DefaultPage to the same node after IndexPage did not yield any change, but still the same...

Olaf Fichtner

Tuesday 18 May 2010 1:35:35 pm

Sorry for that, I had hoped this would be a way to display INI settings... Here is the line again, without fancy formatting:

IndexPage siteaccess "/content/view/full/75"

Olaf Fichtner

Thursday 20 May 2010 7:23:13 am

Got it. I compared to a second installation _with_ demo content and found that there was a trailing slash that was omitted in the docs (EZP 4.0 tech manual p1698). Without that slash, nothing happens. Naughty doc bug...

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