Re: Altering one phrase in an include (Dynamic HTML?)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Trevor L. (tandcl_at_homemail.com.au)
Date: 01/20/05


Date: Thu, 20 Jan 2005 15:35:42 +1100


Rob,
Thanks again.

I keep getting the message "Don't Use Frames". I am happy to follow that advice.

BUT, how do I include?

I found this on FP help

About using a single source of content on multiple web pages
Embedding a web page on other web pages in a web site

You can display a web page on another page in the web site, allowing you to maintain separate pages. For example, to display a copyright notice on several pages in a web site, create one page that contains the copyright notice, and include that page on other pages in the web site. When you update the copyright notice, you simply update that one page; all other pages that include the copyright page will be automatically updated.

Creating information that can update automatically

A variable is information displayed on a page that can be set to change or update automatically. Microsoft FrontPage has four predefined variables that gather information automatically when you put them on a page:

  a.. Author
  b.. Modified by
  c.. Description
  d.. Page URL
You can also define a variable yourself, such as a copyright or a comment.

For example, you want to refer to a product throughout your web site, but the name might change. You define a variable for the product (you set a name and value, such as Product and My Product's Name 1.0), and then place the variable on your pages. If the product name changes, you simply change the value of the variable you defined, and then new the product name is automatically displayed in your web site.

This is what I would like to do, but it doesn't say how !

Help says " For example, ........ include that page on other pages in the web site." But where do I find the include command - it doesn't say. Maybe it is talking about using shared borders - I don't know!

The second bit also seems to be what I am trying - having variables that can change. It also doesn't say how. However, until I understand how to include, it is a bit academic.

When you say " build a blank page (or several of them) to use as templates", are you suggesting that I continue doing what I am doing, that is having one page which I modify in the small bits that change and then copy in?

This works O.K. but doesn't this mean lots of duplicate code? I was trying (perhaps too hopefully) to avoid this.

--
>From a confused newbie
Trevor L.
I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html   


bluedrop.gif

Relevant Pages

  • [NT] VBScript Handling in IE can Allow Web Pages to Read Local Files
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Frames are used in Internet Explorer to provide for a fuller browsing ... The vulnerability could only be used to view files. ... The flaw allows script to violate IE's ...
    (Securiteam)
  • Re: XP OEM - Interesting conversation with MS employee
    ... I have quoted one page of Kurt's web site a couple of times. ... >> advice, advice that works for people who don't think they should have to ... >> out the T-Shirt and am now happily living in a civilized country. ... > terrorists are free and encouraged to attack them. ...
    (microsoft.public.windowsxp.general)
  • Re: Best way to do db search for site
    ... I have not implimented a search feature yet for a web site yet and ... searching html files or other web files. ... I could do a query like: ... Thanks for any advice. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Web hosting
    ... > SBS public Newsgroups: ... > you have ignored MS advice (the installation actually prompts you about it) ... >> My company has a web site hosted by Yahoo and we are using a local cable ...
    (microsoft.public.backoffice.smallbiz)
  • Re: A safe bet?? In need of some help and feedback
    ... I am not asking for your money just some advice. ... so asked me to put together a web site and market his work. ... I have began to market the products but I have found it extremely ... Any feedback positive or negative will be priceless. ...
    (misc.invest.stocks)