nguonchhay/nodetypegenerator

Last activity on 2 February 2017
  • 2
  • 57
composer require nguonchhay/nodetypegenerator

Kickstart new nodetype in Neos

2.3.0

Kickstart new nodetype in Neos

Version
2.3.0
Type
neos-package
Release Date
03.11.2016 04:05:21
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT 1530edf2f95795f99dd5919d668b31bb2e98e6a8

Installation

Warning

The master branch is in upgrade process to compatible with Neos 3.0

Compatibility

See the following table for the correct branch to choose:

Neos CMS Branches
>= 3.0 dev-master
<= 2.3 2.3

Open terminal and run composer require command

composer require --dev nguonchhay/nodetypegenerator dev-master

Or add directly to your composer.json in the require-dev section of your directory root:

"require-dev": {
    "nguonchhay/nodetypegenerator": "dev-master"
}

Then download the package: composer update nguonchhay/nodetypegenerator

Clear caches just to be safe

./flow flow:cache:flush --force

Add these configuration to global route at Configuration/Development/Routes.yaml

##
# Nguonchhay.NodeTypeGenerator route

-
  name: 'Nguonchhay NodeTypeGenerator'
  uriPattern: 'nodetypegenerator/<NguonchhayNodeTypeGeneratorSubroutes>'
  defaults:
    '@package': 'Nguonchhay.NodeTypeGenerator'
    '@format': 'html'
  subRoutes:
    NguonchhayNodeTypeGeneratorSubroutes:
      package: 'Nguonchhay.NodeTypeGenerator'

Generating new document or content nodetype with three easy steps

    1. Go to generating form `<your-base-url>/nodetypegenerator` and input the nodetype information then submit the form.
    2. Review generated nodetype. You can adjust fusion(.ts2) and template(.html) base on your real requirement.
    3. Import gernerated nodetype into your active sites. You can import generated nodetype to active sites.

Then go to back end and test that imported nodetype.

Making change

We develop Nguonchhay.NodeTypeGenerator by using:

    1. Bower: download font awesome
    2. Grunt: compile resources
    3. CoffeeScript: developing script
    4. Scss: developing style

Install js dependencies and AdminLTE theme using bower

bower install

Install grunt dependencies using npm

npm install

Compile resources

grunt build
The content of the readme is provided by Github
The same vendor provides 2 package(s).