How to create a Flippij Theme Package
In order to successfully upload a theme package into the Flippij system, you will need to follow some guidelines.
A Theme Package consists of one zip file which is uploaded to the system. The zip file should contain ONE folder that contains all the theme package files. This fold name should be the name of your theme package.
Example: This theme has been named MyFirstTheme
MyFirstTheme.zip
|_ MyFirstTheme (Folder)
|_default.template (File)
|_default.css (File)
|_thumb.jpg (File)
Each Flippij theme package will Require at least the following files:
The theme package may also contain other files such as:
| File Types | Extensions |
| Layout Templates | .template |
| Images | .jpg .gif .png .swf |
| Javascript | .js |
| Cascading Style Sheets | .css |
Details about the template files
All .template files can be referred to as layout templates. They are HTML files that contain the Flippij markup syntax used by the Flippij template engine system. You can create however many .template files you’d like. The only .template file that is required is the default.template. This layout will be used on all pages by default unless changed from the Edit Page interface on the Flippij System. Please note that you should only use alphanumeric characters in the naming of the .template file. You should use underscores in place of spaces.
Example: default.template, defautl001.template , home.template, no_menu.templateetc…
NOTE : There is NO need to put the follow tags in the .template file. This will be created by the Flippij template engine.
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<meta name="Description" content="">
<meta name="Keywords" content="">
<link href="/css/styles.css" rel="stylesheet" type="text/css" />
<link href="/theme/MyFirstTheme/default.css" rel="stylesheet" type="text/css" />
Details about the default.css files
There is nothing special about the default.css file. It is standard Cascading Style Sheets markup. The only thing to make note of, is that if you refer to any images from the CSS file you will need to use the path of /theme// if you are following the best practice method.
Example: background(/theme/MyFirstTheme/main_bk.jpg)
The Flippij Markup Syntax