Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-7804

Recreate Moodle pages using blocks, so they are editable by non-developers

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • moodle.org
    • Community Sprint 2024-I4.2, Community Sprint 2024-I4.3, Community Sprint 2025 I1 M & P

      Some of our pages on moodle.org have been developed in a way that doesn't allow non-developers to update the content. Long term this is going to cause us problems, so we are going to re-develop these as editable pages using Moodle blocks and css to apply the backgrounds.

      We will stick as closely as possible to the original designs.

      The pages on moodle.org that are not editable are:

      rajneel.totaram@moodle.com has already gone through this conversion process for Moodle.Academy's homepage and I believe aya.saad was involved in the development of the https://moodle.org/getinvolved page (which is editable), so we have some knowledge on how to do this already.

      alvaro.perezblanco@moodle.com may be able to assist with the CSS side of things to apply the backgrounds and other styling.

       

      Development Documentation:

      https://moodlesuccess.atlassian.net/wiki/spaces/CS/pages/2759983186/Community+editable+pages+using+HTML+blocks

       

       Note on Development and Deployment to Staging and Production

      To ensure a seamless update for users, the deployment should be carried out in two phases:

      1. Phase 1: Add the editing functionality for internal pages (e.g., theme/moodleorg/uxresearchreports.php). This will allow us to replicate the content and test it in each environment without affecting the current links.
      1. Phase 2: Link the internal pages containing the updated content to their corresponding public URLs (e.g., moodle.org/uxresearchreports). During this phase, we can also remove the old pages that will no longer be in use

      Enginx modifications needed:
      https://git.in.moodle.com/ict/community-docker/-/commit/ad1413e0eb66e196ed926466013b8b068b062672

       

       Note After publish to Production

      The clean necessary process:

      1. Remove layouts in theme config.php file
      2. Remove the old layout files.
      3. Remove main files (experiencelab.php, ...)
      4. Filter SCSS

        1. Experience Lab scroll and Text size.png
          756 kB
          Mary Cooch
        2. image-2024-12-30-19-40-29-048.png
          89 kB
          Federico Astorga
        3. image-2024-12-30-19-45-19-812.png
          8 kB
          Federico Astorga
        4. image-2024-12-30-19-57-47-165.png
          46 kB
          Federico Astorga
        5. image-2024-12-30-19-58-17-956.png
          29 kB
          Federico Astorga
        6. image-2025-01-02-12-02-56-224.png
          85 kB
          Federico Astorga
        7. pagblock.png
          284 kB
          Mary Cooch
        8. Product vision text size.png
          71 kB
          Mary Cooch
        9. screenshot-1.png
          173 kB
          Jessica Gramp
        10. screenshot-2.png
          158 kB
          Jessica Gramp
        11. screenshot-3.png
          96 kB
          Jessica Gramp
        12. screenshot-4.png
          148 kB
          Jessica Gramp
        13. Testing MDLSITE-7804.mp4
          21.72 MB
          Mary Cooch

            daniel.urena@moodle.com Daniel Ureña
            jgramp-moodle Jessica Gramp
            Victor Déniz Falcón Victor Déniz Falcón
            Mary Cooch Mary Cooch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.