[TYPO3-mvc] Two different views in one?

Julian Kleinhans typo3 at kj187.de
Mon Jul 27 17:19:47 CEST 2009


Hi,

example: i have 2 action methods

- shortAction
- longAction

Every action has his own view template

- short.html
- long.html

Now, i will show the short view additional in the long view, like this

long.html:
----------------------------------------------------------

<div id="frame>
   <h1>Headline</h1>

   <div id="short">
     <f:include short.html>
   </div>

   <div id="long">
     And here is the rest from the long view
   </div>

</div>

----------------------------------------------------------

is there a way to realize that ?


cheers
julian kleinhans


More information about the TYPO3-project-typo3v4mvc mailing list