how to fix corrupted labels moodle 1.9
DESCRIPTION
Step by step to allow edit corruptedLabels again, for Moodle 1.9TRANSCRIPT
![Page 1: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/1.jpg)
By Maryel Mendiola
1.91.91.9
How to fix corrupted Labels
How to fix corrupted Labels
By Maryel MendiolaBy Maryel Mendiola
![Page 2: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/2.jpg)
By Maryel Mendiola
Have you ever seen (or write) a Label with corrupt html or some script that Moodle doesn't recognize ?
Well . . .
Don’t worry , Be happy
Because it is very easy to fix corrupt labels.
Just follow the next Step by Step
And suddenly You . . .
• can't edit the label,
• can't delete it,
• can't do anything,
and the edit icons have all disappeared.
![Page 3: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/3.jpg)
By Maryel Mendiola
Look at this Label. It makes freaky things
![Page 4: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/4.jpg)
By Maryel Mendiola
Like this:
![Page 5: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/5.jpg)
By Maryel Mendiola
![Page 6: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/6.jpg)
By Maryel Mendiola
Right click and “View Page Source”
![Page 7: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/7.jpg)
By Maryel Mendiola
In source page, it is recommended to find a text we typed in label and the text can easily be found
Maybe we should choose “OMG” (Oh my God!!) to find at source page
![Page 8: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/8.jpg)
By Maryel Mendiola
This is how Page Source looks
Now, when we find the text we are looking for, we need to look near it and find this class
< class="activity label" id="module-XXXX >Where XXXX is a number and is the ID label we are going to use
![Page 9: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/9.jpg)
By Maryel Mendiola
Yes !!!
![Page 10: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/10.jpg)
By Maryel Mendiola
![Page 11: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/11.jpg)
By Maryel Mendiola
Once edit URL is typed, the ‘Updating Label’ page appears
It is highly recommended to delete Everything in this Label through button
![Page 12: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/12.jpg)
By Maryel Mendiola
This way it is guaranteed that no code stay there
pernicious code
pernicious code
activated
![Page 13: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/13.jpg)
By Maryel Mendiola
We just type a point (or other short character)
And we get this
When it is everything deleted:
![Page 14: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/14.jpg)
By Maryel Mendiola
Our front page recovered and clean ☺
The right Blocks are
back!!
We can see The Topics
again
Editing Icons
recovered
Do you see the point we
typed?
![Page 15: How to fix corrupted Labels Moodle 1.9](https://reader033.vdocuments.net/reader033/viewer/2022042517/568c535d1a28ab4916ba7c4d/html5/thumbnails/15.jpg)
By Maryel Mendiola
MariaMaria