[Typo3] TemplaVoila and internal links

Kraft Bernhard kraftb at gmx.net
Mon Mar 21 15:39:24 CET 2005


Cédric CHAMPEAU wrote:
> <a href="#top">Link to top</a>
>  
> The problem is that TV replaces the top link with the complete template
> path, ie the generated code looks like this :
>  
> <a href="/fileadmin/templates/mytemplate.html#top">Link to top</a>

I hade the same problem with a simple "Home" Link i.e: <a href="index.php">Home</a>

TemplaVoila thinks that I meant a "index.php" file in the fileadmin ...

I replaced the link with:
<a href="../../../index.php">Home</a>

Which is the correct path to the index.php when the file gets called out of the fileadmin.


So pherhaps the solution to your problem is to set the "to-top" anchor link like:

<a href="../../../index.php#top">Top</a>

didn't try that but should work ... just take care that you have the correct amount of "../"


greets,
Bernhard
-- 
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50



More information about the TYPO3-english mailing list