[TYPO3-mvc] shared partials - or let us be able to set a "extensionkey" for f:render

Xavier Perseguers typo3 at perseguers.ch
Thu Nov 4 11:12:49 CET 2010


Hi Steffen,

>> So my proposal would be to add a new parameter "extensionKey" (or alike)
>> to the "render" viewHelper that allows to define from which extension
>> configuration the partial/template shall be resolved. Might also be
>> useful for widgets (so they may come some day).
>>
>> What do you think?
>
> Why don't you just define the same PartialStorage Path for all
> Extensions? Like put all partials in Fileadmin...

Well, I guess it should work, but then how do you manage to keep them 
synchronized with a version control system if they are all together 
sitting in a common directory? Will be a bit complicated...

Xavier


More information about the TYPO3-project-typo3v4mvc mailing list