[Typo3-dev] allow anchors in tslib_content::typoLink

Christian Zehaczek warhawk at ufo-base.de
Mon May 24 14:14:50 CEST 2004


hi people,

just tried to give an anchor as $urlParameters to
tslib_pibase::link_to_Page(), which actually ends in
tslib_content::typoLink() where it was dropped by this IF:

--- snip ---
if (substr($addQueryParams,0,1)!="&") {
--- snap ---

is changed this to

--- snip ---
if ((substr($addQueryParams,0,1)!="&") &&
(substr($addQueryParams,0,1)!="#"))  {
--- snap ---

and it seems to work fine.
maybe another solution is in progress and/or done in 3.6.0 or higher (did it
for 3.5.0), just want to notify you about...

cheers,
christian







More information about the TYPO3-dev mailing list