Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tips for replacing an old site

Status
Not open for further replies.

brendaly

IS-IT--Management
Mar 17, 2005
25
US
I've been handed a very large and unorganized site and asked to redesign it. I've got a design, using css, but I'm a bit stumped as to how to proceed. This is my first time doing this, and I really have to tech support. I need some sort of steps to follow. Any ideas of resources? Also, I have to figure out how to use SSI so that I can make the header, side nav, and footer individual files that are included on each page, but still be able to manipulate the body content on each page outside of the includes. That is getting difficult for me, and I'm getting behind deadline. Any ideas? Please?
B

 
Thank you, Chris, but unfortunately, the link does not work.
B

 
Thanks Chris, I am trying to follw these instructions from the link you sent. Do I need to create another file to include called content? This is a magazine website, and I want the header, footer, and side navigation to remain constant, while the content of each page changes. However, I'm having problems making this work; see the link below. Thanks you

<ahref="
 
Nope.

Each new page has the content while the common features are included into it.
This is the layout page from one my sites. Navigation in this case is coded as a function because it is pulled from a database and created on the fly, but having another include directive there would not be a problem.
Code:
<%option explicit%>
<!--#include virtual="/include/functions/inc_funcs_gen.asp"-->
<!--#include virtual="/include/code/inc_code_login.asp"-->

<!--#include virtual="/include/page/inc_page_dtd.asp"-->
<html>
<head>
<title></title>
<!--#include virtual="/include/site/inc_page_charset.asp"-->
<!--#include virtual="/include/site/inc_page_img-toolbar.asp"-->
<meta name="description" content="" >
<meta name="keywords" content="" >
<!--#include virtual="/include/site/inc_page_styles.asp"-->

</head>

<body>
  <div class="main">
    <div class="content">
<!--#include virtual="/include/site/inc_page_header.asp"-->
    <div class="leftside">
       
      <div class="navigation">
         
        <% Navigation() %>
        <!--#include virtual="/include/page/inc_page_login_form.asp"-->
      </div>
      <!--navigation-->
    </div>
    <!--leftside-->
       
    </div>
    <!--content-->
      
<!--#include virtual="/include/site/inc_page_footer.asp"-->
  </div>  <!--main-->
    
</body>
</html>
When I need a new page, this (layout.asp) is opened and Saved As a new filename and bobs, instant new page.

You will note I also code the DTD, stylesheet & charset as includes, this gives me the ability to change any of these sitewide with one single edit. could be useful if you have several thousand pages. And having a stylesheet as an include means I can test a whole new style at one hit and/or have the ability to "skin" the application by setting a flag.

Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top