Sitemapms pages and subpages

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pepperoni
New Member
New Member
Posts: 3
Joined: Sat Jun 27, 2009 6:00 pm

Sitemapms pages and subpages

Post by pepperoni »

Hi there...
I was looking in the forums but didn't find the solution, if there is any.

I have installed sitemapmadesimple and it works fine.
I have pages in my cms that are not shown in menu.
Can these pages be shown in the sitemap.xml vreated by sitemapms?

I use the default template which is:

Code: Select all

{* sitemap template *}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
	http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">

{foreach from=$output item='page'}
<url>
  <loc>{$page->url}</loc>
  <lastmod>{$page->date|date_format:"%Y-%m-%d"}</lastmod>
  <priority>{$page->priority}</priority>
  <changefreq>{$page->frequency}</changefreq>
</url>
{/foreach}

</urlset>
is there any way to change something in the template so as the subpages are included too?

thank you
Post Reply

Return to “Modules/Add-Ons”