[TYPO3-content-rendering] tt_content.menu.20 in TPYO3 4.0beta3

Torsten Schrade schrade at lineara.de
Sun Mar 5 18:14:35 CET 2006


> Will you file a bug report?
> 
> Joey
> 

Allright, done (No 2767).

I've uploaded a snippet implementing your suggestions/corrections. Here 
it is for proofreading:

tt_content.menu.20 {
	# "Menu of these pages"
	default.wrap = <ul class="csc-menu csc-menu-def">|</ul>
	default.1.NO.allWrap >
	default.1.NO.wrapItemAndSub = <li>|</li>
	default.1.NO.ATagTitle.field = description // title

	# "Menu of subpages to these pages"
	1.wrap = <ul class="csc-menu csc-menu-1">|</ul>
	1.1.NO.allWrap >
	1.1.NO.wrapItemAndSub = <li>|</li>
	
	# "Sitemap - liststyle"
	2 >
	2 = HMENU
	2 {
		wrap = <div class="csc-sitemap">|</div>
		1 = TMENU
		1 {
			noBlur=1
			expAll=1
			wrap = <ul>|</ul>
			NO {
				stdWrap.htmlSpecialChars = 1
				wrapItemAndSub = <li>|</li>
				ATagTitle.field = description // title
			}
		}
		2<.1
		3<.1
		4<.1
		5<.1
		6<.1
		7<.1
	}

	# "Section index (pagecontent w/Index checked - liststyle)"
	3.wrap = <ul class="csc-menu csc-menu-3">|</ul>
	3.renderObj.noBlur = 1
	3.renderObj.wrap = <li class="csc-section">|</li>

	# "Menu of subpages to these pages (with abstract)"
	4.wrap = <dl class="csc-menu csc-menu-4">|</dl>
	4.1.NO {
		allWrap = <dt>|</dd>
		after.wrap = </dt><dd>|
		ATagTitle.field = description // title
	}

	# "Recently updated pages"
	5.wrap = <ul class="csc-menu csc-menu-5">|</ul>
	5.1.NO.allWrap >
	5.1.NO.wrapItemAndSub = <li>|</li>

	# "Related pages (based on keywords)"
	6.wrap = <ul class="csc-menu csc-menu-6">|</ul>
	6.1.NO.allWrap >
	6.1.NO.wrapItemAndSub = <li>|</li>

	# "Menu of subpages to these pages + sections - liststyle"
	7.wrap = <ul class="csc-menu csc-menu-7">|</ul>
	7.1.NO.allWrap >
	7.1.NO.wrapItemAndSub = <li>|</li>
	7.2.wrap = <ul class="csc-section">|</ul>		
	7.2.NO.allWrap >
	7.2.NO.wrapItemAndSub = <li>|</li>
	7.2.NO.ATagTitle.field = description // title
}

In 7.2 I've changed the <li class="csc-section"> to be a <ul 
class="csc-section"> and the sectionheaders just as <li>s to this <ul>.

Please have a look everybody if there are still some things to fix and 
if so please add it to the bug report.

Greets,
Torsten



More information about the TYPO3-project-content-rendering mailing list