Wieso geht diese Variante nicht?

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
}

lib.news_detail < lib.news
lib.news_detail {
               action = detail
               switchableControllerActions.News.1 = detail
}

lib.news_list < lib.news
lib.news_list {
               action = list
switchableControllerActions {

   News {

     1 = list

   }

 }

 settings < plugin.tx_news.settings

 settings {

   categories = 2

   limit = 30

detailPid =
   startingpoint = 11


 }
}



[globalVar = GP:tx_news_pi1|news > 0]
       page.10.marks.content < lib.news_detail
[else]
       page.10.marks.content < lib.news_list
[end]
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an