Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2017-02-18 11:32:34
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Link-update date displayed. Any way?
If I update a link is there any way to get such date displayed?
Is <txp:link_date /> able to perform in order to display such information?
..an other little question: I’ve noticed, when I correct links, that sometimes the correction causes a link duplication. Is there any way to prevent that, when corrections are applied to the links stored in the database?
Last edited by Bongo-man (2017-02-18 11:37:01)
Offline
Re: Link-update date displayed. Any way?
Bongo-man wrote #304113:
If I update a link is there any way to get such date displayed?
Is <txp:link_date /> able to perform in order to display such information?
yes
possibly via a mysql query
..an other little question: I’ve noticed, when I correct links, that sometimes the correction causes a link duplication. Is there any way to prevent that, when corrections are applied to the links stored in the database?
I can not confirm this bug in my setup.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Link-update date displayed. Any way?
Bongo-man wrote #304113:
If I update a link is there any way to get such date displayed?
I don’t think so. There’s no database column for modified date for links (only files and articles as far as I can tell). I just tried changing an entry and the date doesn’t change. I think your only option would be to add a new link and delete the old link.
If you need to show recently added links, take a look at this post. If you just want to flag new links without ordering by date, you could try using etc_if_date
to see if link_date
lies between now and x days ago.
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1