Can anyone advise how to change the default theme for ClearOS 7. I found an admin theme on github (https://github.com/clearos/theme-admin-lte) that I would like to experiment with. Any advice will be welcomed. Thanks
Share this post:
Responses (4)
-
Accepted Answer
Hi 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:
/usr/clearos/themes/ClearOS-Admin/core (PHP)
and
/usr/clearos/themes/ClearOS-Admin/js (Javascript)
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.
B -
Accepted Answer
Hi 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 Answer
I'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 Answer
Can I ask where you found the link? All documentation should be somewhere below https://www.clearos.com/clearfoundation/development/clearos/content:en_us:dev_start.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »