PC Review


Reply
Thread Tools Rate Thread

cascading dynamic templates

 
 
=?Utf-8?B?VGhlIEpvaW50ZXI=?=
Guest
Posts: n/a
 
      24th Jul 2005
I have a set of menu rollover buttons which I want to use in various dynamic
templates. However, I also want the templates to update when I update the
button menu. I made the file containing only the menu (html + javascript)
into a template file but I am not permitted to attach that to another
template file. If I keep the menu file as a regular htm file then I can
incorporate it into other templates. The problem then is that you do not get
a cascading update since it is part of an editable region. Is there any way
to do this? Without such a feature dynamic templates are rather limiting
since it would mean manually updating all of the templates using the menu
each time it is changed.
--
TIA

The Jointer
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      24th Jul 2005
You could insert the menu as FP Include into the DWT non-editable region. Note: The page to be
included my have the default HTML tags that are generated when FP creates a new page, and all
JavaScript functions must be after the opening <body> tag in the page to be included in the DWT.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"The Jointer" <(E-Mail Removed)> wrote in message
news85E568E-6DFB-45AF-A397-(E-Mail Removed)...
>I have a set of menu rollover buttons which I want to use in various dynamic
> templates. However, I also want the templates to update when I update the
> button menu. I made the file containing only the menu (html + javascript)
> into a template file but I am not permitted to attach that to another
> template file. If I keep the menu file as a regular htm file then I can
> incorporate it into other templates. The problem then is that you do not get
> a cascading update since it is part of an editable region. Is there any way
> to do this? Without such a feature dynamic templates are rather limiting
> since it would mean manually updating all of the templates using the menu
> each time it is changed.
> --
> TIA
>
> The Jointer



 
Reply With Quote
 
=?Utf-8?B?VGhlIEpvaW50ZXI=?=
Guest
Posts: n/a
 
      24th Jul 2005
Thanks for your reply. I wasn't sure if you meant that any .htm include file
must have the tags that FP creates for the include to work, ie. FP strips
them off. I tried the include with just the html & javascript (included
after <body> tag as you suggested) actually needed to make the final page
technically correct. All looks OK in the .dwt file in design view but does
not appear when I preview the .dwt in the browser (IE6) nor in the .htm file
that I attach the .dwt to. I just see the Webbot include statements. What am
I doing wrong? Do I need to include the .htm as a .dwt file? I read somewhere
that include only works if you include like into like file formats. I checked
that my localhost site has FP server extensions in place.
--
TIA

The Jointer


"Thomas A. Rowe" wrote:

> You could insert the menu as FP Include into the DWT non-editable region. Note: The page to be
> included my have the default HTML tags that are generated when FP creates a new page, and all
> JavaScript functions must be after the opening <body> tag in the page to be included in the DWT.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "The Jointer" <(E-Mail Removed)> wrote in message
> news85E568E-6DFB-45AF-A397-(E-Mail Removed)...
> >I have a set of menu rollover buttons which I want to use in various dynamic
> > templates. However, I also want the templates to update when I update the
> > button menu. I made the file containing only the menu (html + javascript)
> > into a template file but I am not permitted to attach that to another
> > template file. If I keep the menu file as a regular htm file then I can
> > incorporate it into other templates. The problem then is that you do not get
> > a cascading update since it is part of an editable region. Is there any way
> > to do this? Without such a feature dynamic templates are rather limiting
> > since it would mean manually updating all of the templates using the menu
> > each time it is changed.
> > --
> > TIA
> >
> > The Jointer

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      24th Jul 2005
1. Make sure you do not have Optimize HTML enabled when you publish.

