Versioning - seeing which versions went 'live'?

Permalink
In the versions window for pages it would be great to see which versions went 'live' / were published and when, and which versions weren't ever published. Is this possible? Is there another way to get this information from concrete5?

Many thanks. Lee

 
ScottC replied on at Permalink Best Answer Reply
ScottC
every page is a collection, and every page has a collection version.

You'll want to look into the database under CollectionVersions, you'll see things like cDatePublic, cVersionApproved(?) stuff like that.

There are page methods/functions to check for each page version and look at the most recent collection version object and call functions that pull back properties of that page's object.
ljones replied on at Permalink Reply
Thanks ScottC - I think that will solve the problem.
ScottC replied on at Permalink Reply
ScottC
Hey Lee,
one thing to keep in mind is that every Page has a CollectionID also underlying with it, which is referenced by pretty much everything.

There are collection versions in the core and they do a whole lot of stuff, but I took a good look at them and they seem to me to be that collections are an "area wrapper" of sorts.

so Collection and Page can be used pretty much interchangeably, Page has a bunch more methods to access.