[TYPO3-ttnews] tt_news: not able to remove <p class="news-single-author">

Bing Du bdu at iastate.edu
Wed Feb 28 22:23:44 CET 2007


Hi,

Typo3 V4.0.4
tt_news 2.4.0

By using the default tt_news template, the news author is wrapped by <p
class="news-single-author"></p>.

Now I want to get rid of the wrapping <p class="news-single-author"></p>. 
I created an extension template on a page.  According to 'How to get rid
of the <p class="bodytext">  wrap ?' on
http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/#id2931185,
in the extension template, I added

plugin.tt_news {
  general_stdWrap >
  displaySingle {
    author_stdWrap.parseFunc < lib.parseFunc_RTE
    author_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag >
  }
}

But news authors are still wrapped with <p class="news-single-author"></p>
even after I cleared all the caches.  I noticed that 'how to' is about <p
class="bodytext">, and I want to remove <p class="news-single-author">. 
Would that matter?  How the heck should I do to get <p> removed?

Thanks in advance for any insight,

Bing

Bing


More information about the TYPO3-project-tt-news mailing list