navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
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

Search Forums
 

Advanced search
Recent Posts

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

Microsoft MVP

 

FP Include page and CSS

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

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

All Forums >> Web Development >> Microsoft FrontPage Help >> FP Include page and CSS
Page: [1]
 
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
FP Include page and CSS - 10/10/2007 13:26:22   
CSS advocates, do you use FP Include page components?
For navigation, for content?

How else do you use it?

_____________________________

William Lee

caz

 

Posts: 3509
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: FP Include page and CSS - 10/10/2007 13:34:34   
I have used them for both purposes; you can put them wherever you want in a page, it's just a case of getting them in the right div and checking that there is no extra code slipped in by FP and that the path is right.
Why complicate a perfectly simple solution?

Other includes such as SSI or PHP includes work the same way - but then it does help to work with a local testing server - I use IIS with a PHP modification.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to William Lee)
coreybryant

 

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

 
RE: FP Include page and CSS - 10/10/2007 14:36:43   
I use ASP includes for my navigation - usually lists and then use CSS to help layout the lists in a particular way.

Listamatic has some great examples.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to caz)
treetopsranch

 

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

 
RE: FP Include page and CSS - 10/10/2007 23:14:30   
Yes, I do use use FP Include page components for navigation and for content? So easy to do and works super.


_____________________________

Don from TreeTops Ranch, Oregon

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


(in reply to coreybryant)
Tailslide

 

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

 
RE: FP Include page and CSS - 10/11/2007 2:30:38   
I use PHP includes or where I can't use those SSIs.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to treetopsranch)
rdouglass

 

Posts: 9186
From: Biddeford, ME USA
Status: online

 
RE: FP Include page and CSS - 10/11/2007 9:33:09   
Use includes but not FP Includes. Use regular server-side includes like as mentioned. IMO FP Includes are not true includes at all 'cause if you change the included page, all the 'including' pages do not update automatically. They are 'design time' includes and not 'runtime' includes.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to Tailslide)
Tailslide

 

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

 
RE: FP Include page and CSS - 10/11/2007 11:11:51   

quote:

ORIGINAL: rdouglass
IMO FP Includes are not true includes at all 'cause if you change the included page, all the 'including' pages do not update automatically.



Seriously? What exactly is the point of the things then?

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to rdouglass)
caz

 

Posts: 3509
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: FP Include page and CSS - 10/11/2007 12:47:41   
The point is that the pages are updated when they are viewed. Simple as that.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Tailslide)
rdouglass

 

Posts: 9186
From: Biddeford, ME USA
Status: online

 
RE: FP Include page and CSS - 10/11/2007 13:51:33   
quote:

The point is that the pages are updated when they are viewed. Simple as that.


Do they? I was under the impression they only update at design time. Wasn't there a post about someone saying they had to open all the pages and save them?

Anyways, arent' FP Extensions going away? IF they are, then there's the kicker:

If there server-side, don't use 'em 'cause FP extensions are going bye-bye.

If there design-time, don't you have to 'touch' each page to make 'em work properly?

Just stick with SSI's and you'll be all set. Change 1 page and it *will* be site-wide.:)

</$>02>

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to caz)
caz

 

Posts: 3509
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: FP Include page and CSS - 10/11/2007 14:54:15   
FP Includes don't need FPSE.

If you change the content of an already established FP Include and don't change the file name or the path then you don't have to republish/upload all the pages that call that include.

This thread is supposed to be about FP Includes and CSS.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to rdouglass)
rdouglass

 

Posts: 9186
From: Biddeford, ME USA
Status: online

 
RE: FP Include page and CSS - 10/11/2007 15:36:32   
quote:

This thread is supposed to be about FP Includes and CSS.
:)

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to caz)
coreybryant

 

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

 
RE: FP Include page and CSS - 10/11/2007 15:51:04   

quote:

ORIGINAL: rdouglass
f there server-side, don't use 'em 'cause FP extensions are going bye-bye.

If there design-time, don't you have to 'touch' each page to make 'em work properly?
Frontpage Page includes are do not require Frontpage Server Extensions. As a matter of fact, you do not even need to publish the Included page - but you have to re-publish all the other pages. Sort of backwards if you ask me.

But Frontpage Page Includes allow the users to see the "complete" page so that you do not need a server. The video tutorial on Frontpage Includes shows this as well.


_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to rdouglass)
rdouglass

 

Posts: 9186
From: Biddeford, ME USA
Status: online

 
RE: FP Include page and CSS - 10/11/2007 17:37:10   
quote:

but you have to re-publish all the other pages


My point exactly.

quote:

