[TYPO3-dev] How to get Extension Resources Path

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Sat Jun 15 19:11:57 CEST 2013


Perfect!

I didn't know this viewhelper yet, thank you.


On 06/15/2013 06:36 PM, Kay Strobach wrote:
> Hello Till,
>
> for use in fluidtemplates there is the resource viewHelper, which knews,
> where to search for resources.
> Perhaps this viewHelper can give you an idea.
>
> {f:uri.resource(path:'Images/myImage.png')}
> http://wiki.typo3.org/Fluid#f:image
>
>
> In TS i doubt you need to set this manually :D
>
> Regards
> Kay
>
>
> Am 14.06.13 14:43, schrieb g4-lisz at tonarchiv.ch:
>> Hi there!
>>
>> In some of our fluid templates we're linking to resources like images or
>> PDFs which were uploaded to subfolders of
>> typo3conf/ext/[EXTKEY]/Resources/Public/
>>
>> What is the best way to get this path in a template? Is this path
>> defined by default in some TypoScript array or do i have to set it
>> manually in the extension configuration?
>>
>> Cheers,
>> Till
>




More information about the TYPO3-dev mailing list