Page 1 of 1

*** SOLVED *** HTML block not displaying on previewed or published pages

Posted: Mon Jun 05, 2023 10:42 pm
by SCurtisCBKA
Nevermind, I am a fool. See below.

I am trying to include a HTML block in a page I am developing that links to an embed for MemberMojo for our organisation, that includes a list of pricing tiers and instructions for signing up. I have created the HTML as per the instructions on the MM webpage and used a HTML block to insert the code in the place I want to see it on our page, however when I click Preview the section shows nothing. The same thing also happens if I click Publish and view the published page.

Included is a link to the demo project containing the relevant page.

[Link removed for privacy purposes. No longer relevant]

Re: HTML block not displaying on previewed or published pages

Posted: Mon Jun 05, 2023 11:17 pm
by BaconFries
The url provided for download does not work. Please note that there is no help with external scripts/codes (MemberMojo)as it is understood that if you wish to use you understand how to implement it.
Note if the script is using php then the page extension should be set to .php also it is not possible to view php locally in "Preview" as it requires to be uploaded to your server which should be running php.
If you cannot view it once published then there may be a issue on the server such as what version of php it is running this is something your host can tell you.
It may also be that the page your linking to uses https:// rather than just http:// so any links made in the software should use https://

Re: HTML block not displaying on previewed or published pages

Posted: Tue Jun 06, 2023 6:31 am
by Pablo
I also cannot access the link.

Note that HTML code will be insterted "AS IS".
So, if the code does not work then it's either incorrect, incomplete or it conflict with other code on the page.

Re: HTML block not displaying on previewed or published pages

Posted: Tue Jun 06, 2023 2:55 pm
by SCurtisCBKA
Yep. You can go ahead and ignore this one. Not proofreading my HTML code led to some very stupid typos. Whoops.