[TYPO3] Sitemap question

Simon Browning simon at stwdesign.com
Sat Apr 22 23:30:14 CEST 2006


Not sure if its maybe with version 4 (previously we were using 
ks_sitemap), but I've found I don't need to define the layout like this.

This ->http://www.ccey.org/172.html is the "out of the box" sitemap. 
All we did was add the component to the page and specify the start page.

Simon

Heiner Lamprecht wrote:
> On Saturday 22 April 2006 19:54, Derek Harkness wrote:
> 
>>Okay this is a really dumb question but how do I generate a
>>sitemap for my site?
>>
>>I tried adding a sitemap element to a new page and setting the
>>Start Page to the root of my tree and I get an empty sitemap.  Am
>>I missing something?
> 
> 
> You have to define the layout of the sitemap.  It's similar to what 
> you do for menus.
> 
> Example:
> 
> lib.sitemap = COA
> lib.sitemap {
>   stdWrap.prefixComment = 2 | lib.sitemap
>   wrap = <div class="sitemap">|</div>
>   10 = HMENU
>   10.special = directory
>   10.special.value.field = pages
>   10.1 = TMENU
>   10.1 {
>     wrap = <ul class="level_1">|</ul>
>     noBlur = 1
>     expAll = 1
>     NO {
>       wrapItemAndSub = <li>|</li>
>       ATagTitle.field = description // title
>     }
>   }
>   10.2 < .10.1
>   10.2.wrap = <ul class="level_2">|</ul>
> 
>   10.3 < .10.1
>   10.3.wrap = <ul class="level_3">|</ul>
> }
> 



More information about the TYPO3-english mailing list