UNL Templates Dreamweaver Setup
To begin using the UNL Templates, please register for one of the training courses offered by the Instructional Technology Group.
- If you are using the templates on a server other than www.unl.edu your server needs to be configured first, see UNL Templates on other servers.
Once you have taken the training course and have the UNLTemplates.zip package, extract the zip file to the local web root for your site.
Setting up Your Template-Based Site
- Choose or create a folder in which to store the local copy of your site. Place the â�?��?sharedcodeâ�?��?� and â�?��?Templatesâ�?��?� folders into the local root folder for your Web site.
- In Dreamweaver define your site by choosing Site > Manage Sites. Click on â�?��?Newâ�?��?� and choose â�?��?Siteâ�?��?�. Define your site name and local root folder (the same folder in which the â�?��?sharedcodeâ�?��?� and â�?��?Templatesâ�?��?� folders were just placed).
- Go to the â�?��?Remote Infoâ�?��?� screen. â�?��?Access: FTP,â�?��?� fill in â�?��?FTP Host,â�?��?� â�?��?Host Directory,â�?��?� â�?��?Loginâ�?��?� and â�?��?Passwordâ�?��?� and choose â�?��?Okayâ�?��?� and â�?��?Done.â�?��?�
- Select File > New. Click on â�?��?Templatesâ�?��?� at the top of the dialog box. Navigate to your site and choose which template you wish to use â�?��?? a preview will be displayed to the right. (The â�?��?unlstandardsetâ�?��?� and unlframeworkâ�?��?� templates are not appropriate for use as a foundation for page design, but must remain in the â�?��?Templatesâ�?��?� folder.) Make sure the â�?��?Update Page When Template Changesâ�?� box is checked and click â�?��?Createâ�?��?�.
- Dreamweaver now opens a new web page for you. Save the file to your root folder using an appropriate name with the appropriate file extension (.shtml for pages hosted on www.unl.edu, .php or .asp for other servers as appropriate) â�?��?? this creates a separate file and will not alter the template file.
Now that your CSS site is set up, you can start creating individual pages from a new Dreamweaver template.
Creating Your CSS Template-Based Page
To add content: There are 4 editable areas within each template for your content. There are also 6 editable files you can customize in the â�?��?sharedcodeâ�?��?� folder.
The editable content areas which should differ on each page:
- Document Title 'UNL | Department | Page'
- Title <h1>Department</h1><h2>Subhead</h2>
- Breadcrumbs â�?��?? the â�?��?You are hereâ�?��?� statement at the top left of each page.
- Main Content Area â�?��?? This area can be treated like a traditional html page.
The 4 editable sharedcode files which should stay the same throughout your entire site:
- navigation.html â�?��?? This file creates the first and second navigation lines at the top of your page. Each item in the first nav-line is a list and the corresponding second nav-line is an unordered list within the first. * Remember to apply the â�?��?firstâ�?� class to the first item in each <li> and <ul> so that special formatting does not appear before the first link item.
- relatedLinks.html â�?��?? Left column links are found in this file. The setup is similar to that of navigation.html. Again, remember to apply the â�?��?firstâ�?� class to the first link.
- Customizing the following files is optional:
- footer.html â�?��?? Customize the name, address, telephone etc. at the bottom of each page in this file. Keep the â�?��?�?©2007 UNLâ�?��?� and customize or keep the â�?��?comments?â�?��?� link.
-  = URL of image source (.jpg .gif) Please note that the image size of the random promo has changed from the old templates, the image should now be set to 210 x 80 pixels.
-  = ALT text description of the image
-  = URL to take the client to when the image is clicked
- The images will rotate after the number of seconds given to the rotateImg function (â�?��?20â�?��?� is standard).
Now that your site is configured, continue with the content & style resources.