[Typo3-dev] Firefox problem...
Sacha Vorbeck
sachav*removethisspamtrap* at gmx.net
Tue Aug 3 10:53:09 CEST 2004
Hi,
> Tried this and more, but doesn't seem to fix the problem.
<a name=... is not valid XHTML. To change a name to <a id=... I inserted
the following line into my TS Setup:
tt_content.stdWrap.dataWrap = <a id="x{field:uid}"></a> |
The x has to be prepended as an ID value may not begin with a number. To
make the anchor links work again, you have to change line 674 of
class.t3lib_parsehtml.php
if ($params['prefixLocalAnchors']) {
if (substr($tagAttrib[0][$attr],0,1)=='#') {
$prefix = t3lib_div::getIndpEnv('TYPO3_REQUEST_URL');
$tagAttrib[0][$attr] = $prefix.$tagAttrib[0][$attr];
here you could insert another if checking if
$params['prefixLocalAnchors'] contains a single char and prepend it
before the id.
if ($params['prefixLocalAnchors']==2 &&
--
hth,
Sacha
More information about the TYPO3-dev
mailing list