Skip to content

A generator for yeoman which create a new WEC content element

License

Notifications You must be signed in to change notification settings

Gregcop1/generator-wecce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-wecce

A Yeoman generator of Flexible Content Element (with WEC Content Elements) for Typo3 CMS (4.x).

Requirements

  • WEC Content Elements with skin_dummy hook installed in your Typo3 CMS (4.x)
  • some conf in your plugin configuration :
    • ext_emconf => 'createDirs' => '',
    • ext_localconf.php => // ## insert here
    • ext_tables.php => // ## insert here

Let's go

Install the generator

git clone git@github.com:in8/generator-wecce.git
cd generator-wecce
npm link

Launch the generator

yo wecce

Follow instructions and build your own content element

Choose the type of custom element

[?] Content element type: (Use arrow keys)
‣ Create a custom content element           // -> Make a custom element one field after another (Noobs don't have to be ashamed)
--------
Based on Click to Play Youtube video        // -> Copy a *Click To play youtube* element
Based on Image Caption                      // -> Copy a *Image Caption* element
Full content element                        // -> Copy an element filled with all kind of fields (you're a bit lazy)
Empty content element                       // -> Copy the basic structure (you're crazy but a pro for sure)
--------
Exit                                        // -> I let you guess

Loop on the custom fields you want to insert

[?] Do you wan't another item? (Use arrow keys)
‣ Input                                     // -> Insert an input field
Textarea                                    // -> Insert an textarea field
Textarea with RTE                           // -> Insert an textarea field with Wysiwyg configuration
Image                                       // -> Insert an image field
Loop                                        // -> Insert an loop configuration
No thanks, that's enough.                   // -> Generate all fields that you've chosen before

About

A generator for yeoman which create a new WEC content element

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.4%
  • TypeScript 18.5%
  • CSS 3.1%