Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2024-10-31 19:25:55
- hurty
- Member
- Registered: 2004-07-17
- Posts: 27
Can't edit "publish date" for links
When I attempt to set the date for a link the date entered is never retained, instead the current date time is always saved.
I have tried with and without the “set timestamp to now” checkbox selected. When I look at a link in the admin interface, the publish date/time is indicated in the list of links, but when I click into an individual link to edit it, the date/time fields are set to the placeholder values: yyyy / mm / dd hh:mm:ss (both instances — publish date and publish time, as well as the “Date” fields at the bottom of the edit pane. Updating the date / time in any of these fields does not update the database to the selected values, but whenever I save edits to the link, it updates the date to the current time.
Offline
Re: Can't edit "publish date" for links
Strange. Other panels with date and time fields do not have that problem, such as Write panel, Edit Files, Images…?
When you change a date or time and save the edit, do you see a green success message (at the bottom of the window in the default theme)?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Can't edit "publish date" for links
I checked this on both textpattern demo versions and couldn’t reproduce what you describe. Both the current stable version (4.8.8) and the current beta (4.9) allow you to alter the link date to a date in the past or future. Similarly editing other link data and saving doesn’t update the link.
Some wild guesses / loose ideas:
- Is your site perhaps updated from an earlier version pre 4.8.0 version of textpattern. Possibly there are no recorded dates for your links (hence the placeholder values?), and the first time you save them, they are given a proper date and time. Are the dates not editable thereafter?
- Could your admin area be displaying cached values from the browser rather than the updated values. If so, there’s a plugin to try and mitigate that. If you have direct access to the database, you can check if the values are actually being changed in the DB but not showing on the panel.
- If none of these, do you have any other plugins active that might be negatively interacting with the link saving process?
TXP Builders – finely-crafted code, design and txp
Offline
Re: Can't edit "publish date" for links
Strange indeed. Another thing to check in addition to the above is the browser inspector Console/Network panels. Look for any errors or warnings that are triggered when you save the page. It may be that your server is rejecting the content for whatever reason and returning a status code that we’re not handling well.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline