-
1. Re: dynamic footer and templates
pziecina Jun 11, 2009 11:59 AM (in response to I Love Doing Websites)Use an include, but make certain your link are site root relative, and not page relative.
PZ
-
2. Re: dynamic footer and templates
I Love Doing Websites Jun 11, 2009 12:16 PM (in response to pziecina)Thanks, but how do I tell dreamweaver to put the
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
at the top of the children pages from the template? or if I use an include I do not need to use it? -
3. Re: dynamic footer and templates
pziecina Jun 11, 2009 12:30 PM (in response to I Love Doing Websites)If you use an include, include any code you require in it (the include file).
(Sorry for using include so much but!)
PZ
-
4. Re: dynamic footer and templates
Nancy O. Jun 11, 2009 12:42 PM (in response to I Love Doing Websites)More on Server Side Includes:
http://www.smartwebby.com/web_site_design/server_side_includes.asp
Include file should only contain the relevent mark-up or code for that section of the page. IOW no document type <html> <head> or <title> tags should be inside an include as this is already in the parent page.
A simple footer include file might look like so:
<div id="footer">
footer code goes here
</div>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
5. Re: dynamic footer and templates
I Love Doing Websites Jun 11, 2009 3:35 PM (in response to Nancy O.)thank you very much,
can you go and see my other post please, I am lost, I can use the includes now but I am getting really confused when I am using 2 includes, where do i put the database connection string? the dbconnection string is an include itself but should it be repeated in the 2 includes files?
see my othe posting please here
thank you very much!!




