corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML Help (include file)


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author HTML Help (include file)
Ash_EP3
Member

Registered: 15th May 07
Location: Melksham, Wiltshire
User status: Offline
8th May 09 at 16:59   View User's Profile U2U Member Reply With Quote

I am just having a spot of bother with my website I have included two include files (header & footer) but for some reason when I preview my pages using dreamweaver the include files do not appear although they are visible whilst looking at the page in design view (using dreamweaver)

I am thinking it might be because I haven't managed the site to preview the files onto my hosting server (they are only being viewed locally)?

Any help much appreciated!

p.s if you want any code or want me to post the code I am more than happy to do so thanks
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
8th May 09 at 18:13   View User's Profile U2U Member Reply With Quote

Do you mean if you preview them in IE/Firefox or whatever it doesn't work?

What type of include are you doing?
If its an ASP or PHP include does you local server support that type of script?
ed
Member

Registered: 10th Sep 03
User status: Offline
8th May 09 at 18:23   View User's Profile U2U Member Reply With Quote

If you are doing includes using html then you'll be using SSI. Your host might not let you use SSI without using the right file extension. If you've got something like this:

<!--#include virtual="menu.html" -->

You need to use a file extension like .shtml for it to work properly in most cases.
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
8th May 09 at 23:51   View Garage View User's Profile U2U Member Reply With Quote

Depends whether the server is configured to parse SSI.

Post the bit of source code where the include should be happening to give us a clue what you're using.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Some website help please? madboutcars Geek Day 29 2442
11th May 03 at 17:11
by madboutcars
 
how do i load/burn a .img file? M2RTY Geek Day 22 1583
19th Nov 07 at 12:13
by dave17
 
Changing HTML into exe Andy GSi Geek Day 12 1235
7th Mar 06 at 15:56
by Alex
 
any web designers here??? KITcorsa Geek Day 7 1555
12th Jul 06 at 19:16
by Dom
 
nuerburg ring webcam as desktop Jas Geek Day 38 1228
10th Apr 08 at 07:52
by Jas
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML Help (include file) 28 database queries in 0.0139399 seconds