15
1.9 1.9 1.9 How to fix corrupted Labels How to fix corrupted Labels By Maryel Mendiola By Maryel Mendiola

How to fix corrupted Labels Moodle 1.9

Embed Size (px)

Citation preview

Page 1: How to fix  corrupted Labels Moodle 1.9

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

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

By Maryel Mendiola

Look at this Label. It makes freaky things

Page 4: How to fix  corrupted Labels Moodle 1.9

By Maryel Mendiola

Like this:

Page 5: How to fix  corrupted Labels Moodle 1.9

By Maryel Mendiola

Page 6: How to fix  corrupted Labels Moodle 1.9

By Maryel Mendiola

Right click and “View Page Source”

Page 7: How to fix  corrupted Labels Moodle 1.9

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

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

By Maryel Mendiola

Yes !!!

Page 10: How to fix  corrupted Labels Moodle 1.9

By Maryel Mendiola

Page 11: How to fix  corrupted Labels Moodle 1.9

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

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

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

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

By Maryel Mendiola

MariaMaria