Duken Posted February 7, 2017 Posted February 7, 2017 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,
Randy Calvert Posted May 28, 2017 Posted May 28, 2017 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}
Duken Posted May 29, 2017 Author Posted May 29, 2017 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?
opentype Posted May 29, 2017 Posted May 29, 2017 Same procedure. You just open the “block template” section in the template manager and find the SuperGrid block template in this case.
Duken Posted May 29, 2017 Author Posted May 29, 2017 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
opentype Posted May 29, 2017 Posted May 29, 2017 You want to replace: {datetime="$record->record_publish_date"}
Duken Posted May 29, 2017 Author Posted May 29, 2017 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>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.