Zum Inhalt springen

Links im Template file werden umgeschrieben...

Erstellt am 16. Februar 2007 · 1 Antwort · letzte Antwort am 16. Februar 2007

Tags: Frage

Winddancer ·

Hi all,

ich habe ein kleines Problem mit TV.

Ich habe in meinem Template File stehen:

<a href="#inhalt" title="Inhaltsbereich" class="Hilfe">Inhaltsbereich</a><span class="Hilfe"> | </span>

Und das soll auch so bleiben.

Dummerweise macht mir TV das hier daraus:

<a href="fileadmin/templates/#inhalt" title="Inhaltsbereich" class="Hilfe">Inhaltsbereich</a><span class="Hilfe"> | </span>

Kann mir jemand sagen, wie ich ihn dazu bringe die Links NICHT umzuschreiben???

thx und grüße

Sven

Winddancer ·

Ich beantworte mir die Frage mal eben selbst (wie so häufig... leider).

Ein Auszug aus der TV Wiki:

Solution :

In order to have hardcoded links in your page templates, you must follow those 2 rules :

1 / the path to the file should be absolute, thus defined from the website root and not be relative to the page template location.

2 / a leading '/' must appear at the begining of the path.

If those 2 rules are fullfilled, Typo3 will not modify your link.

A typical hardcoded link would look like :

<img src="/fileadmin/templates/site1/img/logo.gif" />