
To work with the Style Generator Engine ( sGen ), you'll need to create a few directories and set one configuration variable.
First, all sGen theme & template information is contained in the /cache folder system. To create a sGen compatible theme, create the following folders and files:
/cache/style/$YOUR_APP_KEY/ /cache/style/$YOUR_APP_KEY/images /cache/style/$YOUR_APP_KEY/tpl-global.php
Where $YOUR_APP_KEY is the application key that you registered in the /app-admin. If you have no idea what we're talking about, visit the Hello World tutorial series.
For now, leave the tpl-global.php file blank.
Now that the structure is setup and in place, edit your config.php and ensure that the following configuration variable is set to sgen for your application:
$INFO['YOUR_APP_KEY']['output_driver'] = 'sgen';
Save config.php. That's all you need to start working with sGen. Let's move on to creating the wrapper and setting the configuration for the theme.