[Typo3] Resolving parsed links from within sub templates

John I White john at fluid-rock.com
Tue Aug 23 15:28:01 CEST 2005


Hi Stefan, thanks for replying.

That works great thanks. The image link parses as:

src="fileadmin/template/sub/../main/images/buttons/but_submit_onorange.gif".

It looks strange but works, thanks!
John


"Stefan Beylen" <intsys at swissinfo.org> wrote in message
news:mailman.1.1124800266.20412.typo3-english at lists.netfielders.de...
> John I White wrote:
> > fileadmin/template/main/images/image.gif
> > or
> > /images/image.gif
> > or
> > ../images/image.gif
>
> you have to make it relative from the directory in fileadmin which
> "holds" your master.html.
>
> so if your master is in
> fileadmin/template/main/master.html
>
> and if your gif is in
> fileadmin/template/sub/img/image.gif
>
> you have to go ../sub/img/image.gif
>
> good luck





More information about the TYPO3-english mailing list