Unable to edit pages of a project. [RESOLVED]
Hi,
Having returned to a previously created project in Brizy cloud I have found that when I attempt to edit ANY of the pages I simply see '2023' displayed in the top left corner on a white page?
The site is published and works fine when displayed in a browser.
I have attempted to add a test page to the project and from the outset i am unable to edit the page and just see the 2023 in the top left corner.
All other projects appear to be fine and allow me to edit pages as expected.
I have cleared cache, tried different browsers, all with same result.
*Can you please remove the site URL before approving this post*
Site URL: ********
Regards
Wayne
-
Hi Wayne,
Thank you for contacting us,
This error is due to a code conflict with a document.write () function to display the current year in a JS code in your website footer. This has to be converted to a script that will give a similar result without using document.write() function.
To resolve this issue, you can delete the footer block as demonstrated on this screencast - https://youtu.be/1crDjP0KioM
The above example is on Brizy WP, but the steps to fix it should be the same in Brizy Cloud.After you have removed the footer, you can rebuild it and use the below example script:
<div style="text-align: center;">
<span style="color: #fff;">© <span class="yr"></span> |</span>
<span style="color: #fff;">DigitallyPromote.me All Rights Reserved</span>
<span style="color: #fff;">| Terms of Use</span>
</div>
<script>
document.querySelector(".yr").textContent = (new Date().getFullYear());
</script>Please note that the above code is only an example and may need modifications to suit your website.
If you have any further questions, please let us know.
Best regards,
Ariel H.0 -
Thank you for your time and help. All working, [RESOLVED]
0
Please sign in to leave a comment.
Comments
2 comments