TYPO3 News system, how to show Archive list

谁都会走 提交于 2019-12-13 04:42:46

问题


Im running TYPO3 v. 6.1, FLUID/EXTBASE.

I have installed the Extension News System and it's working fine.

Now im trying to show an archive list, but im not getting any list. I have added my code to a lib. so it's a lib im calling on my main page.

Can someone see whats wrong in this code.

lib.NewsArchive < plugin.tt_news 
lib.NewsArchive { 
  datetimeDaysToArchive = {$plugin.tt_news.datetimeDaysToArchive}
  enableArchiveDate = 1
  pageTypoLink.parameter.current = 1

  reverseAMenu = 1
  archiveMenuNoEmpty = 1

  # the Condition in the following COA highlights the active Archive month
  archiveTitleCObject = COA
  archiveTitleCObject {
    10 = TEXT
    10 {
       field = start
       strftime = %B %Y
       wrap = <strong>|</strong>
       if {
          value.field = start
          equals.data = GPvar:tx_ttnews|pS
        }
     }
    20 = TEXT
    20 {
       field = start
       strftime = %B %Y
       if {
          value.field = start
          equals.data = GPvar:tx_ttnews|pS
          negate = 1
        }
     }
  }
  archiveEmptyMsg_stdWrap.wrap =
  searchEmptyMsg_stdWrap.wrap =
  noNewsIdMsg_stdWrap.wrap =
}

回答1:


You're mixing up two different Extensions.

You are working with News System, but your TypoScript belongs to tt_news.

http://typo3.org/extensions/repository/view/news http://typo3.org/extensions/repository/view/tt_news



来源:https://stackoverflow.com/questions/20187588/typo3-news-system-how-to-show-archive-list

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!