Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To get started:
- 1. Add following in your site’s composer.json “require” section
- "lelesys/plugin-news": "dev-master",
- "lelesys/captcha": "dev-master",
- "typo3/swiftmailer": "@dev"
- 2. run “composer update”
- 3. run ./flow doctrine:migrate
- 4. add following in top level Configuration/Routes.yaml just before the TYPO3 Neos route.
- -
- name: 'news routes'
- uriPattern: '<LelesysPluginNewsSubroutes>'
- defaults:
- '@package': 'Lelesys.Plugin.News'
- '@format' : 'html'
- subRoutes:
- LelesysPluginNewsSubroutes:
- package: Lelesys.Plugin.News
- 5. add following line in your Site package’s Root.ts2
- include: resource://Lelesys.Plugin.News/Private/TypoScripts/Library/NodeTypes.ts2
- 6. add NewsAdmin role to your backend user
- ./flow user:addrole USERNAME Lelesys.Plugin.News:NewsAdmin
- 7. Now you can goto Neos backend and you will see News Management backend module and submodules. You can create a Folder then you can create Categories and News records for the Folder.
- 8. On Neos page you can put the News list plugin e.g. and select the Folder in the inspector. You can also change the template paths from the inspector for this plugin.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement