[TYPO3-german] news Extension
Andre Sancken
evilknevil10 at gmx.de
Sat May 30 18:49:54 CEST 2015
So jetzt funktioniert es. Falls es jemand interessiert, habe noch den view Part ergänzt.
lib.news = USER
lib.news {
userFunc = tx_extbase_core_bootstrap->run
extensionName = News
pluginName = Pi1
switchableControllerActions {
News {
1 = list
}
}
view < plugin.tx_news.view
view {
layoutRootPath = EXT:theme_bootstrap_slate/Resources/Private/Extensions/News/Layouts/
partialRootPath = EXT:theme_bootstrap_slate/Resources/Private/Extensions/News/Partials/
templateRootPath = EXT:theme_bootstrap_slate/Resources/Private/Extensions/News/Templates/
}
settings < plugin.tx_news.settings
settings {
//categories = 49
// einstellen der höchstens anzuzeigenden Beiträge
limit = 2
// ID der Newsseite
detailPid = 31
overrideFlexformSettingsIfEmpty := addToList(detailPid)
// ID des Ordners mit den auszulesenden News
startingpoint = 14
}
}
> Am 30.05.2015 um 18:44 schrieb Johannes C. Schulz [EnzephaloN IT-Solutions] <info at enzephalon.de>:
>
> Hallo Andre
>
> Statisches Template geladen?
>
> Viele Grüße
> Johannes C. Schulz - EnzephaloN IT-Solutions
> (von unterwegs gesendet)
>
> On 30. Mai 2015 18:43:22 MESZ, Andre Sancken <a.sancken at digitalartworx.net> wrote:
>> Hallo,
>>
>> ich benutze die EXT „news“ und habe mir aus der DOku das TS hier
>> eingebunden:
>>
>> lib.news = USER
>> lib.news {
>> userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
>> extensionName = News
>> pluginName = Pi1
>> vendorName = GeorgRinger
>>
>> switchableControllerActions {
>> News {
>> 1 = list
>> }
>> }
>>
>> settings < plugin.tx_news.settings
>> settings {
>> //categories = 49
>> limit = 30
>> detailPid = 31
>> overrideFlexformSettingsIfEmpty := addToList(detailPid)
>> startingpoint = 13
>> }
>> }
>> http://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/BestPractice/IntegrationWithTypoScript/Index.html
>> <http://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/BestPractice/IntegrationWithTypoScript/Index.html>
>>
>>
>> Jetzt bekomme ich folgenden Fehler:
>>
>> Could not analyse class:GeorgRinger\News\Controller\NewsController
>> maybe not loaded or no autoloader?
>>
>>
>> Ist das ein Bug der EXT?
>>
>> gruß
>>
>> Andre
>>
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
More information about the TYPO3-german
mailing list