[TYPO3-mvc] Rendering a picture
Xavier Perseguers
typo3 at perseguers.ch
Mon Jun 15 17:13:18 CEST 2009
Hi,
> But for outputting something different than (X)HTML a new "page type"
> seems to be the right way to me.
> We already have some predefined page types in TYPO3 for PDF, XML,
> plaintext etc..
>
> Why not add a new page type for rendering the vCard or a jpgraph?
>
> tx_savjpgraphImage = PAGE
> tx_savjpgraphImage {
> typeNum = {$plugin.tx_savjpgraphImage.imagePageType}
> 10 = USER
> 10 {
> userFunc = tx_extbase_dispatcher->dispatch
> pluginName = foo
> extensionName = sav_jpgraph
> controller = Standard
> action = bar
> }
> }
OK. That sounds good.
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-project-typo3v4mvc
mailing list