[TYPO3] how to check in TS what value is returned by "Insert plugin" content element (tt_news)
Dmitry Dulepov
typo3 at accio.lv
Fri Jul 21 09:45:26 CEST 2006
Hi!
Krystian Szymukowicz wrote:
> *Do not show me header and "INSERT PLUGIN" if the value of "INSERT
> PLUGIN" equals "AAA"*
There is no value for "insert plugin". More:
> It is quite simple if I like to check header:
Because "header" is a field in tt_content table, so you can check it
directly. But output of the plugin is dynamic.
> But how to get value from "INSERT PLUGIN" ?
You may try ifEmpty but I doubt it will work. Simply because most
plugins use wrapping to <div> with plugin id.
> The "INSERT PLUGIN" is tt_news and there are situations when there is no
> news in LIST view (the LIST is dynamic - defined by: give me publication
> of John Smith or give me Articles of John Smith), so the whole content
> element looks like.
I am not familar with tt_news but see if you can count records in tables
yourself.
Dmitry.
--
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-english
mailing list