2. The page to be included must be a standard HTML page (use the FP new page command) with the
normal set of HTML tags, and have either a .htm or .html file extension and then you would insert
your JavaScript after the opening body tag, as the FP include component only includes the content
that is between the body tags in other pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"The Jointer" <(E-Mail Removed)> wrote in message
news:2137C6BF-A3B0-4D9A-95F3-(E-Mail Removed)...
> Thanks for your reply. I wasn't sure if you meant that any .htm include file
> must have the tags that FP creates for the include to work, ie. FP strips
> them off. I tried the include with just the html & javascript (included
> after <body> tag as you suggested) actually needed to make the final page
> technically correct. All looks OK in the .dwt file in design view but does
> not appear when I preview the .dwt in the browser (IE6) nor in the .htm file
> that I attach the .dwt to. I just see the Webbot include statements. What am
> I doing wrong? Do I need to include the .htm as a .dwt file? I read somewhere
> that include only works if you include like into like file formats. I checked
> that my localhost site has FP server extensions in place.
> --
> TIA
>
> The Jointer
>
>
> "Thomas A. Rowe" wrote:
>
>> You could insert the menu as FP Include into the DWT non-editable region. Note: The page to be
>> included my have the default HTML tags that are generated when FP creates a new page, and all
>> JavaScript functions must be after the opening <body> tag in the page to be included in the DWT.
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "The Jointer" <(E-Mail Removed)> wrote in message
>> news85E568E-6DFB-45AF-A397-(E-Mail Removed)...
>> >I have a set of menu rollover buttons which I want to use in various dynamic
>> > templates. However, I also want the templates to update when I update the
>> > button menu. I made the file containing only the menu (html + javascript)
>> > into a template file but I am not permitted to attach that to another
>> > template file. If I keep the menu file as a regular htm file then I can
>> > incorporate it into other templates. The problem then is that you do not get
>> > a cascading update since it is part of an editable region. Is there any way
>> > to do this? Without such a feature dynamic templates are rather limiting
>> > since it would mean manually updating all of the templates using the menu
>> > each time it is changed.
>> > --
>> > TIA
>> >
>> > The Jointer

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?VGhlIEpvaW50ZXI=?=
Guest
Posts: n/a
 
      25th Jul 2005
Thanks again for the prompt reply. Everything is now working correctly via
localhost on my machine. I haven't tried publishing to the web yet. I noticed
that whatever you put between the <body> tags in the included file gets
included verbatim. I used this to insert my own <body> tag for pre-loading
the button images by omitting the <body> tag from the file that I was
including into.
--
TIA

The Jointer


"Thomas A. Rowe" wrote:

