[TYPO3-dev] Need help with a new extension (ste_invoice)

Dmitry Dulepov [typo3] dmitry at typo3.org
Fri Nov 23 07:40:16 CET 2007


Hi!

Sacha Ligthert wrote:
> * Currently all code displayed in the backend are hardcoded HTML tags. 
> Is there some sort of templating engine I could use. FE extensions have 
> the provisions to do so, but I haven't found anything similar. Does 
> Typo3 or any extension offer such functionality for the backend?

Some FE templating functions simply call functions from t3lib_parsehtml. You can use those directly:
- t3lib_parsehtml::getSubpart
- t3lib_parsehtml::substituteSubpart

For substituteMarker just use str_replace, for substituteMarkerArray - a loop with str_replace.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list