1
2
3
Making sure all is working fine
Ok, so the first thing you need to do, is to make sure that the examples are working.
- copy the whole CreativeTable pack to your web server (public_html, htdocs or www)
- now you should have something like:
SERVER_ROOT/public_html/CreativeTable - create a database
- import a mysql dump from
assets/imdbtop250.sqlto that DB - edit the
config.phpfile with your DB access info - open a web browser and go to:
http://YOURDOMAIN.COM/CreativeTable/ - go to the examples page and see if everything is working well
2
Testing the different parameters
- open the php examples files and see what was made
- change the parameters and see the result to understand what can be done
3
Using Creative Table on your project
- copy the
creativeTable.phpto your project - copy the
creativePagerLite.phpto your project - copy the desired css style to your project
- include the CSS style in the header of your html file
- include a jQuery library in the header of your html file
- include the creative_table javascript file (normal or ajax version) in the header of your html file
- open the php example file that is more suitable to your project requirements
- copy the code from the example file into your project's php file
- make any necessary adjustments
To have an idea of what it should be like, please view the instructions page
REMEMBER
- If your project have already an open DB connection, you don't need to include the:
// MySQL settings and DB connection (if your project have already an open DB connection, you don't need to include this) include_once('config.php'); -
If your project doesn't have any opened DB connection you need to:
- copy also the
config.phpto your project - copy also the following code to your php file
// MySQL settings and DB connection (if your project have already an open DB connection, you don't need to include this) include_once('config.php'); - edit the
config.phpand change the MySQL setting to match your own server - remove the following code from the
config.php//============================================================== // REMOVE THE BELLOW CODE IF YOUR ARE USING THIS FILE IN YOUR PROJECT (mysql.php is only used for examples purposes) //============================================================== // Examples DB verification include_once('mysql.php');
- copy also the
You don't need to install anything
- just go to STYLES
- see the style you want
- go to
styles/and copy the corresponding directory to your project - include the CSS file in the header of your html
<link rel="stylesheet" href="css/creative/style.css"> - confirm that your table has the same STRUCTURE as Creative Table
- make the necessary adjustments in the CSS
- have fun!
What do you want to do?