Search found 90 matches
- Fri Feb 04, 2022 8:37 am
- Forum: Support
- Topic: [SOLVED] wcms-modules.json Woes!
- Replies: 5
- Views: 3113
Re: wcms-modules.json Woes!
Can you please verify the below? https://github.com/your-username/theme-name/archive/master.zip worked for you and the below one didn't because it included refs? https://github.com/your-username/theme-name/archive/refs/heads/master.zip Yes, that is what I found. The first worked. The second didn't.
- Fri Feb 04, 2022 12:27 am
- Forum: Support
- Topic: [SOLVED] wcms-modules.json Woes!
- Replies: 5
- Views: 3113
[SOLVED] wcms-modules.json Woes!
I'm developing a WonderCMS theme. Since v3.3.0 we've been asked to add a file file wcms-modules.json to our repository. As I write the documentation at https://github.com/robiso/wondercms/wiki/Custom-modules says it should take the form: { "version": 1, "themes": { "theme-na...
- Fri Feb 04, 2022 12:23 am
- Forum: Support
- Topic: [SOLVED] Cloaking Email Addresses
- Replies: 22
- Views: 16654
Re: Cloaking Email Addresses
Thanks for the thoughts and the link.! I hadn't encountered the CSS hiding technique previously. I'll investigate that further. I had wondered whether one could avoid the JS parsing by including the JavaScript in an external PHP include file, but that's probably naive and demonstrates how little I k...
- Thu Feb 03, 2022 6:03 pm
- Forum: Support
- Topic: [SOLVED] Cloaking Email Addresses
- Replies: 22
- Views: 16654
Re: Cloaking Email Addresses
I now realise that it's not Summernote that process the JavaScript. I have removed it from my site and I still find that the uncloaked email address appears in the code after the page is saved.
Has anyone a suggestion on how to include email links in WCMS?
Has anyone a suggestion on how to include email links in WCMS?
- Wed Feb 02, 2022 8:47 pm
- Forum: Support
- Topic: [SOLVED] 3.3.0 (more likely 3.2.0) broke all images and links!
- Replies: 13
- Views: 5040
Re: 3.3.0 (more likely 3.2.0) broke all images and links!
Yes. The only change I made to WCMS code was line 2368 of index.php to:
Code: Select all
$parentSlug .= $subpages ? $item->slug . '/' : $item->slug;
- Wed Feb 02, 2022 8:34 pm
- Forum: Support
- Topic: [SOLVED] 3.3.0 (more likely 3.2.0) broke all images and links!
- Replies: 13
- Views: 5040
Re: 3.3.0 (more likely 3.2.0) broke all images and links!
Hi Wiz, Greg, can you confirm this works for you as expected before we push out a new version? Great work, man! That one line change together with removing the "../" prefixes I had to put into the pages on my site and everything appears fixed. Images are also displaying properly. I haven't...
- Wed Feb 02, 2022 5:27 pm
- Forum: Support
- Topic: [SOLVED] 3.3.0 (more likely 3.2.0) broke all images and links!
- Replies: 13
- Views: 5040
Re: 3.3.0 (more likely 3.2.0) broke all images and links!
PS: My reason for getting involved in WonderCMS was because my wife is due to retire from AIVuk and I hope to pass responsibility for maintaining their web site to one of the members. It's a fairly simple "brochure" site but the members are now recognising that their existing site doesn't ...
- Wed Feb 02, 2022 5:23 pm
- Forum: Support
- Topic: [SOLVED] 3.3.0 (more likely 3.2.0) broke all images and links!
- Replies: 13
- Views: 5040
Re: 3.3.0 (more likely 3.2.0) broke all images and links!
WonderCMS doesn't use subfolders for the subpages, it just nests them in the database.js file on your server. To answer your first question, it's mentioned here https://wondercms.com/news that all custom themes require the wcms-modules.json file as instructed here Ah! I confess significant ignoranc...
- Tue Feb 01, 2022 4:19 pm
- Forum: Support
- Topic: [SOLVED] 3.3.0 (more likely 3.2.0) broke all images and links!
- Replies: 13
- Views: 5040
Re: 3.3.0 (more likely 3.2.0) broke all images and links!
Just in case it matters... I removed the Summernote editor before making the upgrade to 3.3.0 and it's entirely possible I failed to notice the missing graphics for the very short period I had 3.2.0 installed.
- Tue Feb 01, 2022 4:16 pm
- Forum: Support
- Topic: [SOLVED] 3.3.0 (more likely 3.2.0) broke all images and links!
- Replies: 13
- Views: 5040
Re: 3.3.0 (more likely 3.2.0) broke all images and links!
More testing... While I need the ../ to make the links work while logged in, as soon as I log out to see the site as a ordinary user sees it then all I get is "Sorry page not found" screens. Take the ../ out again and the opposite happens. Works for a user but not when logged in. I don't t...