How do I delete the 'Last modified' at the end of the page?

How do I delete the 'Last modified' at the end of the page?

by Yaniv Cohen -
Number of replies: 5
Hi,

Does anyone know how do I delete the 'Last modified ' date at the end of the page?

Thanks!
Average of ratings: -
In reply to Yaniv Cohen

Re: How do I delete the 'Last modified' at the end of the page?

by Steven A -
It's possible to hide it by adding the following CSS to the bottom of your stylesheet:

.mod-resource .modified {
display:none;
}

To truly delete it, you'll have to go into the core code.
In reply to Steven A

Re: How do I delete the 'Last modified' at the end of the page?

by Susan Mangan -

Hi, I am running v2.2 and I can't seem to figure out where to insert this to remove the last modified date on a Page resource.  I have tried various css files within the theme folder.  Any ideas?  Thanks!

In reply to Susan Mangan

Re: How do I delete the 'Last modified' at the end of the page?

by Susan Mangan -

I got around this by just commenting out the code within the Mod/Page/View.php


This is a highly useful feature and very beneficial in many ways but it would be nice for the end user to be able to choose whether or not they wish to display the last modified date or not.  I can see how some teachers might not necessary want to alarm their students to any minor changes they have made. smile

Average of ratings: Useful (3)
In reply to Susan Mangan

Re: How do I delete the 'Last modified' at the end of the page?

by Zabelle Motte -
Picture of Particularly helpful Moodlers

Hello,

I am using a 2.7 Moodle instance and I try to show the last modification date.

I do not find any trace of a .modified css class in the default template.

Any idea on how to proceed ?


Thanks in advance for answers.


Zabelle

In reply to Zabelle Motte

Re: How do I delete the 'Last modified' at the end of the page?

by Debbie Kay -

Thanks Susan, this works in 3.0.6 too smile