Danke, hab ich ebenfalls versucht, gleiches Ergebnis mit &lt usw ...

Via Typoscript ist leider keine Option!


"Peter Russ" <peter.r...@4many.net> schrieb im Newsbeitrag 
news:mailman.1.1266858916.27385.typo3-ger...@lists.typo3.org...
--- Original Nachricht ---
Absender:   Widmann, Manfred
Datum:       22.02.2010 17:38:
> Der automatisch gesetzte Anker bei einem Content-Element lautet z.B. <a 
> id="c123">, also hätte ich es mit
>
> $this->cObj->getTypoLink($teaserheadline,$row['p_uid'] . '#c' . 
> $row['c_uid'])
>
> versucht - p_uid ist die id der Page und c_uid ist die id des 
> Content-Elements. Leider erzeugt getTypoLink dann aber
>
> &lt;a href="index.php?id=543#c618" &gt;
>
> also nciht ganz das gelbe vom Ei ...
> Eine andere Idee???

TSref: typolink
You can append a "#" to page-ids or aliases. Followed by another
integer this will indicate a tt_content record on the page to jump
to! (if .section-property is present, it overrides this).

Lass mal das 'c' weg. also pid#uid

Gruss. Peter.

-- 
loans that change lives http://www.kiva.org

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ 


_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an