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:
$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
shahroq
View Replies:
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
Thanks for posting this!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.