Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - includes in custom header
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

includes in custom header

 Post Reply Post Reply
Author
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Topic: includes in custom header
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (1) Thanks(1)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 16 August 2012 at 12:17pm
thanks for the reply - all sorted brill
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.