[Neos] Change template for NodeType

Jan Syring-Lingenfelder t3-neos at jan-sl.de
Mon Jun 15 14:59:31 CEST 2015


Hi,

If you you want to use the default AssetList you need to change the prototype(TYPO3.Neos.NodeTypes:AssetList). Your snippet defines a new prototype for the NodeType vendor.Site:AssetList, which you would have to define also in NodeTypes.yaml.
As you wrote you want to change the template I guess you don't want to define your own NodeType, so the above mentioned prototype() schould do the trick for you.

-- 
Regards,
Jan Syring-Lingenfelder


Am 15.06.2015 14:23 schrieb sim_co <sim_co at gazeta.pl>:
>
> Hi, 
>
> I want to change default template for 'AssetList' NodeType. 
> I added template in Private/Templates/NodeTypes/ - AssetList.html, and added some TS in Root.ts2, but nothing changed 
>
> prototype(vendor.Site:AssetList) < prototype(TYPO3.Neos:Content) { 
> templatePath = 'resource://vendor.Site/Private/Templates/NodeTypes/AssetList.html' 
> } 
>
>
> _______________________________________________ 
> Neos mailing list 
> Neos at lists.typo3.org 
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos 


More information about the Neos mailing list