neoscmsflow-framework

Packages in Neos (Composer)


So, I managed to install an instance of typo3 NEOS on my server. Everything looks fine and as expected. Is is functional as well.

Now I read something about the formbuilder. I found a documentation on how to install it as well. From what I can tell (no experience in symfony2 / composer), the package is included, since the related folder + files are located and the right spot.

But now I'm stuck. How - or where am I supposed to use this extension? In this video he shows how to use it, but not how to open it. I googled it but I'm not able to find anything that helps.

Maybe this isn't even just NEOS-related and a common thing in symfony, when installing packages? Do I have to define routes?

Using Ubuntu 15.04 and NEOS 2.1. Everything installed like in this guide explains it.


Solution

  • There is another package, depending on typo3/formbuilder - simplyadmire/neos-form-builder-bundle it provides neos management module, routes, acl, nodetypes ect. - it works but have some small bugs.

    So in your composer.json in require section add:

    "typo3/formbuilder": "@dev",
    "simplyadmire/neos-form-builder-bundle": "@dev"
    

    Now run composer update - should install both packages. If you work on Production context, you need to flush cache FLOW_CONTEXT=Production ./flow flow:cache:flush on Development it's not required.

    Next, to your main Configuration/Routes.yaml add those lines (it's from second package readme):

    -
      name: 'SimplyAdmire.Neos.FormBuilderBundle'
      uriPattern: '<SimplyAdmireNeosFormBuilderBundleSubroutes>'
      subRoutes:
        SimplyAdmireNeosFormBuilderBundleSubroutes:
          package: SimplyAdmire.Neos.FormBuilderBundle
    

    Login to neos backend. On main menu (top left hamburger) you should see new link "Form builder" http://yourhost/neos/management/formbuilder. If you have demo page installed, you will have already one form in list - Contact form. There is a link New form it looks like plain text and it leads to formbuilder you've seen on video. Remember to save your work (top left button). Now you can go back to page editor, and add new node of type form, in editor on right you should be able to select form you've created with formbuilder.