Shows the last modification date.
Download ZIP file and copy it into your system/extensions
folder. Learn more about extensions.
Create a paragraph that shows the last modification date if it is at least one day after publishing date.
This extensions outputs following HTML code:
<p class="lastedit">Last edited: YYYY-MM-DD</p>
The date format depends on your settings in yellow-system.ini
.
You can influence the appearance of the paragraph by adapting the file system/extensions/lastedit.css
to your needs.
lastedit
as shortcut
[lastedit]
lastedit
with custom text
[lastedit "Custom text"]
You can also integrate it in your layout files with
<?php echo $this->yellow->page->getExtraHtml("lastedit") ?>
The following setting can be configured in file system/extensions/yellow-language.ini
:
LasteditText = default text
Robert Pfotenhauer. Get help.