Edit text show after post edit
Replies 10
Hi,
If you want to display in initial thread, edit just one file.
Open view.php file and edit ligne 25 approximately, search this code:
Add this after:
Now display if you want on this template for example (Ligne 90):
If you want to display in initial thread, edit just one file.
Open view.php file and edit ligne 25 approximately, search this code:
$tag = isset($topicEntry['tag']) ? $topicEntry['tag']. ' ' : '';
Add this after:
$lastModified = @filemtime(DATA_DIR. 'topic' .DS.$_GET['topic']. '.dat.php');
$lastedited = 'Last edited on: ' .date($config['date_format'], $lastModified);
Now display if you want on this template for example (Ligne 90):
<i class="fa fa-calendar"></i> ' .Util::toDate($_GET['topic'], $config['date_format']). ' / ' .$lastedited. '
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Oops 😯, ignores my modification, because it is currently not possible to have the date of last edition.
Each reply is added to the subject file, which distorts the author's last edition date.
I note it to add it in the next version.😎
Each reply is added to the subject file, which distorts the author's last edition date.
I note it to add it in the next version.😎
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Added to my Todolist and it ready here ;)
Edit: try date change for my edit post.
Edit: try date change for my edit post.
Last modified by Fred on Thursday 1st January 1970, 01:00:00
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Suggested Topics
Ben@84171e7c
started Is the Image Upload button working?
General Questions
ubuntu@4c26c8f7
started How do I access the admin config?
General Questions
shoaiyb@b4cd1e7b
started Does this needs attention? Or is it normal?
Bug reports
Aurel#62177
started After install error
General Questions