[TYPO3-dev] Export xml content

bernd wilke t3ng at bernd-wilke.net
Fri Apr 12 08:26:09 CEST 2013


Am 11.04.2013 14:40, schrieb Philipp Gampe:
> Hi todos27,
>
> todos27 wrote:
>
>> I have been trying to find the way to do this, but I haven't found any
>> tutorial or information about how to this, neither in google,
>> stackoverflow or typo3 docs. Maybe I'm just doing something wrong while I
>> search.
>
> The page type things work relatively easy:
>
>      page = PAGE
>      page.typeNum = 0
>
> defines your "normal" page type.
> To add another one, just do
>
>      another = PAGE
>      another.typeNum = 1
>
> You can then call your page with the &type=1 parameter and TYPO3 will render
> "another" instead of "page".
>
> http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Page/Index.html
>

just two remarks:

1. it might be a good idea to give these new page types names to 
identify as PAGE: page1, pagexml, ...

2. some extensions modify hardcoded the object 'page'.
If your page object has another name, or must have another name for 
different type, it will not be modified and you have to do by yourself

e.g.
page.123456 < lib.xyzzy


bernd
-- 
http://www.pi-phi.de/cheatsheet.html



More information about the TYPO3-dev mailing list