[Neos] Adding additional data from PHP class in Page fluid template

Pavlina Drosos pavlinadrosos at gmail.com
Sat Feb 15 21:55:39 CET 2014

Hi Bastian,

your suggestion works for me indeed, thanks a lot! I needed to extend the
TYPO3\Media\Domain\Repository\TagRepository and add a method for getting a
tag by label, probably currently there's no other way to do it?

I also noticed that currently the media library actually works only for
images, when I tried to upload a .txt file it was uploaded, but the media
library is not able to display it and throws an exception. When is expected
that to be fixed and the media library api to be extended for files and


On Fri, Feb 14, 2014 at 10:12 AM, Bastian Waidelich <bastian at typo3.org>wrote:

> Christian Müller wrote:
> Hi Pavlina,
>  Pavlina Drosos wrote:
>>> [...] I want to fetch all images from the Media library, which
>>> have this tag assigned and render them inside the Gallery page.
>  I think you will want to create a plugin for this. [...]
> Alternatively you could change the PHP class that renders your page (or
> parts of it).
> Taking the demo site as an example, with the following TypoScript:
> chapter.body. at class = 'TYPO3\\NeosDemoTypo3Org\\TypoScript\\
> ChapterImplementation'
> and a PHP class *\TYPO3\NeosDemoTypo3Org\TypoScript\ChapterImplementation*
> that extends *\TYPO3\TypoScript\TypoScriptObjects\TemplateImplementation*
> you can override *initializeView()* and access TS via *$this->tsValue()*
> --
> Bastian Waidelich
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos

More information about the Neos mailing list