OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Includes need help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Includes need help
Page: [1]
 
Johny2000

 

Posts: 33
Joined: 12/24/2008
Status: offline

 
Includes need help - 4/1/2009 13:37:09   
Can someone plaese help me with this I do not know what it all means .I am trying to make a includes file for my site .also i do not know where to find this info on my site and how to set it up.I am still a rookie at all this.
Thank you
www.askyourcook.com

<html>
(meta tags and links to stylesheet go here)
<body>

(include link for header goes here)

Actual content for the page goes here

(include link for the nav menu goes here)

(include link for the footer goes here)

</body>
</html>
Tailslide

 

Posts: 6692
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: Includes need help - 4/1/2009 13:38:30   
What server-side language do you have? Can't do anything until you decide.

_____________________________

Little Blue Plane Web Design | Land Rover project

:)

(in reply to Johny2000)
Giomanach

 

Posts: 6187
Joined: 11/19/2003
From: England
Status: offline

 
RE: Includes need help - 4/1/2009 13:55:39   
http://who.is/whois/askyourcook.com/

On an Apache server with both FPSE and PHP. Personally I would recommend using php.

For this to work, all pages using the includes would need to have the extension .php

Use the following code to make you pages come together:

<html>
(meta tags and links to stylesheet go here)
<body>

<? require(head.php); ?>

Actual content for the page goes here

<? require(nav.php); ?.
<? require(footer.php); ?>

</body>
</html> 


Edit the bits in brackets to suit the location of you include files - but leave the brackets in place

_____________________________




(in reply to Tailslide)
treetopsranch

 

Posts: 1539
From: Cottage Grove, OR, USA
Status: offline

 
RE: Includes need help - 4/1/2009 20:12:19   
And if you are a FrontPage user you can use FP includes also as they work with or without the extensions.

But it looks like you have downloaded a script or a template and you don't know where to put the code.

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to Giomanach)
Johny2000

 

Posts: 33
Joined: 12/24/2008
Status: offline

 
RE: Includes need help - 4/1/2009 20:59:07   
you got it I do not know where to put the code

(in reply to treetopsranch)
treetopsranch

 

Posts: 1539
From: Cottage Grove, OR, USA
Status: offline

 
RE: Includes need help - 4/1/2009 22:27:34   
Can you give us a link to the script or template?

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to Johny2000)
Giomanach

 

Posts: 6187
Joined: 11/19/2003
From: England
Status: offline

 
RE: Includes need help - 4/2/2009 5:11:35   
In reply to your PM, Johny - As Don as said - Would need to see the template or script to see if its actually possible to use it with includes. Give us a link and we can give more information

_____________________________




(in reply to treetopsranch)
Johny2000

 

Posts: 33
Joined: 12/24/2008
Status: offline

 
RE: Includes need help - 4/2/2009 9:38:21   
Here you go www.askyourcook.com .Let know what you think
Thank you

< Message edited by Johny2000 -- 4/2/2009 10:47:43 >

(in reply to treetopsranch)
treetopsranch

 

Posts: 1539
From: Cottage Grove, OR, USA
Status: offline

 
RE: Includes need help - 4/2/2009 12:40:07   
Well, you can't use that template as it's copyrighted.

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to Johny2000)
Johny2000

 

Posts: 33
Joined: 12/24/2008
Status: offline

 
RE: Includes need help - 4/2/2009 18:35:44   
Hi I paid to have it made by galtech just have not taken the name off all the footer

(in reply to treetopsranch)
treetopsranch

 

Posts: 1539
From: Cottage Grove, OR, USA
Status: offline

 
RE: Includes need help - 4/2/2009 18:43:04   
Then I guess I just don't understand. That page seems complete as it is.

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to Johny2000)
coreybryant

 

Posts: 2625
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Includes need help - 4/2/2009 19:27:24   
This is why (Johny2000) it becomes difficult when you do post on multiple message boards - we all get confused. As I stated server side includes will give you an example.

_____________________________

Corey R. Bryant
My Merchant Account Blog | Expression Web Blog

(in reply to treetopsranch)
Johny2000

 

Posts: 33
Joined: 12/24/2008
Status: offline

 
RE: Includes need help - 4/3/2009 9:20:22   
I will not post on multiple any more did not know
Thank you

(in reply to coreybryant)
TexasWebDevelopers

 

Posts: 722
Joined: 2/22/2002
From: Dallas, TX
Status: offline

 
RE: Includes need help - 4/3/2009 11:52:15   
here, again, is the advice we offered on the other forum:

An include file is just a web page that has content in it but NOT the structure tags like <html> or <body> etc. That page content is then "included" in another page. Many web pages are built this way: One main page (that HAS the <html> and <body> tags) has headers, footers, navigation and content all included as separate bits of information. The include code (the "include link" you called it) may look like this (this may be different depending on the coding language being used):
<!--#include file="menu.inc" -->

So, you should probably not be editing the main page itself since all of the files are already included..I am guessing you want to change one of the included files. So, in the code view of your editor: find the name of the included page; open that page; change it; save it; and upload it. The changes will then be seen on ALL of the pages that have that file "included" in it.

So what parts do you not understand?

_____________________________

:)

Follow us on TWITTER

(in reply to Johny2000)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Includes need help
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts