Questions tagged [entry-versions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
5answers
2k views

Delete all old versions from the database

I've been working on a site for a while in beta. The number of versions for all the pages is getting big and the database is now over 2MB. I'd love to just delete all the old versions of all pages ...
6
votes
2answers
857 views

Comparing 2 versions of an entry and highlighting the changes

I'm new to Craft and I'm wondering if Craft is able to display the differences within an entry in different versions. Comparing 2 versions of the entry and highlighting the changes. Something ...
4
votes
2answers
611 views

Get the author of current entry version?

How would I go about to get the author from the current version / revision of the entry I'm on? Im trying to get "last updated by" in frontend, but authorId on the entry seems to be the original ...
3
votes
1answer
861 views

Entry versioning history only shows last 10 versions

My client wants to look through very old versions of a certain page entry, but the Recent Versions drop-down is only showing a max of 10 entries. I know that older versions of the page exist because ...
2
votes
1answer
65 views

Show entry version history on front end

We have some content that needs to display a log of changes (legal docs, terms etc) Could I use version history for this? I found this for Craft 2 but doesn't work on 3... How can I display entry ...
2
votes
1answer
107 views

Entry Versions not showing up

I just noticed that none of my recent changes in an entry don't show up in the entry-versions button in the CP. Is it possible that these entry versions are triggered by the task runner? Because I ...
2
votes
1answer
277 views

Reduce Database size

I would like to reduce the size of a site's database. The reasons are as follows: To speed up the syncing process from live to local To hopefully speed up sql query execution time (an experiment) I ...
2
votes
2answers
386 views

Display old entry version content through twig?

Is it possible to output content from previous revisions of entries in the twig templates? I need to do a score comparison between say entry 1 and entry 1.1 to see if the value has increased then ...
2
votes
1answer
68 views

How can I retrieve older versions of a custom entry type in bulk?

I am building an API that returns instances of an entry type. Only authenticated users can access the API. There are different tiers of user - paid and free. Free users can access the API, but the ...
2
votes
0answers
115 views

Error when trying to view a previous version of an entry

I got this weird error message when trying to view a previous revision... Internal Server Error CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown ...
1
vote
1answer
49 views

If I try to preview a previous revision of an entry, I get “an unknown error occurred”

Craft 3.3.15 Previous version of the entry was saved 1 minute ago, so no changes in settings between the two entries. Any ideas on how to debug this? Update - here's the error, which looks very ...
1
vote
1answer
118 views

Disable entry versioning

Had a quick search online and I can't find a way to disable entry versioning. Is this possible? There's some plugins that do this but I'm hoping there's some config I can set somewhere?
1
vote
0answers
11 views

How to append current version to post URL - versioning a post

I'm middle of a PWA app and one of the problems facing is versioning, once the post cached using Service Worker and if any change amended(ex: if it is an event post, the event end date may be extended....