[TYPO3] validation problem tt_news and teaser links
Katja Lampela
katja.lampela at lieska.net
Tue Mar 11 00:02:29 CET 2008
Hi folks,
In html template I have:
<!--###LINK_ITEM###-->###NEWS_SUBHEADER### <!--###LINK_ITEM###-->
and the result is:
<a href="mylinkpath"><p class="bodytext">my text</p></a>
and the validation result is:
document type does not allow element "p" here; missing one of "object",
"applet", "map", "iframe", "button", "ins", "del" start-tag..
-> meaning no p tag inside a.
And the outcome should be:
<p class="bodytext"><a href="mylinkpath">my text</a></p>
But how can I change the order of p tag and link tag? Or should I
consider sthing else (like unlinking the teaser text altogether)
I would also be very grateful of a hint of a good manual of the ts
object browser. (Shame to say it has stayed a mystery to me.)
Thank you for any input!
- katja
More information about the TYPO3-english
mailing list