Skip to content

Create a Block

michel-cf edited this page Oct 30, 2014 · 2 revisions

Creating a block

Creating a block is a 3 step process

  1. Define block
  2. Write code generation
  3. Add to the application

Define block

Write code generation

Add to the application

Depending on the language you used, Spin or Prop-C, add to the respective frame page. frame.html for Spin, framec.html for Prop-C. These are located in the webcontent directory.

If you added you block in a new file, you need to add the file to the list of scripts. In any case, the name of your block needs to be added to the list of blocks (the keepers variable).

Clone this wiki locally