|
| |
|
|
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>
|
|
|
|
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
_____________________________
|
|
|
|
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"
|
|
|
|
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
|
|
|
|
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"
|
|
|
|
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
_____________________________
|
|
|
|
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 >
|
|
|
|
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"
|
|
|
|
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
|
|
|
|
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"
|
|
|
|
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
|
|
|
|
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
|
|
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
|
|
|