> 1. Make sure you do not have Optimize HTML enabled when you publish.
>
> 2. The page to be included must be a standard HTML page (use the FP new page command) with the
> normal set of HTML tags, and have either a .htm or .html file extension and then you would insert
> your JavaScript after the opening body tag, as the FP include component only includes the content
> that is between the body tags in other pages.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "The Jointer" <(E-Mail Removed)> wrote in message
> news:2137C6BF-A3B0-4D9A-95F3-(E-Mail Removed)...
> > Thanks for your reply. I wasn't sure if you meant that any .htm include file
> > must have the tags that FP creates for the include to work, ie. FP strips
> > them off. I tried the include with just the html & javascript (included
> > after <body> tag as you suggested) actually needed to make the final page
> > technically correct. All looks OK in the .dwt file in design view but does
> > not appear when I preview the .dwt in the browser (IE6) nor in the .htm file
> > that I attach the .dwt to. I just see the Webbot include statements. What am
> > I doing wrong? Do I need to include the .htm as a .dwt file? I read somewhere
> > that include only works if you include like into like file formats. I checked
> > that my localhost site has FP server extensions in place.
> > --
> > TIA
> >
> > The Jointer
> >
> >
> > "Thomas A. Rowe" wrote:
> >
> >> You could insert the menu as FP Include into the DWT non-editable region. Note: The page to be
> >> included my have the default HTML tags that are generated when FP creates a new page, and all
> >> JavaScript functions must be after the opening <body> tag in the page to be included in the DWT.
> >>
> >> --
> >> ==============================================
> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
> >> ==============================================
> >> If you feel your current issue is a results of installing
> >> a Service Pack or security update, please contact
> >> Microsoft Product Support Services:
> >> http://support.microsoft.com
> >> If the problem can be shown to have been caused by a
> >> security update, then there is usually no charge for the call.
> >> ==============================================
> >>
> >> "The Jointer" <(E-Mail Removed)> wrote in message
> >> news85E568E-6DFB-45AF-A397-(E-Mail Removed)...
> >> >I have a set of menu rollover buttons which I want to use in various dynamic
> >> > templates. However, I also want the templates to update when I update the
> >> > button menu. I made the file containing only the menu (html + javascript)
> >> > into a template file but I am not permitted to attach that to another
> >> > template file. If I keep the menu file as a regular htm file then I can
> >> > incorporate it into other templates. The problem then is that you do not get
> >> > a cascading update since it is part of an editable region. Is there any way
> >> > to do this? Without such a feature dynamic templates are rather limiting
> >> > since it would mean manually updating all of the templates using the menu
> >> > each time it is changed.
> >> > --
> >> > TIA
> >> >
> >> > The Jointer
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      25th Jul 2005
Removing the <body> tag from the container file, make it a invalid file when you open it directly in
FP, so may lead to problems with editing the page in the future.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"The Jointer" <(E-Mail Removed)> wrote in message
news:4E769789-0562-47BD-AEEF-(E-Mail Removed)...
> Thanks again for the prompt reply. Everything is now working correctly via
> localhost on my machine. I haven't tried publishing to the web yet. I noticed
> that whatever you put between the <body> tags in the included file gets
> included verbatim. I used this to insert my own <body> tag for pre-loading
> the button images by omitting the <body> tag from the file that I was
> including into.
> --
> TIA
>
> The Jointer
>
>
> "Thomas A. Rowe" wrote:
>
>> 1. Make sure you do not have Optimize HTML enabled when you publish.
>>
>> 2. The page to be included must be a standard HTML page (use the FP new page command) with the
>> normal set of HTML tags, and have either a .htm or .html file extension and then you would insert
>> your JavaScript after the opening body tag, as the FP include component only includes the content
>> that is between the body tags in other pages.
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "The Jointer" <(E-Mail Removed)> wrote in message
>> news:2137C6BF-A3B0-4D9A-95F3-(E-Mail Removed)...
>> > Thanks for your reply. I wasn't sure if you meant that any .htm include file
>> > must have the tags that FP creates for the include to work, ie. FP strips
>> > them off. I tried the include with just the html & javascript (included
>> > after <body> tag as you suggested) actually needed to make the final page
>> > technically correct. All looks OK in the .dwt file in design view but does
>> > not appear when I preview the .dwt in the browser (IE6) nor in the .htm file
>> > that I attach the .dwt to. I just see the Webbot include statements. What am
>> > I doing wrong? Do I need to include the .htm as a .dwt file? I read somewhere
>> > that include only works if you include like into like file formats. I checked
>> > that my localhost site has FP server extensions in place.
>> > --
>> > TIA
>> >
>> > The Jointer
>> >
>> >
>> > "Thomas A. Rowe" wrote:
>> >
>> >> You could insert the menu as FP Include into the DWT non-editable region. Note: The page to be
>> >> included my have the default HTML tags that are generated when FP creates a new page, and all
>> >> JavaScript functions must be after the opening <body> tag in the page to be included in the
>> >> DWT.
>> >>
>> >> --
>> >> ==============================================
>> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> >> ==============================================
>> >> If you feel your current issue is a results of installing
>> >> a Service Pack or security update, please contact
>> >> Microsoft Product Support Services:
>> >> http://support.microsoft.com
>> >> If the problem can be shown to have been caused by a
>> >> security update, then there is usually no charge for the call.
>> >> ==============================================
>> >>
>> >> "The Jointer" <(E-Mail Removed)> wrote in message
>> >> news85E568E-6DFB-45AF-A397-(E-Mail Removed)...
>> >> >I have a set of menu rollover buttons which I want to use in various dynamic
>> >> > templates. However, I also want the templates to update when I update the
>> >> > button menu. I made the file containing only the menu (html + javascript)
>> >> > into a template file but I am not permitted to attach that to another
>> >> > template file. If I keep the menu file as a regular htm file then I can
>> >> > incorporate it into other templates. The problem then is that you do not get
>> >> > a cascading update since it is part of an editable region. Is there any way
>> >> > to do this? Without such a feature dynamic templates are rather limiting
>> >> > since it would mean manually updating all of the templates using the menu
>> >> > each time it is changed.
>> >> > --
>> >> > TIA
>> >> >
>> >> > The Jointer
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cascading Dynamic Dropdown Lists choop Microsoft Excel Discussion 7 15th Jun 2006 11:01 PM
Dynamic Web Templates and Cascading Style Sheets Bruce Sanderson Microsoft Frontpage 6 11th Jan 2005 06:32 AM
Dynamic Query from Cascading Combo Boxes =?Utf-8?B?R2xlbm4gRS4gV2hpdGU=?= Microsoft Access Forms 1 26th Jan 2004 11:15 PM
Dynamic Query from Cascading Combo Boxes =?Utf-8?B?R2xlbm4gRS4gV2hpdGU=?= Microsoft Access Reports 1 26th Jan 2004 11:15 PM
Cascading Templates? Microsoft Word Document Management 1 26th Jan 2004 02:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:26 AM.