[TYPO3-dev] How to get Extension Resources Path

Kay Strobach typo3 at kay-strobach.de
Sat Jun 15 18:36:46 CEST 2013


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


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach




More information about the TYPO3-dev mailing list