Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDLSITE-7917: Frontpage editable blocks #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

durenadev
Copy link

Hi David,

Working on the task https://tracker.moodle.org/browse/MDLSITE-7917

I have removed the initial blocks on the frontpage, and now they will be managed as content from the platform.

To do this and taking into account that part of the content is dynamic, I have added 2 JavaScripts that update the dynamic content:

  • The number of contributed strings
  • The list of contributors (modifying the links' contents to be accurate with the original styles).

In the task, I added the content with the structure the initial blocks must have. Using this content, the JavaScript modifies the necessary data and maintains the same appearance as the original blocks.

Thanks

@durenadev
Copy link
Author

As an example, you can see the differences between production and next (I added the changes directly into the next pod):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant