how to fix corrupted labels moodle 1.9

Post on 06-Jul-2015

1.546 Views

Category:

Education

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

By Maryel Mendiola

1.91.91.9

How to fix corrupted Labels

How to fix corrupted Labels

By Maryel MendiolaBy Maryel Mendiola

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.

By Maryel Mendiola

Look at this Label. It makes freaky things

By Maryel Mendiola

Like this:

By Maryel Mendiola

By Maryel Mendiola

Right click and “View Page Source”

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

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

By Maryel Mendiola

Yes !!!

By Maryel Mendiola

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

By Maryel Mendiola

This way it is guaranteed that no code stay there

pernicious code

pernicious code

activated

By Maryel Mendiola

We just type a point (or other short character)

And we get this

When it is everything deleted:

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?

By Maryel Mendiola

MariaMaria

top related