Resource types

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

 
Picture of Yaniv Cohen
How do I delete the 'Last modified' at the end of the page?
 
Hi,

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

Thanks!
 
Average of ratings: -
Picture of Steven A.
Re: How do I delete the 'Last modified' at the end of the page?
 
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.
 
Average of ratings: -
Picture of Susan Mangan
Re: How do I delete the 'Last modified' at the end of the page?
 

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!

 
Average of ratings: -
Picture of Susan Mangan
Re: How do I delete the 'Last modified' at the end of the page?
 

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)
Picture of Zabelle Motte
Re: How do I delete the 'Last modified' at the end of the page?
 

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

 
Average of ratings: -
Picture of Debbie K
Re: How do I delete the 'Last modified' at the end of the page?
 

Thanks Susan, this works in 3.0.6 too smile

 
Average of ratings: -