Creighton Students
Manual Home  >  Typo3 assistance  >  Workspaces  >  The Tools  >  Display Versions
Display Versions

Content:

Display Versions workarea for pages

Click for full size:

  1. This column will have a flashing red arrow for the version currently live. The top arrow button is "Swap with current" and will swap the draft with the live.
  2. Edit - this will take you to the records edit screen.  Editing this will not create any new versions.  You have to edit in the workspace you created the version in (or get an error).
  3. Delete - delete the version (not the entire record).  You have to delete from the workspace you created it in
  4. Open this version in the page module
  5. Open this version in the list module
  6. Preview this version - The live version will not have a preview icon as it is currently live on your site.  WARNING, this will not work.  If you "preview" a version you will get an error.  This is a known bug!
  7. Pagetitle - You can have one page with different pagetitle in different versions
  8. UID - The unique ID of the page, new versions will not have the same id, Typo3 keeps track of what page the new version is for under oid (next column)
  9. Oid - the unique ID of the page that this is a version of, the original ID
  10. Id - this is the version id.  You can see from above I have 6.  The 0 is the live version plus 5 hidden versions.
  11. Wsid - workspace id, Live = 0, Draft = -1, Custom workspaces start at 1 and increment.
  12. State - when you create an element in Draft or a Custom Workspace (not Live Workspace), it will create two versions, the "First Draft Verions" state = -1 and the "INITIAL PLACEHOLDER" version state = 1; 2 = deleting in draft (this refers to deleting the entire page, not deleting the version);   Pages that have been moved (version label will be "MOVE-TO PLACEHOLDER for #xxxx", where xxx is the id of the moved page) = 3; and the placeholder for the page that was moved (version label will be "Placeholder version for moving") = 4).  See workspaces- process - moving pages in draft for more on moving pages in draft.
  13. Stage - what stage this version is in.  10 = publish, -1 = reject, 1 = review, 0 = no versioning
  14. Count - an element or page can be published or unpublished (swapping versions).  Each time an element goes live the count is incremented by 1.  
  15. Pid - the parent page id.  The pid for all non-live versions is -1.
  16. T3ver_label - Label of the version. "First draft version" and "INITIAL PLACEHOLDER" are both Typo3 labels. You can edit the label so it means more to you.
  17. Diff - When you click "Diff" you can see the differences between the versions.  You do have to choose which versions to compare.  You can, however choose which color to view it in, red or green.
  18. If the page is a branch it will show the subpages and content of the branch.  You can tell which is content and which is pages by the label over the area, tt_content for content and pages for pages.
  19. Edit the content or the page properties of this branch element.
  20. Delete this piece of the version (you are not deleting the entire branch or version, just the element).
  21. If this is a page, you can edit in the page module.
  22. If this is a page, you can edit in the list module.
  23. The Unique ID for the page or the content element in that branched version
  24. Guess what...branched versions can have versions too.  If there is a number here it indicates there is a version and you can go to the "Display Versions" for this element.  If there is no number then there are no versions.
  25. Page name or content header (or a short clip of the content).
  26. Label textbox- where you can create a label (#16) for a new version.  If you create a new version without giving it a title, it will give the version a timestamp for the label.
  27. Version type Select - what kind of version you are creating , just the page, the page and content or the page, content and subpages (branch).
  28. Click to create a new version.  

To top

Display Versions workarea for content

Click image for full size:

  1. This column will have a blinking red right facing arrow for the version currently live. The top arrow button is "Swap with current" and will swap the draft with the live.
  2. Edit - Edit this record (Text, Insert Records, Menu/Sitemap, Header, HTML, Mail Form, Plugins).  Editing this will not create any new versions.  You have to edit in the workspace you created the version in (or get an error).  When you save you will return to the Display Versions workspace.
  3. Delete - delete the version (not the entire record).  You have to delete from the workspace you created it in
  4. Preview this version - WARNING, this will not work for versioned content.  If you "preview" a version you will get the current content.  This is a known bug!
  5. Title - Actually for content this is the Header (or if it's a non textual content, the name).  If there is no header, then it's a short piece of the content.
  6. UID - The unique ID of the content element, new versions will not have the same id, Typo3 keeps track of what page the new version is for under oid (next column)
  7. Oid - the unique ID of the content element that this is a version of, the original ID
  8. Id - this is the version id.  So if you have 5 versions plus the live element you would see 0 - 5 here.
  9. Wsid - workspace id, Live = 0, Draft = -1, Custom workspaces start at 1 and increment.
  10. State - when you create an element in Draft or a Custom Workspace (not Live Workspace), it will create two versions, the "First Draft Verions" state = -1 and the "INITIAL PLACEHOLDER" version state = 1; 2 = deleting in draft (this refers to deleting the entire page, not deleting the version);   Pages that have been moved (version label will be "MOVE-TO PLACEHOLDER for #xxxx", where xxx is the id of the moved page) = 3; and the placeholder for the page that was moved (version label will be "Placeholder version for moving") = 4).  See moving pages or content in draft for more on moving pages or content in draft.
  11. Stage - what stage this version is in.  10 = publish, -1 = reject, 1 = review, 0 = no versioning
  12. Count - an element or page can be published or unpublished (swapping versions).  Each time an element goes live the count is incremented by 1.  
  13. Pid - the page id that this content is on.  The pid for all non-live versions is -1.
  14. T3ver_label - Label of the version. You can change this label to something more meaningful for you. If you create a new version without giving it a title, it will give the version a timestamp for the label. You can edit the label so it means more to you.
  15. Diff - When you click "Diff" you can see the differences between the versions.  You do have to choose which versions to compare.  You can, however choose which color to view it in, red or green.
  16. Label - where you can create a label (#16) for a new version
  17. Click to create a new version.

To top

Swapping with the current version

While you cannot actually "Publish" from this workarea, but you can swap the current live version with another version.  You can swap an element out as often as you like.

Pick the one you want to go live, then click the left pointing arrow in the left most column.

Click image for full size:

You will not get a warning or a dialog box asking if it's okay to do this, it will just switch. 

Click image for full size:

You can easily swap it right back by clicking the left arrow again!

Click image for full size:

To top

Editing the Version Label

You can change the label for the version to anything that is clear for you.

Click the "Edit"pencil icon next to the label.

Click image for full size:

Then change the label to something that is clear for you.

NOTE if you click the "Delete" garbage can icon at the top, you will delete the entire version!

Click image for full size:

To top

Seeing the "Diff"

As in the preview of draft content you can see the differences in red or green.  However unlike the preview of draft content you can pick which color to use for the differences.

Choose which you want to compare.   You can only choose one red and one green.

Click image for full size:

Identical content will be in black.  With the differences, you choose which to show in red and which to show in green.

Click image for full size:

Or you can reverse it.  Click image for full size:

To top

Lots of versions

How many versions can you have?  Well in Draft you can only have 1 version in addition to the currently live version but in Live you can have as many as you need.

If you create versions in the Live Workspace, these will not show in the Draft workspace.  You won't see them at all.  However, if you create versions in the Draft workspace, you will see them in the Live workspace.

So if you have a page that you have created 3 extra versions in the Live workspace and created 2 extra versions in the Draft workspace you would see a #2 in the Draft workspace and #5 in the Live workspace.

The grayed row with the red flashing arrow is the current version.  You can have many many versions of the content.   In the image below the content has 3 versions beyond the live verson.   We have one content element on a page in Creighton.edu that has 56 versions. 

Click image for full size:

Creighton University