- IDs & Accounts
- Networks / Telephones
- Academic Services
- Information Security
- Web Services
- Bobcat Depot
- OIT Projects
- About OIT
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 firstname.lastname@example.org or telephone (593-1222).
Create a template that has undefined tabular layouts as placeholders for all page-specific content.
Lock-down that new template.
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..
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.
Select "Read" mode on "new-page1."
Go to "page1" and select "Author" mode.
Find an element whose content still needs to be added to "new-page1."
Click on that element's "Element Properties" icon and choose "copy element" from the menu. Be careful to avoid the adjacent choice, "delete element..."!
Select "Read" mode on "page1."
Go to "new-page1" and select "Author" mode.
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.
Select "Paste Element" from the top of the Element Gallery.
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.
Choose "Preview" mode and test the page to confirm that everything looks and works as it should.
Select "Read" mode on "new-page1."
Go to "page1" and select "Rename" from the page and template management menu at the top right.
Give the page a name of "old-page1."
Go to "new-page1" and select "Rename" from the page and template management menu at the top right.
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.
Go to "old-page1" and select "Referring Pages" from the Knowledge Maps menu at the top left.
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.
Select all of those pages, by clicking in each of the corresponding check-boxes.
Click on the button, "Change Link References..."
Choose "Link to Existing Page, Uploaded Document or URL."
Click on the "Next" button.
Use the Page Gallery to find and identify what is now "page1."
With "page1" highlighted, click on the "OK" button.
Click on the "Finish" button.
Click on the "Save" button and click on "OK" to confirm changing the links.