[TYPO3-mvc] managing templates

Stefan Isak stefanisak at googlemail.com
Mon Oct 18 12:44:28 CEST 2010


Hey,

have a look at the different possibilities to structure templates. You can
find examples in the blog_example extension.

What would you like to do, that you want to have two different templates for
the same action?

Users can create there own templates e.g. using a different template root
path.
Default value is: plugin.tx_myext.view.templateRootPath =
EXT:myext/Resources/Private/Templates/@Controller/@actionname. at format

Cheers
Stefan


2010/10/18 Dawid Pacholczyk <dpacholczyk at gmail.com>

> Hello List,
>  how can I manage templates in my ext ?
>
> For example. In old school ext creating there was a file with diffrent
> subparts. For example I could create two subparts ###STATUS_OK### or
> ###STATUS_NOT_OK### and use the one that I need.
>
> In extbase/fluid method I have for example listAction() and list.html
>
> How can I load 2 diffrent lists if I need ?
>
> Or how can end user create his own templates ? This is another example. In
> old schoold I could give user possibility to add his own .html file. How
> can
> I do that in extbase/fluid ?
>
> Best regards,
> Dawid Pacholczyk
>
> --
> Dawid Pacholczyk
> tel: 502-054-334
> gg: 5564051
> skype: dpacholczyk
> http://typo3blog.pl (only polish version at the moment)
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list