Welcome to WebmasterWorld Guest from 50.16.112.199

Forum Moderators: open

Includes without FP extensions

Is there any cross-platform format?

   
10:39 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't want to use extensions just for the includes.
Is there any other way to include page sections from other files (nav elements, headers and the likes) other than the FP include that only work when extensions are active?
11:31 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I had this in my bookmarks:

[webmasterworld.com...]

2:25 am on Oct 1, 2004 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



The PHP Includes ScottM linked to are one option.

However, if you're using FP keep in mind that the FrontPage Includes [webmasterworld.com] do not require FP server extensions. You can use FP Includes on any server as they are processed by FP before you upload your site.

6:11 am on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



But only if you publish the entire site and not just a couple of files. The inclusion commands only get interfaced between and activated per page when all the background gibberish gets published too. With a site a couple of thousands of pages large or even larger this is not always doable, especially with a dial-up connection.
6:30 am on Oct 1, 2004 (gmt 0)

10+ Year Member



Not sure, but what about:
<!--#include virtual="includefile.htm"-->
7:24 am on Oct 1, 2004 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



But only if you publish the entire site and not just a couple of files. The inclusion commands only get interfaced between and activated per page when all the background gibberish gets published too.
You're not confusing FP Includes with Shared Borders? Shared Borders are a completely different animal, and I would advise against their use. In fact, in FP2003 Shared Borders are depreciated in favor of Dynamic Web Templates (but are still supported). FP Includes are processed whenever you save the file and are processed site-wide at that time. You will have to publish/FTP any pages that contain Includes to see the changes on the site.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month