allow the users to see the "complete" page so that you do not need a server


If you don't have some kind of server that you can do development on, whether it be a box in your basement or a free host somewhere, you might be in the wrong profession. :) Either that or you're on the beach. :) :)

Don't get me wrong. It can be done. You can also build a house without powertools if you really want to. Will someone pay you to do it?

(I better be quiet now.....:))

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to coreybryant)
jurgen

 

Posts: 385
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: FP Include page and CSS - 10/11/2007 20:52:26   
You do not need a server or another hosting place. Everything can be done with your own html editor or what ever you are using. Just a little bit of explanation how I build the site pages, maybe that will help to understand a little bit more. First I guess is the "template" where you set up all your main areas like header, content and footer. Possibly a left or right navigation. In my case I do use the navigation horizontaly in the header.
Next step is to decide what will never or rarely change and should show on every page in the site. Obviously this will be the header and the footer (and possibly the left or right column). These portions of the the template page will be cut and paste in a new file. Which will be the includes later. Once this parts of the code is out I will end up with just the the content page and code to use for all the other pages. I only have to include the header and footer files (code) in the apropriate places and all will show up just fine. Point is I just have to deal with my content and don't need to worry about the rest.

Below is just an example what I am working with to change or create new pages.

<body>

<!--#include virtual="/ssi/header2.html" -->

<div id="leftcolumn"> 
<img src="images/kittyl.jpg" alt="Wedding Dresses by KittyChen couture" width="130" height="350" border="0" title="Wedding Dresses by KittyChen couture"></div>

<div id="rightcolumn"> 
<img src="images/kittyr.jpg" alt="Wedding Dresses by KittyChen couture" width="200" height="350" border="0" title="Wedding Dresses by KittyChen couture"></div>

<div id="maincontent">

<h1>KittyChen Couture</h1>
<p> Kitty´s designs are realized in the highest quality fabrics such as sheer silks, luxurious satins, soft organzas, angel tulle, as well as intricate hand-beaded laces, hand-stitched embroidery. All of this is accented with diamantes and swarovski crystal features.</p>

<p> Kitty´s refined and unique styling is evident in the sculpted bodices, glamorous necklines, drop waistlines, floating skirt with classic bustles and ruffles accenting train to complete a fantasy look.</p>

<p>Visit the designer´s website: <a href="http://www.kittychencouture.com/" title="KittyChen Couture" target="_blank">KittyChen Couture</a></p> 
</div>

<!--#include virtual="/ssi/footer2.html" -->

</body>


And my apologies.... while writing this I did realize that this wouldn't work to good with WYSIWYG, and design view. Meaning, that you better understand what the code is doing. Than again, you always could throw in the code in a simple html page and check how it looks like. Since the thread is also about CSS you better throw in your style sheet as well.... :)

Again, you don't need a server, it helps, but you don't need to. The beauty with SSI is that you can maintaine a site sooooo much easier and quicker. And believe me, I learned it the hard way.....


Thumbnail Image
:)

Attachment (1)

_____________________________

Wedding Dresses Colorado

(in reply to rdouglass)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 8:12:19   

quote:

ORIGINAL: caz

FP Includes don't need FPSE.


Agree with above, disagree with below

quote:


If you change the content of an already established FP Include and don't change the file name or the path then you don't have to republish/upload all the pages that call that include.





_____________________________

William Lee


(in reply to caz)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 8:29:11   

quote:

ORIGINAL: coreybryant


As a matter of fact, you do not even need to publish the Included page



Honestly, this is new to me.


_____________________________

William Lee


(in reply to coreybryant)
caz

 

Posts: 3509
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 11:55:26   
You are making me think that I am losing my marbles, so I just did a test on my local server. On the include for a footer - footer.html - I changed the word "Contact" to what you now see in the image. I saved then published the include and then checked all the pages that call that include. The change is there without me doing anything . I can't explain it but it works for me on local and remote servers. I can only think that once the page with the amended include is called in the browser it stays in the cache, so further calls for it happen so quickly that we don't notice the changes. As far as I am aware though you do need to upload/publish the include file.

However so that we stop going round in circles here have a look at these from the tutorials on this site.

using FP without extensions
http://www.outfront.net/tutorials_02/getting_started/extension_alternatives.htm

Introduction to includes
http://www.outfront.net/tutorials_02/getting_started/includes1.htm




Thumbnail Image
:)

Attachment (1)

< Message edited by caz -- 10/12/2007 12:01:30 >


_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to William Lee)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 12:18:30   
quote:

ORIGINAL: caz

