Create new theme for gallery
Permalink Browser Info Environment
This is tutorial on how to create a new theme:
1- Theme css files located at the "\packages\whale_nivo_gallery\css\nivo_gallery_themes\". you can see currently there are one theme (default) there, so you can duplicate this folder and rename to something like "new_theme".
2- Now go to ''\packages\whale_nivo_gallery\controllers\dashboard\files\whale_nivo_gallery\" and open controller.php file.
At line 51 yo can see a array variable that contains list of themes:
You should add you new theme folder name (as a handle) and title tothis array:
Now at the dashboard gallery generator you can see new theme available for user to select.
3- If you want to new_theme be default theme, you should edit at the above controller (line 23):
4- Now you can start edit new theme css file.
Also i suggest everyone who create new theme, share his theme at this topic.
1- Theme css files located at the "\packages\whale_nivo_gallery\css\nivo_gallery_themes\". you can see currently there are one theme (default) there, so you can duplicate this folder and rename to something like "new_theme".
2- Now go to ''\packages\whale_nivo_gallery\controllers\dashboard\files\whale_nivo_gallery\" and open controller.php file.
At line 51 yo can see a array variable that contains list of themes:
$this->themes = array('default'=>t('Default'));
You should add you new theme folder name (as a handle) and title tothis array:
$this->themes = array('default'=>t('Default'), 'new_theme'=>t('New Theme'));
Now at the dashboard gallery generator you can see new theme available for user to select.
3- If you want to new_theme be default theme, you should edit at the above controller (line 23):
public $defaultTheme = 'default';
4- Now you can start edit new theme css file.
Also i suggest everyone who create new theme, share his theme at this topic.
Type: | Discussion |
---|---|
Status: | New |