Share this post:
Accepted AnswerNick HowittOnline
Accepted AnswerNick HowittOnlineI'll see if the website people can find the correct link and fix the redirects. In the meanwhile, please see if you can find what you want at https://docs.clearos.com/en/developer-documentation? The move to here was never completed, unfortunately.
Accepted AnswerJonathan DumontOfflineHi Ben;
So I clone the theme /usr/clearos/themes/ClearOS-Admin
and opened core/meta.php which point to https://www.clearos.com/resources/documentation/clearos
which is result as being a dead link
do you know where is this "documentation" ?
Accepted AnswerBen ChambersOfflineHi Sean,
I'm really glad someone is interested in theming! It took a lot of effort to be 'theme friendly', so if you created an alternative, it would be the reward of countless hours.
The theme you found on GitHub was abandoned...we started out down the path of using AdminLTE which was chosen by a few of us in the devel as a good starting block. It was abandoned, unfortunately, as the marketing team input strayed farther and farther away from the template, and we ended up with a custom theme from scratch.
So...I can guarantee you the theme won't work 'out of the box' without quite a bit of work.
Essentially what you need to do is clone the Git repo to /usr/clearos/themes/ with a custom name...you will then see the theme as an option on the "Base Settings" page in Webconfig. (https://<IP>:81/app/base). Select your new theme and be prepared for a broken Webconfig.
Essentially, you'll need to ensure that all the functions in the working theme exist and perform equivalently in your new themd. For the most part, those functions are in:
A good starting place is to install the app-devel package which has a handy layout that exposes most (all?) of the widgets used in the theme. If you can get that page to load, you're 1/2 way there.