Forum Moderators: open

Message Too Old, No Replies

Updating links once for all pages - iframes?

Help needed for designing webpage

         

spretswell

6:36 pm on Aug 18, 2004 (gmt 0)

10+ Year Member



Hi there,

I'm a novice on designing webpages. I'll try and describe what I'm trying to achieve. Basically, I want three columns, left, centre, right. The centre section is my main bit, with the left and right being used for links.

Now, the links will be changing regularly, so I want it so that when I update the links on one page it will automatically do the same for all pages. Is an iframe the way I accomplish this? And what are the implications for search engine optimization?

Any help appreciated :)

KevinC

8:48 pm on Aug 18, 2004 (gmt 0)

10+ Year Member



I would stay far away from an Iframe - this could cause all sorts of headaches.

You could instead looking into .shtml templates, dynamic pages(php, asp ect.) or even dreamweaver templates. Lots of different ways to make this happen and not suffer any negative effects.

spretswell

9:53 pm on Aug 18, 2004 (gmt 0)

10+ Year Member



Which one would you recommend for a novice?

ganderla

10:20 pm on Aug 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I recommend using server side includes. When I was a novice it took me about 1 hour to grasp the concept. I use them for many differnt pages for different things.

You will want to check with your hosting compnay to see if they are supported.

spretswell

10:36 pm on Aug 18, 2004 (gmt 0)

10+ Year Member



Any good resources to show me to how do that?

cowudders

10:36 pm on Aug 21, 2004 (gmt 0)

10+ Year Member



The site I use to remind myself how to do SSI is:
[httpd.apache.org...]

I find tihs one is very good at explaining very well.

To sum up what you want to do, you need to have one file (it can be called anything at all - it doesn't need to have a .html extension) on the server in the same place as the other pages that you want the text to appear in. In all the pages, you place, at the position you want the extra text to appear, the line (assuming moo.htm is the name of the file):

<!--#include virtual="moo.htm" -->

You don't need any <head> tags or anything like that in the file, you literaly need the text you want importing, nothing else.
Also, you need to set up your pages such that SSI is enabled - look at the site above for instructions on this.

HTH!