OIT Tech 32px
pagemasters toolbox -- classic commonspot

V5 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 undefined tabular layouts as placeholders for all page-specific content.

  2. Lock-down that new template.

  3. Create a new page, using that new template (most likely from either the "Shared Templates" or the "My 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 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..

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

  5. Select "Read" mode on "new-page1."

  6. Go to "page1" and select "Author" mode.

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

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

  9. Select "Read" mode on "page1."

  10. Go to "new-page1" and select "Author" mode.

  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 "Read" mode on "new-page1."

  16. Go to "page1" and select "Rename" from the page and template management menu at the top right.

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

  18. Go to "new-page1" and select "Rename" from the page and template management menu at the top right.

  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 Page Gallery or the Page Finder, 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" and select "Referring Pages" from the Knowledge Maps menu at the top left.

  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 "Page Gallery" or the "Page Finder" mechanism.

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

  23. Click on the button, "Change Link References..."

  24. Choose "Link to Existing Page, Uploaded Document or URL."

  25. Click on the "Next" button.

  26. Use the Page Gallery to find and identify what is now "page1."

  27. With "page1" highlighted, click on the "OK" button.

  28. Click on the "Finish" button.

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