[TYPO3-english] Conditional news display by Typoscript
JoH asenau
info at cybercraft.de
Thu Nov 12 15:52:11 CET 2009
>> Can you post the current TS code please?
>
> This is the TS code I'm using it :
>
> tmp.brknews = COA
> tmp.brknews {
> stdWrap.wrap = <div id="breakingnews">|</div>
> stdWrap.required = 1
> 10 < plugin.tt_news
> 10 {
> limit= 1
> code = LIST
> pid_list = 4
> templateFile = fileadmin/styles/v2/breakingnews.html
> singlePid = 22
> }
>
> }
Looks ok to me, so the "bug" must be in breakingnews.html
I guess there is something in it, that always gets displayed even without
any news items to show.
To get rid of it you have to move all "wrapping" HTML code to the
stdWrap.wrap section.
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
More information about the TYPO3-english
mailing list