[TYPO3-dev] Anchor generation with substituteSubpart/substituteMarkerArray

Laurent Albertini lalbertini at cross-systems.com
Thu Aug 12 16:13:41 CEST 2010


Hi,

I am writing an extension.
The generated html is "strange".

In my template.html, i have the line :
<a href="#tabber-###NUM_ELEMENT###">

which is translated with substituteMarkerArray/substituteSubpart in my 
pi1.php by :

<a href="mycurentpage#tabber-myidelement">
eg :
On page http://www.mysite.com/contact/
<a href="contact/#tabber-12">
On page http://www.mysite.com/section1/
<a href="section1/#tabber-23">
...
I don't want the terms contact and section1 before my anchor...
Possible ?

Moreover, if i write directly in my template.html :
<a href="#tabber-12"> ( only for debug test... ) it is also translated 
by : <a href="mycurrentpage#tabber-12">

Thanks you for your help,

Laurent









More information about the TYPO3-dev mailing list