Советую забыть про это. realURL использует для этого системную функцию TYPO3 для построения ссылок. Так что изменять нужно не там.
Теоретически возможно реализовать эту задачу, но довольно сложно.
Аналогичный пример я привел в другом месте, прошу обратить внимание на userFunction:
# TypoScript setup
# xhtml strict compliance: all content element anchors get a prefix for the name and id attribute
tt_content.stdWrap.dataWrap = <a name=\"content{field:uid}\" id=\"content{field:uid}\"></a>|
# the section menu is adapted
tt_content.menu.20.3.renderObj.typolink.section.wr ap = content|
# reference to a php function
includeLibs.xhtmlanchor = fileadmin/user_typolink.inc
tt_content.text.20.parseFunc.tags.link.typolink.pa rameter.postUserFunc = user_xhtmlAnchor
example for the fileadmin/user_typolink.inc:
<?php
function user_xhtmlAnchor($content,$conf) {
$uriparts = explode('#',$content);
if (isset($uriparts['1'])) {
$content = $uriparts['0'].'#content'.$uriparts['1'];
}
return $content;
}
?>
|