OIT Tech 32px
pagemasters toolbox -- classic commonspot

V6 Re-building a Page on a New Template


The following steps are appropriate when you need to rebuild an existing classic CommonSpot page using a different template.  This need may arise if you realise that you have pages built on templates that were not properly "locked-down."  Such pages would be vulnerable to damage while revising the template. 

In the following steps, "page1.cfm" is the last part of the URL of the existing page that you are going to replace.

If you encounter problems, please contact OIT by e-mail to servicedesk@ohio.edu or telephone (593-1222).

 

Step-by-Step


  1. Create a template that has appropriate placeholders for all page-specific content.

  2. Lock-down that new template.

  3. Create a new page, using that new template (most likely from the "Shared Templates" section of the Template Gallery), and giving it a name of "new-page1" (this will mean that its URL ends "new-page1.cfm").

    Your life will be simpler in several of the later steps if you set the CommonSpot Title, the Title Bar Caption, and the Description to be different in some simple way from those of "page1," but still appropriate for the content of the page.

    You should inspect the new page, confirming that step 2 was completed correctly, by seeing that there are no tool icons for content coming from the template.  There will, of course, be tool icons for the page-specific content placeholders.

  4. Define each placeholder in "new-page1" so that you have the "Click to insert new element" phantom links where you want to place your content.

  5. Select "View Page as published" on "new-page1."

  6. Go to "page1" and select "Work on this Page."

  7. Find an element whose content still needs to be added to "new-page1."

  8. Click on that element's "Element Properties" icon ; click on "more..."; and choose "copy element" from the menu.  Be careful to avoid the adjacent choice, "delete element..."!

  9. Select "View Page as published" on "page1."

  10. Go to "new-page1" and select "Work on this Page."

  11. Identify the place on the page where the element that you just copied should be placed, and click on the appropriate phantom link to insert the element there.

  12. Select "Paste Element" from the top of the Element Gallery.

  13. If there are any more page elements that have not yet been copied and pasted, go back to step 5; otherwise, proceed to step 14.

  14. Choose "Preview" mode and test the page to confirm that everything looks and works as it should.

  15. Select "View Page as published" on "new-page1."

  16. Go to "page1"; click on the Action button on the content-spanning toolbar; select "Rename" from the menu.

  17. Give the page a name of "old-page1."

  18. Go to "new-page1"; click on the Action button on the content-spanning toolbar; select "Rename" from the menu.

  19. Give the page a name of "page1" so that it replaces the original page, but this time built on a properly locked-down template.

    At this point, all external links and all hard-coded links from CommonSpot pages will work, but CommonSpot-managed links, which were created using the CommonSpot tools, will have been "fixed" automatically by CommonSpot as part of step 17, so that they are now pointing  to "old-page1."  The remaining steps will fix that.

  20. Go to "old-page1"; click if necessary to expand the left column; click on "Page Tools" at the bottom of the column, if it is not already selected; and select "Referring Pages" from the Quick Links section of the menu near the top of the left column.

  21. You will see a list of all those CommonSpot pages that contain a link to the current page, where the link was constructed by using the CommonSpot tools.

  22. Select all of those pages, by clicking in each of the corresponding check-boxes at the left.

  23. Click on the button, "Change References..." at the lower right.

  24. Choose a Type of "Page or Bookmark on Page."

  25. Click on the "Choose from current subsite..." button.

  26. Find and identify what is now "page1"; click on it, so that row is highlighted.

  27. With "page1" highlighted, click on the "Use Highlighted Page" button at the lower right.

  28. Click on the "Save" button and click on "OK" to confirm changing the links.

  29. Observe the Referring Pages lightbox; it will reload with the list of pages that still have links going to old-page1.cfm -- if all is well, that would be zero pages.  When finished, close the lightbox.