generate sitemap html from website strutcure

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
grimmus
Forum Members
Forum Members
Posts: 28
Joined: Sun Jan 11, 2009 7:17 am

generate sitemap html from website strutcure

Post by grimmus »

Hi,

As well as having a google xml sitemap, i would like to have a html version on a page on the site.

I would like to do this automatically based on the structure of the website, so if i add a new section somewhere, i do not have to go in and update the sitemap manually.

Is it possible to do this ?

Thanks in advance.
JeremyBASS

Re: generate sitemap html from website strutcure

Post by JeremyBASS »

I'd start by doing a search form sitemap ;)
cheers
grimmus
Forum Members
Forum Members
Posts: 28
Joined: Sun Jan 11, 2009 7:17 am

Re: generate sitemap html from website strutcure

Post by grimmus »

Thanks,

didnt realise all it took was the {sitemap} tag !!
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: generate sitemap html from website strutcure

Post by RonnyK »

There is also the newer tag {site_mapper} as the older {sitemap} doesnt follow all logic in hierarchy, like hiding/inactive etc...

Ronny
User avatar
Trenia
Forum Members
Forum Members
Posts: 81
Joined: Thu Dec 11, 2008 12:48 pm
Location: Norway

Re: generate sitemap html from website strutcure

Post by Trenia »

RonnyK wrote: There is also the newer tag {site_mapper} as the older {sitemap} doesnt follow all logic in hierarchy, like hiding/inactive etc...

Ronny
I noticed that using the {site_mapper} tag, leaves a large empty space below the sitemap output, unlike the {sitemap} tag does.

This is no good if you want to prevent the need to scroll down to see the footer. Anyone else noticed this? I would love to use the {site_mapper} tag, so any solutions to this slightly irritating issue would be appreciated.


Oh yeah, almost forgot. As I am already here, is there a hack to make the sitemapmadesimple-mod display content that are not in the the menu? I have a lot of pages that doesn`t show in the sitemap tree. Thanks.
Last edited by Trenia on Tue Feb 10, 2009 12:48 am, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: generate sitemap html from website strutcure

Post by RonnyK »

Under Extensions -> Tags, you see all tags listed.

Clicking the tag 'sitemap', or the link called 'help' on the right of it, shows the help of that tag, including the parameters that are available.

For sitemap, that is f.e.:
(optional) showall 1/0 - We are going to show all pages if showall is enabled, else we'll only show pages with active menu entries.
Ronny
User avatar
Trenia
Forum Members
Forum Members
Posts: 81
Joined: Thu Dec 11, 2008 12:48 pm
Location: Norway

Re: generate sitemap html from website strutcure

Post by Trenia »

Thank you! I should of course have had checked this before I asked. My mistake.

What about the first issue I addressed? (The one about the {site_mapper} tag leaving a large empty space below the page content?) Any solutions to this?
Post Reply

Return to “Developers Discussion”