We are working for update doc for SXIMO 5.1.7

Create your own theme

Creating new themes in sximo is totaly easy . sximo using single template interface .
all themes required at least index.blade.php and style.cssfiles
so here are the themes structure :  

1. resources/views/layouts/mytheme/index.blade.php
2. resources/views/layouts/mytheme/info.json.php
3. sximo/themes/mythemes/css/style.css

Create my first themes


First thing you have to do is creating new folder theme, this forder name identicaly with theme name . Example we create new theme named mytheme following this step :

1.create folder inside /resources/views/layouts/mytheme
2.create file inside /resources/views/layouts/ mytheme/index.blade.php
3.create folder iniside /sximo/mythemes
info.json.php
To register new theme , you need to creating json file with information of your theme , without this file , sximo doesnt recognize new installed theme.

{"name":"mytheme","folder":"mytheme","author":"Jon Doe"}

index.blade.php
This following code basic minimum html code

<code><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> {{ isset($page['pageTitle']) ? $page['pageTitle'].' | '.CNF_APPNAME : CNF_APPNAME }} </title>
<meta name="keywords" content="{{ CNF_METAKEY }}">
<meta name="description" content="{{ CNF_METADESC }}"/>
<link rel="shortcut icon" href="{{ asset('favicon.ico')}}" type="image/x-icon"> 

<body >

<div style="min-height:400px; padding-bottom:50px;">
    {{ $content }}
</div>

</body> 
</html></code>


Now the last , you need to include your css file between head

to include css

{{ asset('sximo/themes/mytheme/css/style.css')}}

code for include js

{{ asset('sximo/themes/mytheme/js/style.js')}}