Indiana University Northwest
 
skip navigation bar
Indiana 
University Northwest
ribbon
skip navigation bar

Web Services

  

Advanced Search | Find People 
red line

Editing Web Page Templates

Read the Web Page Templates for more information on templates.

Steps for installing a new website

  • Getting the Department Template Files and unzipping them.
  • Set virtual links for styles folder - mkdir styles - change into styles directory
    • ( in styles folder use ln -s -f /ip/iunhome/www/iunstyle.css to create the link)
    • ( in styles folder use ln -s -f /ip/iunhome/www/iunstyle_print.css to create the link)
    • Change the rights on the styles folder so the file is not erased. chmod 555 styles
  • ssi folder virtual links - mkdir ssi - change into ssi directory
    • header.shtml - ln -s -f /ip/iunhome/www/sitessi/header.shtml
    • search.shtml - ln -s -f /ip/iunhome/www/sitessi/search.shtml
    • footer_top.shtml - ln -s -f /ip/iunhome/www/sitessi/include_footer_top.shtml
    • footer_bottom.shtml - ln -s -f /ip/iunhome/www/sitessi/include_footer_bottom.shtml
    • footer.shtml - ln -s -f /ip/iunhome/www/sitessi/footer.shtml
    • Locally open /ssi/include_footer_local.shtml replace footer e-mail with the webmaster's scrambled e-mail address to prevent spam caused by the e-mail address being listed on the web page. Protect your e-mail from spam but still have it on the web page.
      • after you are done editing, lock the ssi folder - chmod 555 ssi
  • Set secured side virtual links - read: Special note for .shtml web pages in the secured area
  • Securing site /folder from Search Engines while testing.

Now that your site is set for the files, you need to edit the template files by doing the following:

  • Globally search for ~iun5 and replace with ~testaccount or ~liveaccount actual name.
  • Globally search for Department and replace with actual name of Department.
  • Open contactus.shtml to edit and update.
  • Open Staff/index.shtml to edit and update.
  • Open Faculty (if appropriate) to edit and update.

 

  • Upload the pages to the website.

Your secured pages will give a "This page contains both secure and non-secure items." error. To avoid the errors you need to make some changes. Below user your web account name for yourwebaccountname.Use SSH Client to connect to your website. Change directory to be in the wwws directory, Make virtual links by typing the following in the in the wwws area:

From the wwws side do the following:

Type in wwws directory
Makes Virtual Link to
ln -s -f /ip/yourwebaccountname/www/img img
ln -s -f /ip/yourwebaccountname/www/ssi ssi
ln -s -f /ip/yourwebaccountname/www/styles styles
ln -s -f /ip/yourwebaccountname/www/links.shtml links.shtml
be sure to change links.shtml photo to:
https://www.iun.edu/~yourwebaccouintname/img/temppic.jpg
-- or error message will exist in secured area.
  • Go to the account and test.

Edit the rest of the pages and set the new links for the appropriate pages.

red line
Indiana University Northwest
3400 Broadway - Gary, Indiana 46408
(219) 980-6500
1-888-YOUR-IUN
(1-888-968-7486)

Comments:
Last Updated: 24 October 2006
Tobacco-Free IU Northwest
Copyright 1997– 2008, The Trustees of Indiana University
Copyright Complaints bullet Privacy Statement