Print Page | Close Window

includes in custom header

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30439
Printed Date: 31 March 2026 at 4:48am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: includes in custom header
Posted By: mtm81
Subject: includes in custom header
Date Posted: 14 August 2012 at 4:56pm
in the custom header I'd like to include some dynamic code rather than just basic HTML.
 
Namely I have some existing includes for other parts of the site I'd like to bring into the header.
My header code needs to look like:
 
</head>
<body>
<div>some text here</div>
<!--#include file="inc_mainnav.asp" -->
<div>more text</div>
 
Obviousyl that include setup doesn't work so I'm guessing I need to manually edit the files that allow the custom header to suite my requirements - can anyone point me in the right direction on this?
(I'm using a premium brand free licence by the way if that helps)
Thanks



Replies:
Posted By: WebWiz-Bruce
Date Posted: 14 August 2012 at 5:47pm
For dynamic headers and footers like this you would need to edit the header.asp and footer.asp files located in the includes folder.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mtm81
Date Posted: 16 August 2012 at 12:17pm
thanks for the reply - all sorted brill



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net