MB Revisions in combination with MB Custom Table and Custom Post Type
Support › MB Revision › MB Revisions in combination with MB Custom Table and Custom Post TypeResolved
- This topic has 6 replies, 5 voices, and was last updated 1 year, 11 months ago by
SoloAnt.
-
AuthorPosts
-
October 11, 2018 at 2:20 AM #11593
Lisa Tally
ParticipantMy setup:
- MB Revision is enabled in the AIO dashboard
- Custom Post Type
- supports: title, revisions
- uses a custom field group (built with the Builder)
- settings tab: Custom Attributes setrevisiontotrue, custom table turned onI have confirmed that data is successfully saved in the db, but future edits to the post type are just updating the record, not creating any kind of revision history.
I also checked and confirmed that revisions are being saved if I do not use a custom table (though only the title is being saved - not any custom meta field data)
Thanks for any help you can provide.
October 12, 2018 at 11:12 AM #11603Anh Tran
KeymasterHi Purdue,
There's a bug that MB Revision doesn't work with custom table yet. We're working on that. Please wait for a few days.
October 18, 2018 at 3:03 PM #11654Anh Tran
KeymasterHi Purdue,
I've just pushed an update for both MB Revision and MB Custom Table. Now they work well together and you can use them to track revisions for CPT in custom tables. Please update and let me know if you find any problem.
October 19, 2018 at 1:13 AM #11667Lisa Tally
ParticipantThanks, the revisions are now being saved. I'll post back here if I encounter any issues implementing it.
November 23, 2022 at 6:07 PM #39283Jonathan
ParticipantHi Anh !
Happy to read on this topic, and understand there was an issue AND a fix since 🙂
But it seems it doesn't work again ?My setup is the same than Lisa Tally and everything works without custom table.
But
With my custom post type, I'm trying to activate MB Custom table for performance, and I would like to get revisions for custom fields as well so I'm testing... While my data is successfully updated in the custom table row, I don't find the previous data (revised data).
Nothing in postmeta table, nothing in custom table, and nothing appear in UI.When I browse into the UI revisions from my post, except the title no custom fields appears as edited.
Thanks for your help.June 12, 2023 at 11:13 PM #42171TTI Licensing
ParticipantI'm having the same problem as Jonathan above. Is there something else that needs to be configuredto get revisions to work?
December 16, 2023 at 3:04 AM #44104SoloAnt
ParticipantHi @Anh Tran, this seems to be a problem again, where only the cpt title is being displayed and none of the field data. Any fixes for this?
I have revision true set on the field group within the custom settings.
I'd like to be able to see when a particular custom field was edited and what it's new value was updated to.
OR does something else need to be configured to make the fields show up in the revisions?
-
AuthorPosts
- You must be logged in to reply to this topic.