[TYPO3] strange "typolink.section.data"
JoH asenau
info at cybercraft.de
Thu Feb 21 11:58:30 CET 2008
> I am configuring fesearchintable plugin for tt_address table
>
> I need to wrap the result of the search with a link to
> http://myhost/index.php?id=page_of_address#uid
> I unsuccesfully get this strange link
> http://myhost/index.php?id=page_of_address#cuid
>
> There is the letter "c" before the uid of the item.
> I'm struggling for two days with this error.
It's not a bug, it's a feature!
W3C states that the value of the "id" attribute of any HTML element must not
start with a numeric value.
While <a id="123" /> would be an invalid anchor tag,
<a id="c123" /> would be valid.
Don't remember the exact version, but I guess it was 4.0 when the core
introduced this behaviour to make sure that anchors will be valid. To make
sure that links to these anchors still work, typolink autmagically adds the
prefix "c" to any id after the "#".
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
Jobs: http://www.professionals-only.com
More information about the TYPO3-english
mailing list