Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-30-2004, 12:38 PM   #1
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default Shared elements on html page

For the longest time I've used frontpage to create shared borders that contain navigation elements, mainly because its easier to change one page and have that update all my pages when I change the navigation structure. However, I'm sick of the frontpage bloat that is associated with shared borders. All pages are have htm extensions, no shtml, asp, etc. Is there any way to acheave the same effect as shared borders without using frontpage? From what I can find, I cant use ssi on an html page unless I change the extension to shtml. I've got a couple thousand pages, and ranked pretty good in search engines getting around 30k in visitors a month so I dont want to have to rename any pages inorder to do this. Any Ideas?
__________________

mims1979 is offline   Reply With Quote
Old 01-30-2004, 12:59 PM   #2
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

You can run a php script with the .htm extension or just code the pages yourself.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-30-2004, 02:35 PM   #3
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default

could you give me an idea on how to do that or point me to a website.
mims1979 is offline   Reply With Quote
Old 01-30-2004, 02:36 PM   #4
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

Sure, do you know HTML?
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-30-2004, 03:15 PM   #5
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default Re: Shared elements on html page

Yes, im very familiar with html, perl, and asp. PHP isnt a stretch from perl so if I have to do it in PHP i could.
mims1979 is offline   Reply With Quote
Old 01-30-2004, 03:17 PM   #6
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

Why don't you come up with something in PHP like a header and footer system printed on each page. That is what i do. That was you can keep static URLs.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-30-2004, 05:05 PM   #7
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default Re: Shared elements on html page

1. Currently I have all my navigation buttons down the left side of the page and a footer at the bottom, I'd like to keep it that way.
2. What is the syntax to include a php page in an htm page?
mims1979 is offline   Reply With Quote
Old 01-30-2004, 05:29 PM   #8
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

Just normal PHP. The sever will just interpret it as HTML.
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-30-2004, 05:37 PM   #9
Solid State Member
 
Join Date: Jan 2004
Posts: 7
Default Re: Shared elements on html page

So you are saying to recode all my pages in php and leave the htm extension. or are you saying to make an include that points to a php page. can you give me an example?
mims1979 is offline   Reply With Quote
Old 01-30-2004, 05:40 PM   #10
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Shared elements on html page

What ever you want to do. I can't really give you an example, I am just letting you know you can convert your site to php without changing an extension.
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:29 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0