Welcome to The Boxes Paradise!
The Boxes Paradise (TBP) gives you the power to embed any box (aka "rounded corners" or "rounded box") in your website without any programming, any extensive html or css knowledge.
If you want to develop a Box to submit to TBP's library, then this handbook is for you.
As a Box Developer, you have to read the whole of the User Handbook to understand how The Boxes Paradise (TBP) work, the files you need to build, and how the files are structured in directories. You are also strongly encouraged to develop for a Drupal Solution on top of a standard Html Solution. A template is provided to aid you.
You should possess the following skills.
The guide here presents the essential steps to build a Box successfully. The above mentioned skills are assumed to be within your grasp, and little information is given here to equip you professionally because there are many websites already dealing with these topics. TBP hopes to present new information here, and not duplicate existing information widely available.
Nevertheless, if you have a compelling question or doubt to ask, help is always available.
Download the standard template here.
By studying the template, you will be able to get started building your Box very fast. You can also download another Box's zip file from the library to find out more.
Comments are also found in the template files to aid you, although the full documentation is already presented in this Developer's Handbook. You should first read the rest of the Handbook to understand fully how TBP reads your code and renders your Box, before you actually work on your Box.
You must be a registered member before you can create a Box. If you have not registered, click here to create an account.
Menu location: My Menu > Create content > Box
You need to create a Box before the Box ID is given to you, and the zip file is compulsory during the creation. On the other hand, you need a Box ID to code, and finally build the zip file. In this conflicting situation, you can create just any legitimate zip file with just one text file first. Create the Box using this zip file. You can later update your Box with the correct zip file. If you are not confident of creating such a zip file intially, you can download one here.

Because you are the creator of this Box, you are allowed to edit this Box. You will see the URL in the status bar of your browser when your mouse is hovering above the Edit tab. The URL will be in the form of http://theboxes.paradise.sg/node/21/edit, where 21 is the Box ID.
Alternatively, you can click on the Edit tab, and the URL will appear in your browser URL field.
After you have edited your code and packed into a zip file, you can update your Box by submitting the updated zip file.

A full explanation of a Box's File Structure is presented here.
| html | Folder that contains all the necessary files to build the javascript file |
| start.html | Code that starts a Box without a Title |
| start_title.html | Code that starts a Box with a Title |
| mid.html | Code that closes a Title, and starts the Contents |
| end.html | Code that closes a Box |
| script.html | List of extra javascript files to be included for Box construction, separated by spaces |
| res | Folder that contains all the necessary files to build the box (image files, and extra javascript files) |
| id | Box ID |
| *.png, *.jpg, *.gif |
Image files needed to construct your Box. Not limited to these image file extensions. |
| *.js |
Extra javascript files to be included for Box construction |
| style.css | CSS file for the Box |
| map.jpg | Image file that contains technical specifications of a Box |
| theboxesparadise_id.inc | Drupal Panel Style file for a Drupal Solution |
| theboxesparadise_id.js | System automatically generated file, you need not create it. |
All Html Files are compulsory. You must be able to render a Box with Title or without Title. Even if your Box doesn't need any special markup for the Title text, you must still create the mid.html, which in this case, will be empty. start_title.html must then contain duplicated contents from start.html. The rationale is that, in the case where the user does not know your Box support a Title, he must still be able to call out the standard set of API calls without any error.
The attribute values of your Html tags must be double-quoted. For example, <table width=100%> and <table width='100%'> are both wrong. <table width="100%"> is correct. TBP does not guarantee that your code will be rendered correctly if you do not adhere to this policy.
Even if your code here uses functions from extra javascript files, you should use it as though the functions were already available. This is because tbp_id_getHeader() will render the necessary extra javascript files to load on the actual web page where this Box is used, which will then expose those functions for you to use.
style.css is compulsory. You are not restricted to the number of image files or javascript files. Most techiques do not need any extra javascript files, and just rely on CSS coding. JS files are entirely optional. If you do use, do remember to include them in scripts.html, delimited by spaces.
map.jpg is compulsory.
The INC file is used for a Drupal Solution, and Box Developers are strongly encouraged to provide it. The JS file is a system automatic generated file. It uses information from the Html files to generate this file. This is the only file that a Box user needs to include in his web page to construct your Box. The file naming convention here follows theboxesparadise_id, where id represents your Box ID.
The maximum disk space your Box can use is 5MB, which in most cases, is more than enough. If you feel that your Box needs more than 5MB in exceptional cases, email your case to our Review Team here, and TBP will get back to you asap.
Here's a checklist for you before submitting your Box. We assume the Box ID is 3 in the discussion below.
This is VERY important as it determines how easy your Box can be searched. There are common tags like Rounded, Shadow 120, Contents White, Blue Border, among many others. As you type a tag for your Box, TBP tries to autocomplete for you, giving you a list of suggestions that match the text you have typed so far.
If you type a new tag that does not exist, TBP will create your new tag for your Box. This new tag will also appear as one of the options in the Search page. Give meaningful tags to your Box, so that someone with a picture in his head can associate it with the tags available on the Search page.
You can
How do I know if my Box is submitted successfully?
When you submit a zip file and create your Box, TBP will perform some background tasks to assemble the javascript file needed for the user to load to use your Box. Finally, you will be brought to your Box page.
If you see the contents of the page residing inside your Box, then it is working properly, and your submission is successful.
You can re-submit your zip file by editing your Box, removing the existing zip file, adding your updated zip file, and submitting your Box again.