[thelist] Best/Good way to organize a website.
Chris W. Parker
cparker at swatgear.com
Wed May 1 17:15:09 CDT 2002
josh,
> So how one do a page that has one template call that allows
> for a header and
> footer? Or a side bar for that matter?
i'm sorry, i meant to answer this earlier.
as far as i understand it, it goes like this...
there are two files, template.asp and content1.asp
content1.asp (i'm using aardvark's example)
==========
<%
strTitle = "page title here"
strMetaDescription = "meta description here"
strMetaKeywords = "meta keywords here"
%>
<% SUB Content %>
<p>
Content
</p>
<% END SUB %>
<!--#include file ="includes/template.asp"-->
==========
and template.asp is like this...
==========
<body>
<head>
<%= strMetaDescription %>
<%= strMetaKeywords %>
<title><%= strTitle %></title>
</head>
<body>
<%
Content
%>
</body>
</html>
==========
does it make sense what he's doing now?
chris.
>
> Josh
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
More information about the thelist
mailing list