[Typo3] Absolute links in menus

Christian Lerrahn typo3 at penpal4u.net
Tue Sep 20 12:28:20 CEST 2005


Hi Tobias,
thanks. That was exactly what I needed. I'm not using realurl anyway.

BTW, the base tag really breaks links in the external page. According to
W3 it is only valid inside the HTML header but at least Firefox and Opera
will still evaluate it later. But then it will be used with all links
that are parsed after the base tag.

Christian

On Tue, 20 Sep 2005 12:18:51 +0200
Tobias Erlacher <erl at maguma.com> wrote:

> Hi Christian,
> 
> you could try
> config.absRefPrefix=http://www.site.com/
> but for me that broke the realurl configuration..
> 
> have fun
> 
> Tobias Erlacher
> www.typo3wizard.com
> 
> Christian Lerrahn wrote:
> > Hi Tobias,
> > for the special problem I used as an example, you're (almost) right.
> > However,
> > 
> > config.baseURL = http://www.site.com/
> > 
> > will not make the links absolute but add a <base> tag. This will usually
> > have the same result as having links with absolute URIs. However, I want
> > to use this for a non HTML template that will be included by another
> > site. Therefore I must avoid that original links of the including site
> > are misinterpreted. With Firefox you can use a base tag inside a table
> > and it will be applied only to that table but this might not conform to
> > the RFCs. So I'd prefer having a "real" absolute link.
> > 
> > But thanks for your help so far.
> > 
> > Christian
> > 


-- 
    Verlasst euch nicht auf Lügenworte, wenn sie sagen: "Hier ist des
    Herrn Tempel!" Sondern bessert euer Leben und euer Tun.
    
    Jeremia 7,4.5
    
    Lasst uns nicht lieben mit Worten noch mit der Zunge, sondern mit
    der Tat und mit der Wahrheit.
    
    1.Johannes 3,18
    



More information about the TYPO3-english mailing list