Forum Moderators: open
Question: What is the alternative to FrontPage's "Include a page"?
I now how to do it with php but the windows server does not supports php.
I also try using javascript, which works well if is just a simple html code. Just convert the html page to .js and add "document.writeln(' ');" at the beginning of each line, then call the script from the HTML pages
Question 2: If the only solution is using a .js file How can I include other scrips inside that .js page? (for example, google analytics)
Thanks
Then you might want to look at Server Side IncludesThanks bill, great suggestion. I did actually search before posting, but most of the results suggested to use <!--#include .......>, and I try that and it din't work, I really couldn't find the soultions to my question. Do you have one?
Also note that a lot of shared hosting today does offer PHP - so check with your hosting service before you rule that out.Thank you tedster. I did call them, since the hosting service of one of my sites do offer PHP and FrontPage extension in the same server. May be is time to change all my sites to one hosting.
In case some one have a suggestion to my questions, here are the questions again:
Question: What is the alternative to FrontPage's "Include a page"?
Question 2: If the only solution is using a .js file How can I include other scrips inside that .js page? (for example, google analytics)
Question: What is the alternative to FrontPage's "Include a page"?
If the pages are .asp, you can use virtual includes in place of FP includes, I do it all the time.
<!--#include virtual="/common/file.asp"--> But, all pages using this method must also be .asp
You may want to upgrade your hosting plan so you can use php as I think that is going to be your best option moving forward.