Page 8 of 8

Re: [new free onepage template] fhs-sectionsOP

Posted: Mon Jul 24, 2023 2:11 pm
by tanavots
Hi!
After updating CMSimple XH to 1.7.6, I get a "page not found" error on the web page with fhs-sectionsOP template (even with default). It seems that this is related to the functions.php. Unfortunately, XHdebug does not give additional information or Inspect Console. Any idea what is missing?
[ external image ]

Re: [new free onepage template] fhs-sectionsOP

Posted: Mon Jul 24, 2023 4:53 pm
by frase
tanavots wrote:
Mon Jul 24, 2023 2:11 pm
Any idea what is missing?
Yes, there is a bug in the new XH version when handling empty pages.
The pages that normally contain the text (above the images) must not be really empty.
Just add the following in the TinyMCE init file (that you use) under “toolbar”:

Code: Select all

“toolbar”: " ... | nonbreaking”,
A new button will appear in the toolbar.
On each (empty) page, you click once on the new button.
The following will appear in the source code:

Code: Select all

<p><span class="mce-nbsp-wrap" contenteditable="false"> </span></p>
Save and view page.
The “page not found” should then be gone.

Re: [new free onepage template] fhs-sectionsOP

Posted: Mon Jul 24, 2023 5:39 pm
by tanavots
Thanks, worked!

Re: [new free onepage template] fhs-sectionsOP

Posted: Mon Jul 24, 2023 5:40 pm
by olape
frase wrote:
Mon Jul 24, 2023 4:53 pm
Yes, there is a bug in the new XH version when handling empty pages.
Not quite, it is not a bug in XH. We used a bug in XH in the past, now it is fixed, now a blank page is really blank. We need to touch up on Swiper_XH.

Re: [new free onepage template] fhs-sectionsOP

Posted: Fri Aug 25, 2023 3:19 pm
by HArnoldJ
Swiper_XH is a modified version of Swiper. Do you have any solution or workaround for this issue?