Subscribe to Acqal

Got Thoughts? Write Us!

Contact
Request
Validate

Approved TYPO3 Agency

Acqal is an approved TYPO3 agency focusing on support, training and website migration.

This means that we...

  • are available on TYPO3.org
  • make substantial contributions to TYPO3 teams
  • are registered as business members of the TYPO3 Association
  • have completed more than four TYPO3 projects
  • have proven our technical abilities with quality TYPO3 extensions
  • use TYPO3 for our own website

Acqal is a TYPO3 Association Business Member

Popular Blog Posts

Blog Topics

Virgil on Twitter

Please wait while virgilhuston tweets load Twitter is loading

Recent Blog Posts

Blog Archives

Set a Sitemap Starting Point From Within a Website

Sitemap within website

Sitemap within website

Sitemap within website TypoScript template

Sitemap within website TypoScript template

Sitemap content element

Sitemap content element
Tuesday, August 11, 2009 12:00 AM EDT

By: Michael Cannon

voting in progress Submitting your vote...
Rating: 3.0 of 5. 1 vote(s).
Click the rating bar to rate this item.

Here's how to get a multiple level in website sitemap without much effort.

Sometimes, you want more that just a single level of pages when using the Sitemap content element. In the past, you'd create a bunch of Sitemap content elements using a subpage menu type or even manually create your sitemap in HTML.

No more...

The easy solution is to add a TypoScript template with the following TypoScript into it's Setup section. Then in your Sitemap content element, use Menu type Sitemap, and set a Starting point.

tt_content.menu.20.2.special = directory

See the accompanying pictures for more details.

Warning

If you put the above TypoScript in your root template, your normal full-site sitemaps will stop working. You can put the following TypoScript into a Template Setup section on your full-site sitemap pages to get them working again.

tt_content.menu.20.2.special >

Keywords:

  • typo3script, sitemap, tip, menu

Please Share This Post

Tweet thisRedditBookmark on deliciousStumble thisShare on Facebook

Send this article via email to your friends and peers.

Leave a Comment

Add comment

* - required field







Notify me when a new comment is added.