I saved then published the include and then checked all the pages that call that include. The change is there without me doing anything . I can't explain it but it works for me on local and remote servers. I can only think that once the page with the amended include is called in the browser it stays in the cache, so further calls for it happen so quickly that we don't notice the changes.


In this local server and remote server of yours, you probably have FPSE installed, in which case you do not need to publish all pages that call the include. Publishing the FP Include page is sufficient.

However, in your preceding post, you gave the idea that even without FPSE one does not need to publish all pages after a change was done to the include. If this is not what you are saying, then I am sorry if I misinterpreted you.

You will agree with me that in the absence of FPSE and using FTP for uploading of files, changing the include will require uploading all pages that call the include?


Thanks for the tutorial link. Very helpful.


quote:


As far as I am aware though you do need to upload/publish the include file.

I concur :)

What is that silly bugger doing in the attached image?:)


< Message edited by William Lee -- 10/12/2007 13:43:29 >


_____________________________

William Lee


(in reply to caz)
coreybryant

 

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

 
RE: FP Include page and CSS - 10/12/2007 12:32:43   

quote:

ORIGINAL: William Lee

Honestly, this is new to me.
It was to me as well but it makes sense because Frontpage Page Includes are managed locally. I did a video cast to prove this as well. It just goes to show that Frontpage did actually do a bit more than we thought.

And you can still actually use the Frontpage Page Include webbot in Expression Web - the coding does work and the functionality is there, but I still prefer server side includes


_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to William Lee)
caz

 

Posts: 3509
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 14:25:12   
quote:

ou will agree with me that in the absence of FPSE and using FTP for uploading of files, changing the include will require uploading all pages that call the include?

Yes William, I just tried that on a site without FPSE and using FTP. You will also be relieved to know that the site from where I used the image has been returned to normal.

Corey, probably it has to do with recalculating hyperlinks, which I tend to do automatically on sites with FPSE.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to coreybryant)
coreybryant

 

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

 
RE: FP Include page and CSS - 10/12/2007 15:07:15   

quote:

ORIGINAL: caz

Corey, probably it has to do with recalculating hyperlinks, which I tend to do automatically on sites with FPSE.
I have not done that just yet - only the Refresh button. That is what seemed to push the Included content to the other pages without needing to publish the Included Page.


_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to caz)
caz

 

Posts: 3509
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 15:46:59   
Are you working on the server as opposed to remote?

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to coreybryant)
coreybryant

 

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

 
RE: FP Include page and CSS - 10/12/2007 17:04:29   
No I hardly ever work on the server. I work remote. Mainly use Expression Web though and FTP (stopped using FPSE when we bought new servers about a year ago).

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | My Blog | Expression Web Blog

(in reply to caz)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/12/2007 23:45:17   
I would advise anyone to maintain the same copy of files on the server and on their harddisk. Some day, you'll accidentally delete some files on your harddisk ( it happens to me, to my clients, it can happen to you!) and your only copies of them are on your webserver, you want to be very sure they are one and same.

Edit: I rather make sure the updated include page is uploaded IMHO.

Nonetheless, its an interesting find, corey:) I never knew it. I'll have a go at testing it later.

Thanks.

< Message edited by William Lee -- 10/13/2007 2:43:30 >


_____________________________

William Lee


(in reply to coreybryant)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/13/2007 0:19:31   
quote:

ORIGINAL: caz



You will also be relieved to know that the site from where I used the image has been returned to normal.





Hee :)

_____________________________

William Lee


(in reply to caz)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/13/2007 1:49:42   
quote:

ORIGINAL: Tailslide

I use PHP includes or where I can't use those SSIs.


Tail, under what circumstances will you not be able to use SSIs? I am keen to know your answer as I am working on a project regarding SSI.

I have understood just about what I need to know how CSS folks use the FP include in FP.

Your input is important even though you are not using FP.

_____________________________

William Lee


(in reply to Tailslide)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/18/2007 8:31:34   
Havn't seen Tail lately.

Talk to me, Tail.

_____________________________

William Lee


(in reply to William Lee)
Tailslide

 

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

 
RE: FP Include page and CSS - 10/22/2007 3:54:43   
Hello... Been away on holiday - just got back more tired than before I left. :)

Anyway.

My personal default is to use PHP includes because that's what I know well.

I only use SSIs when I can't use PHP includes for some reason (maybe not allowed on the server or some other restriction).

Nothing against SSIs in particular - I'm just more used to using PHP includes.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to William Lee)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: FP Include page and CSS - 10/23/2007 1:13:04   
Thanks for the reply! :)

_____________________________

William Lee


(in reply to Tailslide)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> FP Include page and CSS
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