Ich möchte zur Lösung dieses Beitrages noch folgenden TS Code ergänzenderweise
hinzufügen, damit andere daraus auch schlau werden:
TS
lib.news = USER
lib.news {
userFunc = tx_extbase_core_bootstrap->run
pluginName = Pi1
extensionName = News
controller = News
settings =< plugin.tx_news.settings
persistence =< plugin.tx_news.persistence
view =< plugin.tx_news.view
settings {
categories = 2
categoryConjunction = and
}
}
lib.news_list < lib.news
lib.news_list {
action = list
switchableControllerActions.News.1 = list
}
lib.news_detail < lib.news
lib.news_detail {
action = detail
switchableControllerActions.News.1 = detail
}
[globalVar = GP:tx_news_pi1|news > 0]
page.10.marks.content < lib.news_detail
[else]
page.10.marks.content < lib.news_list
[end]
Bei der "settings" Einstellung kann ich nun nach Kategorien unterteilen.
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german