[Typo3] XHTML compliant Imagetext

Matthias Nagl mnagl at web.de
Wed Aug 10 18:16:25 CEST 2005


Hi Matthias				

I collected some TS from former forum-posters:

# Gültige XHTML 1.1 Anker produzieren und referenzieren
tt_content.stdWrap.dataWrap = <a id="CID{field:uid}"></a> |
tt_content.menu.20.3.renderObj.typolink.section.wrap = CID|
includeLibs.xhtmlanchor = fileadmin/user_functions/user_typolink.inc.php
tt_content.text.20.parseFunc.tags.link.typolink.parameter.postUserFunc = user_xhtmlAnchor

The user-function looks like this:
<?php
function user_xhtmlAnchor($content,$conf) {
$uriparts = explode('#',$content);
if (isset($uriparts['1'])) {
$content = $uriparts['0'].'#CID'.$uriparts['1'];
}
return $content;
}
?>

- Matthias Nagl (mnagl)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110133549/
					



More information about the TYPO3-english mailing list