[TYPO3-english] Function prefixLocalAnchorsWithScript is not allways called
Pero Matic
pero at matic.com
Fri Oct 8 16:44:49 CEST 2010
I'm moving this into new thread:
Jan Bednarik wrote:
> You're in the wrong place. Local anchors are not prefixed using
> CoolUri, but in the TYPO3 core directly. You can find it in
> class.tslib_fe.php.
>
> As I said, CoolUri doesn't take part here.
Hm, something is strange here. Function inside class.tslib_fe.php:
prefixLocalAnchorsWithScript()
is not allways called. What i do is this..
1. Clear all cache.
2. Click on some link inside page -> function prefixLocalAnchorsWithScript
is called, <a href="#"> link is generated ok: /some/path/#
3. Click on some different link -> function prefixLocalAnchorsWithScript is
NOT called, <a href="#"> link is generated wrong: index.php?id=34#
How come this function is called in some cases and in others not?? I know
it's not called when some page is already cached but those pages I clicked
on should not be cached because i cleared all cache in the first step. Thx!
Regards.
More information about the TYPO3-english
mailing list