[TYPO3] strange "typolink.section.data"

Ilaria De Marinis ilaria.demarinis at caspur.it
Thu Feb 21 12:14:31 CET 2008


Thank you very much JoH asenau.
Because of typolink inserts this letter I changed my anchor and now it 
works.

Best regards
Ilaria



JoH asenau wrote:
>> 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
>
>   

-- 
------------------------------------------------
Ilaria De Marinis 
Settore Automazione Biblioteche
Phone: +3906-44486052
CASPUR - Via dei Tizii ,6 - 00185 Roma
e-mail: ilaria.demarinis at caspur.it
------------------------------------------------



More information about the TYPO3-english mailing list