Before you start editing files that are in the new CSS-based template format, contact Esther Millar, Rose Koebel, Marian Davies, or Marina Wan to ensure that yur Dreamweaver Site has been defined and configured appropriately.
Updating a page
- Check Out the page that you would like to edit from the remote site.
- Open the file, and make the necessary changes.
- Links can be added using the link box in the Properties panel.
- Text can be formatted in the properties panel.
- Do not worry about the date at the bottom of the page, it will automatically update for you when you save.
- Save the page and put it to the server.
- Open the page in a web browser.
- Click the XHTML link at the bottom of the page.
- If the page is Valid you can check it in and close it, otherwise correct the errors.
Modifying the sidebar (if you have one).
- Get the sec_navbar.html file from the ssi folder on the remote site.
- Check the file out, and open it.
- Add or Remove items from the list. Make sure to leave the Skip Navigation item at the top.
- Adding a link is simply done by selecting the item and typing the filename of the page that you wish to link to in the link box in the Properties panel.
- Save the file and put it to the site.
- Navigate to a page within your site that uses the sidebar, and that you know validates.
- Click the validation button at the bottom to ensure it still validates with the changes that you have made to the sidebar. If it does not validate correct the errors.
- If the page validates save it and check it in.
Modifying the bottom navbar (if you have one).
- Get the footer_nav.html file from the ssi folder on the remote site.
- Check the file out, and open it.
- Items can be added or removed. Separate each item with a vertical bar ( | )
- Adding a link is simply done by selecting the item and typing the filename of the page that you wish to link to in the link box in the Properties panel.
- Save the file and put it to the site.
- Navigate to a page within your site that uses the sidebar, and that you know validates.
- Check that the link goes to the correct site.
- Return to the page.
- Click the validation button at the bottom to ensure it still validates with the changes that you have made to the sidebar. If it does not validate, correct the errors.
- If the page validates save it and check it in.
Creating a new page
- Connect to the site that you want to add a page to.
- To make sure you have the latest version of the templates select the Templates folder, and choose Site > Get. If the Templates that you have are up to date, you will not see anything happen.
- Select the top of your directory by clicking on it.
- Select File > New... . The file menu that you need to select is the one that is in the top left corner of the Dreamweaver window, not the one under the Files panel.
- Click the Templates tab at the top of the new document window.
- Choose the site to which you are adding a page from the list at the left hand side of the window.
- From the list in the middle of the window choose the template you wish to use. Make sure that Update page when Template changes is checked, and click Create.
- Save the page with the name you want, making sure to give it an .html extension. You should be looking at a page that is complete except for the content. The navbar may or may not appear, and it may appear as a rather long set of lists, do not worry, the site will look fine on the internet.
- Add a content title
- There is a green box labeled Header at the top of the document. Put your title in here.
- Select your title and from the properties box at the bottom of the screen, choose the Format list, and select Heading 1 . This setting may already be set for you.
- Change the <title> attribute. This is the text that appears in the title bar of the browser window when you open the page.
- At the top of the area where the page you are working on is shown, there is a box labeled Title. Click into this box at the beginning of it and add your title. This should read something like the following. Anything that is in square brackets needs to be replaced
[Current Page] | [Current Area] | Library | University of Waterloo
- At the top of the area where the page you are working on is shown, there is a box labeled Title. Click into this box at the beginning of it and add your title. This should read something like the following. Anything that is in square brackets needs to be replaced
- Add the content.
- Simply type or paste the information that you want to add to this page. You can add formatting such as bold and italics as well.
- If you add an image, make sure that you give an alt text which is an alternate description. This is used to make the page more accessible. You can add an alt text by clicking on your image, and then typing the description into the text box labeled alt.
- Links can be added by selecting the text or image that you would like to add the link to and then typing the address of the page or web site that you wish to link to in the Link text box.
- For information on linking to your e-mail address, read this page on spam protection (https://lib.uwaterloo.ca/staff/webops/antispam.html).
- Remember to save your page while working on it so that if something goes wrong you don't loose everything.
- If you have a pre made contact info section, click into the contact info section at the bottom and delete the content that is there. Then switch to code view and type
<!--#include virtual="ssi/contactinfo.html"-->
- Do not worry about the date at the bottom of the page, it will be automatically updated for you when you save.
- Save your page and Put it to the server.
- Open the page in a web browser.
- Click the XHTML link at the bottom of the page.
- If the page is Valid you can check it in and close it, otherwise correct the errors and return to step 14.
Changing contact info
- To change the contact information, select the ssi folder and then open the contactinfo.html page.
- Change any information that is necessary. If you need to change your e-mail address, you will need to switch to the code view and follow the instructions available at https://lib.uwaterloo.ca/staff/webops/antispam.html for spam protection.
- Save the file and check it in on the server.
- Make sure that the changes are valid by validating a page that uses the ssi and was known to validate before the changes were made.
Changing the title
- The title for each page is located in the green Header box.
- Make sure that the title is an H1.