Advertisement
Guest User

Untitled

a guest
Feb 6th, 2014
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. To get started:
  2.  
  3. 1. Add following in your site’s composer.json “require” section
  4.  
  5. "lelesys/plugin-news": "dev-master",
  6. "lelesys/captcha": "dev-master",
  7. "typo3/swiftmailer": "@dev"
  8.  
  9. 2. run “composer update”
  10.  
  11. 3. run ./flow doctrine:migrate
  12.  
  13. 4. add following in top level Configuration/Routes.yaml just before the TYPO3 Neos route.
  14.  
  15. -
  16. name: 'news routes'
  17. uriPattern: '<LelesysPluginNewsSubroutes>'
  18. defaults:
  19. '@package': 'Lelesys.Plugin.News'
  20. '@format' : 'html'
  21. subRoutes:
  22. LelesysPluginNewsSubroutes:
  23. package: Lelesys.Plugin.News
  24.  
  25. 5. add following line in your Site package’s Root.ts2
  26.  
  27. include: resource://Lelesys.Plugin.News/Private/TypoScripts/Library/NodeTypes.ts2
  28.  
  29. 6. add NewsAdmin role to your backend user
  30.  
  31. ./flow user:addrole USERNAME Lelesys.Plugin.News:NewsAdmin
  32.  
  33. 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.
  34.  
  35. 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