[TYPO3-dev] Section Marks - Section Index
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Fri Jun 9 13:30:26 CEST 2006
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