[TYPO3-dev] Section Marks - Section Index

Tristan Knapp info at knappmedien.de
Fri Jun 9 13:40:46 CEST 2006


Thx Masi

patched my class.t3lib_tstemplate.php already. Will get the CVS version 
before deploying. Works like a charm...

Probably had a filter on when I searched...

Have a nice Weekend

Tristan


"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1149852625.23432.typo3-dev at lists.netfielders.de...
> Tristan Knapp schrieb:
>> Hi
>>
>> I'm using a HMENU/TMENU to generate a DIV which generates a section menu 
>> for the current page. My Problem is with the anchor naming scheme.
>>
>> When I add a Sitemap Plugin, the section index is being generated 
>> properly like
>>
>> index.php?id=100#c100
>>
>> but when I manually create the menu in Typoscript I get
>>
>> index.php?id=100#100
>>
>> So I looked around in the source and found the following:
>>
>> class.tslib_content.php:5044
>>  $sectionMark = $sectionMark ? 
>> (t3lib_div::testInt($sectionMark)?'#c':'#').$sectionMark : '';
>
> This should be fine.
>
>> and from class.t3lib_tstemplate.php:1426
>>   $LD['sectionIndex'] = $page['sectionIndex_uid'] ? 
>> '#'.$page['sectionIndex_uid'] : '';
>
> This has been fixed already in CVS (added a c).
>
>> which looks like a bug to me... I don't want to remove the "c" because I 
>> remember something about anchors having to start with a non-numeric 
>> character.
>>
>> I tried searching in bugs.typo3 but didn't find anything (probably search 
>> for the wrong thing....)
>>
>> Could someone tell me if this is a known bug?
>
> Yes. There has been reports for bugs with section indices and menus (see 
> bug #3612).
>
> Masi 






More information about the TYPO3-dev mailing list