[TYPO3-english] Produce an IMAGE from a string by stdWrap

Sebastian Gebhard s.gebhard at markenmotiv.de
Mon Mar 16 14:09:19 CET 2009


Hi list,

in my Extension i have the following Code:

$headline = $this->cObj->stdWrap($headline, 
$this->conf['menuheader_stdWrap.']);

$headline initially is just a plain string and via TS the admin can wrap 
it with <h2>|</h2> for example.

How is it possbile to make it a grapical headline using a special font 
only by using TS?

I could use something like

menuheader_stdWrap.cObject = IMAGE
menuheader_stdWrap.cObject{
   file = GIFBUILDER
   file{
     # build up the image here
   }
}

But how would I include the original value of $headline?


More information about the TYPO3-english mailing list