Site Map Problem

Author Message

declan reynolds

Sunday 28 January 2007 9:15:47 pm

I have a section in my website with 23 Sub Pages.

The site map only shows ten of these sub pages.

Is there a way that I can get it to show all Sub-Pages?

Many thanks.

Marius Eliassen

Tuesday 30 January 2007 4:41:09 am

Look in your node/view/sitemap.tpl template file, if ur on a plain installation this is normally under design/standard/templates/node/view/sitemap.tpl.

The first lines here you can see

{let page_limit=10
     col_count=2
     children=fetch('content','list',hash(parent_node_id,$node.node_id,limit,$page_limit,offset,$view_parameters.offset))
     child_count=fetch('content','list_count',hash(parent_node_id,$node.node_id))}

Change page_limit to the number you want.

You might need to clear all cache after you change this.

Also its recommended that you create an override for this sitemap file and place it in your own extension, if you dont know how, read up on it in the forums or the docs.

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 31 2025 06:12:22
Script start
Timing: Jan 31 2025 06:12:22
Module start 'layout'
Timing: Jan 31 2025 06:12:22
Module start 'content'
Timing: Jan 31 2025 06:12:22
Module end 'content'
Timing: Jan 31 2025 06:12:22
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0078151.1953
Module start 'layout' 0.00580.0025 739.203136.6094
Module start 'content' 0.00830.0062 775.812590.0078
Module end 'content' 0.01450.0012 865.820329.9922
Script end 0.0157  895.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.6683140.0002
Check MTime0.00116.8202140.0001
Mysql Total
Database connection0.00074.179810.0007
Mysqli_queries0.002918.420630.0010
Looping result0.00000.075610.0000
Template Total0.00106.110.0010
Template load0.00084.807410.0008
Template processing0.00021.268810.0002
Override
Cache load0.00053.431310.0005
General
dbfile0.001610.383180.0002
String conversion0.00000.049940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs