[Typo3] Absolute links in menus

Christian Lerrahn typo3 at penpal4u.net
Tue Sep 20 11:59:41 CEST 2005


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

On Mon, 19 Sep 2005 15:46:08 +0200
Tobias Erlacher <erl at maguma.com> wrote:

> Hi Christian,
> i think putting following line into your typoscript setup should do the 
> trick:
> config.baseURL =www,xyz.com
> 
> have fun
> Tobias Erlacher
> www.typo3wizard.com
> 
> 
> Christian Lerrahn wrote:
> > Hi,
> > is there a way to configure Typo3 to render all internal links as if they
> > were external but still use the target for internal links. What I mean is
> > the following.
> > Usually you'll have something like
> > <div align="left"><a href="1.0.html">whatever</a></div>
> > I'd like to have
> > <div align="left"><a href="http://www.xyz.com/1.0.html">whatever</a></div>
> > instead. It's ok if the solution changes the scheme of all links of the
> > site.
> > 
> > Any hints?
> > 
> > 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