-
Notifications
You must be signed in to change notification settings - Fork 209
Theme Development
tdondich edited this page May 15, 2019
·
2 revisions
Themes are implemented in ProcessMaker utilizing the igaster/laravel-theme package.
Utilize the following command in the main ProcessMaker directory to create the skeleton of your theme. artisan theme:create
. You can follow additional details of instructions in the laravel-theme documentation.
Example:
artisan theme:create
Give theme name:
> dummyTheme
Where will views be located [Default='dummyTheme']?:
> dummyTheme
Where will assets be located [Default='dummyTheme']?:
> dummyTheme
Extends an other theme? (yes/no) [no]:
> y
Which one:
[0 ] Main Theme
[1 ] Some other Theme
> 0
Summary:
- Theme name: dummyTheme
- Views Path: processmaker/storage/skins/dummyTheme
- Asset Path: processmaker/public/dummyTheme
- Extends Theme: Main Theme
Create Theme? (yes/no) [yes]:
The previous steps will create a dummyTheme
directory under ProcessMaker's storage/skins
directory. You'll find your theme's theme.json file. You'll also find a dummyTheme
directory created under ProcessMaker's public
folder where you can store your static assets such as js, css and images.