[TYPO3-50-general] Beer3 - Array Syntax and View Helpers

Niels Fröhling niels.froehling at adsignum.com
Thu Oct 30 19:15:06 CET 2008


Franz Koch wrote:
> By writing this I noticed that it's really difficult and hard to read if 
> you write every possible configuration option inside one tag.

 It's sort of writing convention, I think the following variant is as readable as anything:

<pager:numeric
	first-last="false"
	previous-next="true"
	limit="10" 
	numbering="record-range"
	itemsperpage="10"
	itemstotal="posts.count()"
/>

 If that is what you meant. If your running obsessious, use this:

<pager:numeric
	first-last    = "false"
	previous-next = "true"
	limit         = "10" 
	numbering     = "record-range"
	itemsperpage  = "10"
	itemstotal    = "posts.count()"
/>

 I mean isn't exactly a technical problem. :)

 Ciao
	Niels





More information about the TYPO3-project-5_0-general mailing list