[TYPO3-mvc] Feature request for Fluid: add contentObjectData by default

Søren Malling soren.malling at gmail.com
Fri Sep 9 11:47:44 CEST 2011


Hi,

I will suggest it as a parameter/argument in the viewhelper

<f:cObject typoscriptObjectPath="lib.something"
setContentToCurrent="true" /> (name can be discussed :P )

curerntly you can add your own object/array  to the data value - and i
find your feature request great!

Regards,

Søren Malling

TYPO3 Translation - http://translation.TYPO3.org
Twitter: twitter.com/sorenmalling



On Fri, Sep 9, 2011 at 10:52 AM, Georg Ringer <mail at ringerge.org> wrote:
> Hi,
>
> I did something nice for my news extension but this would be useful for
> every fluid based extension [1]:
>
> It would be cool if something like
> -------
> 'contentObjectData' => $this->request->getContentObjectData(),
> -------
>
> would be added always to the fluid output. Therefore you have all the things
> from cObj->data (which is the content element) available in fluid and would
> be helpful for many uses cases.
>
> What do you think?
> Georg
>
> [1]
> https://review.typo3.org/#patch,unified,4772,1,Classes/Controller/NewsController.php
> _______________________________________________
> 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