Menu


How to add additional database fields into a Typoscript menu


Let's say you want to insert an additional database field into your menu. You could use the page subtitle field from Typo3 for a detailed description of the page and you want this to appear in the menu.

Its simple. Alter the NO part of the menu and modify the wrap in the following manner


allStdWrap.insertData = 1
wrap=<li>|<div class="container"><p>{field:subtitle}</p></div></li>



Now besides the regular li tags you will have a div with the subtitle field of the page displayed






Google Search

 
wiki.lacisoft.com
WWW
2009-2011 (c) Lacisoft.com