Actions
Bug #19796
closedpi_wrapInBaseClass should not wrap the div if content is empty
Start date:
2009-01-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you want to react in Typoscript on empty content, the function don't have to add content for this case.
Attached patch only wraps the div if content isn't empty.
Additional to this the option config.disablePrefixComment has to be active.
(issue imported from #M10102)
Files
Updated by Steffen Müller almost 16 years ago
The patch makes source code hard to read. I suggest to use a regular control structure instead of ternary with shortest block first (as suggested in forthcoming CGL)
Updated by Martin Holtz almost 16 years ago
i think,
http://bugs.typo3.org/view.php?id=4801
would be a nicer solution.
so you can disable the wrap and use it as you want.
Actions