[Typo3] Insert date into the sitemap

Jani jani at zapstudio.net
Tue Mar 15 17:04:45 CET 2005


I'm trying to insert the date of the last update into the sitemap .. does 
anybody have an idea?
I searched the list over and over ... but I didn't find any usefull info.

This is the code that I have now:

CONSTANTS:

styles.sitemap.text >
styles.sitemap.text {
    # cat=content/cMenu/sitemap; type=wrap; label=Sitemap, Item Wrap: This 
wrap is placed around the every item in the sitemap.
  itemWrap = |
    # cat=content/cMenu/sitemap; type=wrap; label=Sitemap, Total Wrap: This 
wrap is placed around the whole sitemap.
  totalWrap = |
    # cat=content/cMenu/sitemap; type=small; label=Sitemap, Target: The 
target of the links in the sitemap.
  target = _top
  headerWrap = <div class="sitemapheadernew"> | </div>
  level1Wrap = <div class="sitemapLevel1new"> | </div>
  level2Wrap = <div class="sitemapLevel2new"> | </div>
  level3Wrap = <div class="sitemapLevel3new"> | </div>
}

SETUP:

styles.sitemap.text >

styles.sitemap.text = HMENU
styles.sitemap.text.special = directory
styles.sitemap.text.special.value = 781
styles.sitemap.text.stdWrap.wrap = {$styles.sitemap.text.totalWrap}
styles.sitemap.text {
 1 = TMENU
  1.NO.allWrap = |
  1.NO.linkWrap = {$styles.sitemap.text.headerWrap}
  1.NO.ATagBeforeWrap = 1
  1.target = {$styles.sitemap.text.target}
  1.expAll = 1

 2 = TMENU
  2.NO.allWrap = |
  2.NO.linkWrap =  {$styles.sitemap.text.level1Wrap}
  2.target = {$styles.sitemap.text.target}
  2.expAll = 1

}


Any help would be greatly appreciated...

Jani
www.zapstudio.net





More information about the TYPO3-english mailing list