Jump to content

Change creation data "Pages" article


Duken

Recommended Posts

Posted

Dear,

We have a lot of tutorials created with pages. We update and renew this tutorials when a product is changed.

The creation date stays the same of the edited page.

Example: We create a tutorials how to change background for Windows 7. We renew this to Windows 8 and then Windows 10. But the creation date stays on 01-01-2007. When a user search on Google how to change a background it shows a page created on 2007. 

How can we change this? Can we modify the creation date on a easy way?

 

Regards,

  • 2 weeks later...
  • 3 months later...
Posted

Change your template to show the last edited date instead of the create date.   Even if you make the label for it "create", you want to display the edit date.  (The create date is correct.  It was CREATED back then.  You instead want to show when it was last EDITED.)

{$record->editLine()|raw}

Posted

Thank you Randy.

The thing is i also have pages blocks like. It also shows creating date. Is there a way to change these values?

screenshot-www.duken.nl-2017-05-29-08-32-39.thumb.png.a6459d2444034528c69d20dc5d6dddae.png

 

 

Posted
25 minutes ago, opentype said:

Same procedure. You just open the “block template” section in the template manager and find the SuperGrid block template in this case.

Thank you.

Im opening:

Pages --> Templates 
HTML --> Block Plugin templates --> Supergrid
But i cant find $record->editLine

Could you please help me out? :)

Regards

Posted

It should be:

old:<span class="SG_hold_together">{datetime="$record->record_publish_date"}</span>

new:<span class="SG_hold_together">{datetime="$record->editLine"}</span>

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...