Forums / General / Site Map Problem

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.