Skip to main content

Unable to edit pages of a project. [RESOLVED]

Comments

2 comments

  • Ariel H.

    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
  • Wayne Whiting

    Thank you for your time and help. All working, [RESOLVED]

    0

Please sign in to leave a comment.