[TYPO3-ttnews] format tt_news displayLatest subheader

Martin Fluer fluer at dezwei.at
Fri Sep 21 07:52:31 CEST 2007


Hello,

i have posted this question yesterday in the german-list (tt_news
Latest-Ansicht subheader formatieren gehtnicht.), but i think here is the
better place.

i whish to remove all <p>-tags in the news and add it again to selected
fields.
my problem is the subheaderfield in the latest-view.

This code (for single-view) works fine:
WORKS:
plugin.tt_news {
  # Alle parse-Funktionen löschen
  general_stdWrap >
  # SINGLE-ANSICHT
  displaySingle {
    subheader_stdWrap.wrap = |
    subheader_stdWrap.parseFunc >
    # parseFunc zum subheader hinzufügen
    subheader_stdWrap.parseFunc < lib.parseFunc_RTE
  }

If i change displaySingle with displayLatest nothing happens in the
latest-view. Why?
DON'T WORK:
plugin.tt_news {
  # Alle parse-Funktionen löschen
  general_stdWrap >
  # LATEST-ANSICHT
  displayLatest {
    subheader_stdWrap.wrap = |
    subheader_stdWrap.parseFunc >
    # parseFunc zum subheader hinzufügen
    subheader_stdWrap.parseFunc < lib.parseFunc_RTE
  }

documentation isn't a help, so i ask here.
is it possible to format the subheader in latest-view like it's standard
view, but delete all other <p>-tags? How?

thanks for your reply
martin


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