Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 07:32:37 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to create custom components and have them appear as available in the builder  (Read 1304 times)
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« on: November 08, 2010, 05:13:32 PM »

1. Copy [jsLinb/js/UI/Block.js] to [jsLinb/js/UI/MyBlock.js];

2. Modify  the first line in MyBlock.js from

to

  save it;

3. Open file [build/build_linb.bat], add your new widget path to the line 46;

4. Open file [VisualJS/build/build_visualjs.bat], add your new widget path to the line 33;

5. Open file [VisualJS/js/conf.js]. Add your new widget into "widgets: ["(line 34) block, save it.

6. Execute the file [build/build_linb.bat] and [VisualJS/build/build_visualjs.bat].

7. Done! A new widget MyBlock will appear in the Builder's "Tool Box" panel.

-----------------
In Windows
-----------------
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!