[TYPO3-english] Remove csc-default wrap for my plugin
Sergio
naguib.mahfuz at gmail.com
Tue Feb 12 11:38:07 CET 2013
Hi all,
thank you for your suggestions. I finally made this, as you Viktor have
suggested now:
tt_content.stdWrap.innerWrap.cObject.default.if {
equals.field = list_type
value = my_own_plugin
negate = 1
}
But the problem is I would like to add another condition: the
div.csc-default wrap is only removed when this plugin (my_own_plugin) is
empty, let's say, when "bodytext" is NULL. Could I add another condition to
this TS? (My TS knowledge is not really good)
I've added my own <div class="csc-default"> inside my partial html just in
case the plugin is not empty, but I just don't wanna do that. I prefer to
have cleaner code :-)
2013/2/12 Viktor Livakivskyi <invisible.kinder at gmail.com>
> Hi, Sergio.
>
> Once I did same for 'gridelements' extensions:
>
> # remove any surrounding div for gridelements container
> tt_content.stdWrap.innerWrap.cObject.default.if {
> equals.field = CType
> value = gridelements_pi1
> negate = 1
> }
>
More information about the TYPO3-english
mailing list