Customize TYPO3 sitemap

Submitting your vote...
Rating: 3.1 of 5. 8 vote(s).
Click the rating bar to rate this item.

setup:

 

###Customize Sitemap wrap
tt_content.menu.20.2 {
  1.NO.linkWrap=<b>|</b>
  2.NO.linkWrap=<b>|</b>
  3.NO.linkWrap=<b>|</b>
  4.NO.linkWrap=<b>|</b>
}



Comments


expat-uk-tax, 28-01-06 09:37:
You may also need to use the 'allWrap' to get at the parts outside the linkwrap. eg.

tt_content.menu.20.2.1.NO.allWrap = <br /><b>|</b>&nbsp;
tt_content.menu.20.2.2.NO.allWrap = <i>|</i>&nbsp;
tt_content.menu.20.2.3.NO.allWrap = <i>|</i>&nbsp;
tt_content.menu.20.2.4.NO.allWrap = <i>|</i>&nbsp;

ps. TYPO3Wizard.com this comments text box could be bigger to type in. Thanks

Enjoy,
Matthew
--
www.aoline.co.uk
Michael, 19-04-06 13:55:
How do you get at the <font> tag enclosing the sitemap code? I tried about everything, from 'allWrap' to 'wrap' and 'fontTag'. 'wrap' seems to insert code into the right place, but i can't get rid of the <font> tag...
Laura, 21-04-10 13:36:
Does anyone have an idea how I can create a sitemap with images (or the images in the media field to be used)?
Laura, 21-04-10 18:07:
I found the answer
So:

1. Edit the TScongfig of the RootPage adding the following lines (this will add a new menu type in the sitemap content element):
TCEFORM.tt_content.menu_type {
addItems {
99 = Page with abstract and image
}
}

2. Add the following lines at the bottom of the TypoScript Template
tt_content.menu.20 = CASE
tt_content.menu.20.key.field = menu_type
tt_content.menu.20.99 < temp.PageWithImage

3. Finally, create a HMENU as follows

<script src="http://gist.github.com/374016.js?file=gistfile1.txt"></script>
Laura, 21-04-10 18:08:
As follows

temp.PageWithImage = HMENU
temp.PageWithImage {
special = directory
special.value = 4

1 = TMENU
1 {
NO {
allWrap = <div class="some_class">|</div>
beforeImg {
import = uploads/media/
import.field = media
import.listNum = 0
width = 123
}
beforeImgLink = 1
beforeWrap = <div class="image_class">|</div>
linkWrap = <div class="link_class">|</div>
after = TEXT
after {
field = abstract
wrap = <div class="text_class">|</div>
}
}
}
}

Add comment

* - required field

*



*
*

Top 10 Updates

Nice fonts using Google font API geändert am  20-May-2010 16:36:47
TS-based Searchbox for Indexed Search  geändert am  18-May-2010 18:27:15
TYPO3 SEO geändert am  30-Apr-2010 09:44:22
Search engine friendly graphical headers in TYPO3 geändert am  30-Apr-2010 09:33:44
Creating a simple Infocenter using TYPO3 geändert am  17-Nov-2009 12:12:52
Making the Section Menu work correctly with TemplaVoila geändert am  05-May-2009 12:27:17
Show pages with type "Not in Menu" in a sitemap geändert am  05-May-2009 12:11:17
Implementation of the DHTML menu from brainjar.com  geändert am  01-Feb-2009 14:02:48
Sample DHTML menu geändert am  01-Feb-2009 13:51:25
A introduction to the CONTENT object geändert am  26-Jan-2009 13:20:39

Latest comments

20-Aug-2010 16:31:13
pritam schrieb: Hello, Can any body tell me how to add the realurl in the typo3.
Articles
17-Aug-2010 15:25:30
Graham Solomon schrieb: I have developed a nice extension for using this Google Font API with TYPO3, along with their web...
Nice Fonts using Google font API
12-Aug-2010 17:39:44
Ritesh Jaiswal schrieb: I have added the above code into page template but it is not working. It only index the page into...
Index search
Deutsch
Search: