[TYPO3-ttnews] Treatment of wraps for titles and e.g. subheaders is different. Why?
Tomas Broeker
broekth at web.de
Tue May 16 22:58:32 CEST 2006
Hi,
I am trying to understand the reason why the stdWraps for subheaders -
for example - are treated different than the title of a news item.
For a title I have to define in the HTML-template how the title marker
shall be wrapped by html code.
For example has the code in the html-template
<h2>###NEWS_TITLE###</h2>
the result
<h2>title</h2>
But the subheaders are treated different. When I use the same code for
the subheader:
<h2>###NEWS_SUBHEADER###</h2>
the result is:
<h2><h2>subheader</h2></h2>
To define the wrap of the subheader I MUST use TS
(displaySingle.subheader_stdWrap.wrap = <h2>|</h2>). But why? Why are
the markers treated different? That is what I don't understand. And it
took quite a long time till I finally found out how to get the right code.
Is there a reason? Or is it coincidence? Because I think it is quite
confusing. Shouldn't similar items be treated similar!?
Regards
Thomas
More information about the TYPO3-project-tt-news
mailing list