Skip to content
Raul edited this page Mar 3, 2015 · 2 revisions

Base Class

  • CBobject
  • CBsection

UI

Resources

  • Project.UI.Data.Sections (Array)
  • Project.UI.targetcontent (String)
  • Project.UI.selected (Jquery)
  • Project.Actions (JSON)

Class

  • Core
  • CBUtil

Structure Folder

/components
|   |--- core
|   |--- images
|   |      |--- core.js 
|   |      |--- metadata.json
|   |      |--- lib 
|   |      |--- lib_external #Utilities used by the component (editor)
|   |      |--- i18n # Translations 
|   |--- text
|   |      |--- core.js 
|   |      |--- metadata.json
|   |      |--- lib          #Utilities used by the component (editor)
|   |      |--- lib_external #Utilities used by the component (editor) 
|   |      |--- i18n # Translations 
|   |--- questions           #interactive components
|   |      |--- queries
|   |              |--- ...
|   |      |--- truefalse
|   |      |--- multiselect
|   |      |--- imageselect
|   |      |--- ...
|   |--- media                #multimedia components
|   |      |--- audio
|   |      |      |--- lib           
|   |      |      |--- lib_external  #codecs or other utilities 
|   |      |--- video
|   |      |      |--- lib    
|   |      |      |--- lib_external  #codecs or other utilities 
|   |      |--- flash
|   |             |--- lib    
|   |             |--- lib_external  #codecs or other utilities 
|   |--- 3party                 #other components
|         |--- text
|         |--- media
/js
|   |--- lib            #libraries created by the project
|   |     |--- core     # Core class 
|   |     |--- gui      # Class responsible of element UI (menu, i18n, etc)
|   |     |--- util     # Class files with utils
|   |--- lib_external   #External libraries used like "jquery"
/themes                 #Editor theme
|   |--- editor
|   |      |--- default
|   |             |--- css  # stile sheet for the frontend theme
|   |             |--- img  #images of the theme 
|   |--- books
|          |--- default
|                 |--- css
|                 |--- img
/templates
|   |--- default
|          |--- css
|          |--- img
/doc

Create Component

Clone this wiki locally