[TYPO3-ttnews] 2 Questions: Empty Lines & Default plugin configuration

Georg Ringer typo3 at ringerge.org
Mon Jan 2 07:57:34 CET 2012


Hi Žiga,

1st of all: Happy New Year and thanks for using my extension.

Am 29.12.2011 14:37, schrieb Žiga Dolhar:
> 1. I set up the list display plugin and 1 news item. In the frontend
> output, I get lots of empty lines (<p class="bodytext">&nbsp;</p>). See
> example output at the end of this mail. Is it a bug or "did I do
> something wrong"?

using format.raw doesn't really solve your problem because it will 
create many others. Links with <LINK 123>fo</LINK> won't be changed to 
real links, email addresses aren'T encrypted anymore and so on. the 
output looks like RTE is not configured the best way.

> 2. Georg, I really miss option to pre-define almost all aspects
> (settings) of news plugin generally, site-wide in the root template
> (think plugin.tt_news root and child [displayList, displaySingle ...]
> properties in tt_news).

I read your answer but didn't really have a clue what you mean. All 
settings which can be set in flexforms, can be set in TS *but* you need 
to know *one* thing: Extbase does some magic for you and overrules 
*every* TS setting from the one of flexform even when the flexform value 
is empty.

Therefore you need to use the TS setting 
settings.overrideFlexformSettingsIfEmpty which holds all fields which 
should not be overridden by empty flexform values.

furthermore you can set *any* TS setting inside settings. and get it 
back in fluid with {settings.xyz} (if you set settings.xyz = ... in TS)

Georg


More information about the TYPO3-project-tt-news mailing list