Forums / Setup & design / IndexPage set, no change

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...

eZ debug

Timing: Jan 18 2025 05:07:47
Script start
Timing: Jan 18 2025 05:07:47
Module start 'content'
Timing: Jan 18 2025 05:07:48
Module end 'content'
Timing: Jan 18 2025 05:07:48
Script end

Main resources:

Total runtime1.1120 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 588.8359180.8438
Module start 'content' 0.00790.9327 769.6797565.1797
Module end 'content' 0.94060.1713 1,334.8594337.3750
Script end 1.1119  1,672.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3572210.0002
Check MTime0.00150.1362210.0001
Mysql Total
Database connection0.00080.067610.0008
Mysqli_queries1.022991.98072000.0051
Looping result0.00240.21311980.0000
Template Total1.077196.920.5386
Template load0.00200.177220.0010
Template processing1.075296.683620.5376
Template load and register function0.00020.018010.0002
states
state_id_array0.00190.171810.0019
state_identifier_array0.00180.157820.0009
Override
Cache load0.00170.1490210.0001
Sytem overhead
Fetch class attribute can translate value0.00180.161630.0006
Fetch class attribute name0.00120.107760.0002
XML
Image XML parsing0.00100.092230.0003
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00420.3803270.0002
String conversion0.00000.000930.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/td.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/td.tplEdit templateOverride template
1content/datatype/view/ezxmltags/tr.tpl<No override>extension/community/design/community/templates/content/datatype/view/ezxmltags/tr.tplEdit templateOverride template
1content/datatype/view/ezxmltags/table.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/table.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 9

Time used to render debug report: 0.0002 secs