[SOLVED] Local custom theme not visible

Post Reply
ctuxboy
Posts: 15
Joined: Wed May 25, 2022 7:22 pm

[SOLVED] Local custom theme not visible

Post by ctuxboy »

Hello,

I copy the folder from the Sky theme.
Change all the files that needed for my custom theme, but can't see it in settings -> themes, also not after update.

Changing the wcms-modules.json in my new-theme folder:

Code: Select all

{
    "version": 1,
    "themes": {
        "newtheme": {
            "name": "New theme",
            "repo": "",
            "zip": "",
            "summary": "My custom theme",
            "version": "1.0",
            "image": ""
        }
    }
}
Is there a way adding my new custom theme manually?
Last edited by ctuxboy on Thu Oct 06, 2022 8:18 pm, edited 1 time in total.
ctuxboy
Posts: 15
Joined: Wed May 25, 2022 7:22 pm

Re: Local custom theme not visible

Post by ctuxboy »

Okay, i found it!

Can change the theme maually in the database.js file.

Code: Select all

{
    "config": {
        "siteTitle": "Website title",
        "theme": "newtheme",
...
User avatar
mjxl
Posts: 42
Joined: Thu Jan 30, 2020 4:57 am

Re: [SOLVED] Local custom theme not visible

Post by mjxl »

you can also pass it from a URL, copy link from a theme's "apply" button and u'll see:

Code: Select all

?selectModule=whateverThemeYouClicked&type=themes&token=xxxx
change "whateverThemeYouClicked" to your custom theme
Post Reply