[TYPO3-english] TYPO3 6.2 and stdWrap in backend module.
francois beaulieu
francois.beaulieu at gmail.com
Thu Jan 22 15:16:16 CET 2015
I try to do wrap html around my values in my backend module and i use marker system.
This is my tsconfig line
tx_requesthandler_mod1.config.fields.mobile.wrap = <strong>|</strong>
I debug my stuff with a var_dump
var_dump($tsconfig['properties']['config.']['fields.']['mobile.']);
That is what is shown
array(1) {
["wrap"]=>
string(18) "<strong>|</strong>"
}
So i get the good tsconfig path.
That's a part of my code :
$conf = $tsconfig['properties']['config.']['fields.']['mobile.'];
$markers['###MOBILE###'] = \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::stdWrap($params['mobile'],$conf);
The value of $params['mobile'] is rendered but the wrap is never done.
What's wrong with my stuff?
Thanks!
More information about the TYPO3-english
mailing list