[FLOW3-general] Accessing Resources on Filesystem

David Sporer david.sporer at gmail.com
Wed Sep 5 13:09:53 CEST 2012


Hi Martin,

as far as I know this is not the way Resources are meant to be used.
If you have a model that contains the resources and/or your zip-file
publishing the resources would be the right way. So you're generating the
link to the resource in your fluid template.
E.g. this is what I'm doing on http.//demo.passbooks.de - as soon as the
file is created a fluid Template is shown that contains the downloadlink.
If you really want to have links to the files then you might need to save
your zip-files as static resources but I don't know if there's a way to
dynamically create static Resources.

Regards
David

2012/9/5 Martin <titusmailing at googlemail.com>

> Dear Listmembers,
>
> I need to organize the Resources in a defined Folder structure and making
> it accessible for users to Download.
>
> So I don't need to Publish the resources but after packing it in a zip
> File.
>
> I tried to get the Path and real Filename via
>
> $this->resourcePublisher->**getPersistentResourceSourcePat**hAndFilename()
>
> But this attempt ends up in an Error.
>
> Resources shouldn't be accessed on Filesystembase, but in this case I have
> to.
>
> What is the best approach for this, I can't find any useful methods or
> classes in the baseRepo.
>
> Cheers Martin
> ______________________________**_________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/flow3-**general<http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general>
>


More information about the FLOW3-general mailing list