Just testing with WonderCMS

Ask for help or provide support to other members.
Post Reply
Luuk
Posts: 3
Joined: Sat Dec 28, 2024 2:23 pm

Just testing with WonderCMS

Post by Luuk »

I was looking for a SimpleCMS, and did find WonderCMS, which looked good enough to give it a start.... :D

After looking at some Themes, I decided to have "Sky", but wanted a small change, so I followed next steps
  • 1. copy "wondercms\themes\Sky" to "wondercms\themes\MySky"
    2. Changed "wondercms\themes\MySky\wcms-modules.json to:

    Code: Select all

    {
        "version": 1,
        "themes": {
            "MySky": {
                "name": "MySky",
                "repo": "https://github.com/robiso/sky/tree/master",
                "zip": "https://github.com/robiso/sky/archive/master.zip",
                "summary": "Default WonderCMS theme (2022). Theme works without Bootstrap and jQuery. (with local changes)",
                "version": "3.2.4",
                "image": "https://raw.githubusercontent.com/robiso/sky/master/preview.jpg"
            }
        }
    }
    
After this I logged on, clicked on Settings/Themes, but did not find "MySky".

What did I miss?
User avatar
NorfolkGreg
Posts: 190
Joined: Wed Sep 01, 2021 7:50 am

Re: Just testing with WonderCMS

Post by NorfolkGreg »

If you're just making changes for your own site, rather than intending to develop a new theme to be shared with other users, I'd just alter the theme.php and style.css files as required - and, of course, ignore any prompts to update the theme if they appear.

If you do want to make your theme truly independent of the original Sky theme then I would follow all the steps in the Theme tutorial.

(Regret haven't made time to check the changes in your json file.)
User avatar
nox
Posts: 89
Joined: Sat May 23, 2020 9:02 pm

Re: Just testing with WonderCMS

Post by nox »

Hello Luuk,

what NorfolkGreg said is a good advice.

If you want to activate your custom theme MySky, open data/database.js and under first entry "config", change:
"theme": "Sky" to "theme": "MySky"
Luuk
Posts: 3
Joined: Sat Dec 28, 2024 2:23 pm

Re: Just testing with WonderCMS

Post by Luuk »

I will go, for now, to change te files in the themes\sky folder, and hopefully I do not forget I manually changed something in `theme.php` when I press UPDATE some time in the future ..... 😉
Post Reply