How do I call up the same 20 pages ? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Nutz in Midwest -> How do I call up the same 20 pages ? (1/22/2007 17:43:05)

Hi all...

I have a site where it has like 30 pages. But only 20 of those pages need to be updated monthly. How do I call up the same 20 pages, (rather than one by one) and make the changes? In other words the same 20 pages are put "in cue" to be updated. Its a pain to click on th 20 pages one at a time. These are not CSS.

Thanks




jaybee -> RE: How do I call up the same 20 pages ? (1/22/2007 17:50:12)

If I understand you correctly then unless all 20 pages have identical content that needs to be updated with identical information each month then you can't do it. You'll have to open them one by one.




Nutz in Midwest -> RE: How do I call up the same 20 pages ? (1/22/2007 18:17:01)

Well....each of the 20 pages has different content...but the only thing that changes is a calendar that has to be updated to each of those 20 pages (same calendar). Hope I am saying it right.




rubyaim -> RE: How do I call up the same 20 pages ? (1/22/2007 18:22:31)

Would you be able to place the calendar in an include?

That way, you would only have to update the calendar page itself.




coreybryant -> RE: How do I call up the same 20 pages ? (1/22/2007 18:37:12)

You might check out file includes. Otherwise make a backup and then you can do a find and replace via Frontpage. FP 2003 will do open fies / source code, etc




Nutz in Midwest -> RE: How do I call up the same 20 pages ? (1/22/2007 23:04:49)

Here I will show you link

Its the yellow on the left...you can see how it would change....any ideas anyone?? thank you.




rubyaim -> RE: How do I call up the same 20 pages ? (1/22/2007 23:29:23)

Do you work in design view, or code view, or between both? Are you comfortable using find and replace in code view?

The actual calendar could be pulled out of the page and kept as a separate file. This would then be used as an include.

Introduction to Includes and Using FrontPage Includes

Basically you would start a new page, and copy your calendar to it. Save it something like calendar.htm

You would then go to one of the pages that shows the calendar, delete everything out of the cell that holds it, and then include your calendar.htm file instead (for FP2003 >Insert >Web Component >Included Content >Page )

When in code view, it would like something like:
<td valign="top" width="202" height="669" background="table_lines.gif">
<!--webbot bot="Include" U-Include="calendar.htm" TAG="BODY" --> </td>


This way, you will only ever have to update calendar.htm and the update will appear on whatever page it is included in.

If you don't have FP Extensions you can still use FP includes and just FTP every page the include used on. If you are not keen on that then you can use one of the other includes.

The benefit of FP includes if you are just starting is that you can see the included content in design view.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.445313E-02