Theme Installation

Before using Coolbaby theme you should have installed copy of Magento Community Edition open source e-commerce web application.

Warning! Before uploading theme files on a production environment, make sure you have tested it before on a development environment. Make sure to create a backup of your original files and database before uploading theme files.

To install Coolbaby theme, follow these steps:

Disable compilation option if you use it (Admin Panel -> System -> Tools -> Compilation).

Using an FTP client, upload all contents of 'Theme' folder in template package to the web root on your web server (usually public_html). Pay attention you should copy content of upload folder, it will overwrite some files.

Go to System -> Cache management. Select all, choose refresh action and submit. After that you will see new
menu item - Coolbaby, now log out and login again to refresh access control system.

Theme Update

Backup all your data (files/database) before applying updates.

Variant 1 - with FTP UPLOAD:

If you do not change files, just download new version and copy it over old files. That's it. Important: If you use Compilation feature (System -> Tools -> Compilation) you should disable it before theme update. And enable it when update is completed. Note new updates will overwrite your slides to default values. You have to upload slides after updates.

Variant 2 - with DIFF FILE:

If you have made a lot of changes to your theme and want to upgrade, please check patch folder. It contain information in svn patch/diff format. For example check svn-diff-file-from-v1.0-to-v1.1.diff file. You will see list of changes. - width: 530, + width: 876, line with minus was deleted line with plus was added You can browse thru patch files manually or update it SVN utilities. Please note that patches should be applied version by version. I.e. if you have v1.0 and download v1.5 - you should first apply patches from v1.0-to-v1.1, after that from v1.1-to-v1.2 and so on.

Theme Customization

IF you want to do some template changes you need create subtheme in coolbaby design package.
Default directory structure this
app
+ design
+ + frontend
+ + + coolbaby (package)
+ + + + default (theme in package)
+ + + + + layout/local.xml
+ + + + + template
- - - - mysubtheme (this subtheme you need create)
- - - - - layout/local.xml (copy from default)
- - - - - template (if you have to rewrite template files)
Do not forget that you need write in System/Configuration/Design theme - mysubtheme
For ex. you want modify view of some element on fronted. Turn on template path hints.
How to turn on 'Template Path Hints'
When viewing your theme, it's helpful to see which template file is being used for which part of the page. Magento has an excellent debugging tool called 'Template Path Hints'.
1. Admin / System / Configuration.
2. Select your store from the drop-down in the upper-left corner and wait for the page to reload. Note that you have to be on the website level or lower. The 'Template Path Hints' option will not be visible if you are at a higher level.
3. Advanced / Developer (all the way at the bottom).
4. Template Path Hints / Yes.
5. Hit the orange Save Config button.
Go to your store and reload.
You will see path to template file. Copy this file from coolbaby/default/template to coolbaby/subtheme/template, or from base/default/template to coolbaby/subtheme/template
How to turn off Magento's cache
When developing a theme/package, it's helpful to not have to wait for your changes to expire the built-in cache. Here's how to disable Magento's cache so that you can see your changes right away:
1. Admin / System / Cache Management
2. In the Cache Control section, for the All Cache drop-down, select Disable.
3. Click the orange Save Cache Settings button.
Css changes you need write in file DELETE-PREFIXcustom_changes.css (here you need delete prefix and in coolbaby color setting set use custom css file enabled)
Core files you need change only with extend tools (magento allows rewrite classes, helpers, models by extend methods)
IF you will follow these steps you will not have problems with update theme.
Update theme you can with simple reuploading of coolbaby files.

Theme with Demo

Magento has a sample data archive available that contains sample products and CMS pages to allow you to explore your new Magento installation without having to create everything from scratch. The sample data archive contains a dump of the Magento sample SQL database that should be imported to an empty database using your database management tool (phpMyAdmin or whatever you use) and folder with sample product images that should be copied to your Magento media folder.

These instructions assume you are in the installation phase with your Magento store and that you have not created your own products and pages. If you already have a working Magento store and database, do NOT install the sample data. Following these steps will wipe out your existing database.

When you're ready to set up your own store, you should re-install Magento without the sample data in order to start clean.

Important: The sample data must be imported before running the Magento Setup Wizard in the basic Magento installation process. (Among other things the Setup Wizard upgrades the Magento database to the Magento version being installed and the sample data, which is generic, cannot be imported after that conversion takes place.)

Recent posts on home page

Such block you can insert on cms home page by adding shortcode in content area {{widget type="wordpress/sidebar_widget_posts" title="Recent Posts" number="10" template="wordpress/sidebar/widget/posts_home.phtml"}}

Enable Compilation (In Magento admin, (top menu) System > Tools > Compilation, click Enable. This will take all the active scripts in Magento’s core structure and bring them to the front for faster website speed.
If updates, code modifications, extension installations are needed, Compilation needs to be disabled first. If not, there will be errors.)

Caching Magento (When all other settings are in place and the site is ready to go live, go to System > Cache Management. Select all items, set the Action dropdown to “Enable” then hit Submit)