Apply template to a page already created

Is there a correct way to apply a template once a page has been created ?
I have done it several time modifying the source of the page, but when it has binding that can lead to problems.
What is your recommendation ?

Hi,
here's the tag documentation
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_pageTemplate.html
which also contains an example for how to add this manually:
<af:pageTemplate id="weather"
  viewid="pagefragments_weatherBox_jspx">
  <f:attribute name="zip" value="94065"/>
  <f:attribute name="description" value="Redwood Shores, CA"/>
  <f:facet name="forecastSummary">
    <af:outputText value="Partly Cloudy"/>
  </f:facet>
  <f:facet name="forecastDetail">
    <af:panelGroupLayout layout="vertical">
      <af:outputText value="72'F"/>
      <af:outputText value="Partly Cloudy"/>
      <af:outputText value="Wind: W at 16 mph"/>
      <af:outputText value="Humidity: 46%"/>
    </af:panelGroupLayout>
  </f:facet>
</af:pageTemplate>So you add the reference to the templates and then - assuming the template has attributes - add attribute and facet references
Frank

Similar Messages

  • Apply template to many pages

    Hi there,
    I have 100 html pages, and i want to switch the template from
    the old one to a new design. How could I do this quickly without
    opening each single one of them and "applying template" ?
    Thanks

    they already use a template?
    Edit the existing template to what you want.
    Or make a new template, and make sure it has the same exact
    editable regions
    to make it simpler.
    Then, in the Templates folder, rename the old template file
    to something
    else, and click NO to updating pages.
    Then rename the new template to the exact filename the old
    template had.
    then dw menu-->Modify-->Templates-->Update Pages
    > I have 100 html pages, and i want to switch the template
    from the old one to a
    > new design.

  • Apply template to html pages in dreamweaver 2004

    How do I apply a template to html pages in dreamweaver 2004?
    The template has editable regoins. Will this effect it?
    Why do I get an orphan message when I try to apply the
    template to new pages?

    You don't want to apply templates to pages. Instead use FILE
    | New > Page
    from Template > site name > template name, spawn a new
    page, and use this
    page for the content. THis is not really an issue for a brand
    new page, but
    if the page already has content when you apply the template,
    you'll see what
    I mean.
    You are being confused by a) not understanding root relative
    vs document
    relative links, and b) not understanding how DW previews
    files.
    If I have a document with a link to an image that looks like
    this -
    <img src="/images/foo.gif"...
    That's what's called a root relative link.
    If I preview that document in DW, then the browser gets the
    document, sees
    the leading "/" and reads that as the root of the hard drive,
    since the
    browser has no idea where the root of the site is. Thus, the
    image is
    broken in the preview.
    If I have temp files enabled, then DW will secretly convert
    the file being
    previewed into a temporary file, and hand that to the
    browser. This temp
    file has had all root relative links converted to document
    relative links
    (as you will see by looking at the code in the browser), and
    has had all
    include files actually embedded in the page, and has had all
    external CSS
    and js markup embedded in the page. In other words, DW has
    made the
    document into a stand-alone page.
    If you do not have temp files enabled, all of these links
    would be broken on
    preview.
    Now - if you are using root relative links, AND you have temp
    files enabled,
    AND you click away from the previewed document, then all of
    your links will
    be broken, since DW has not made that linked file into a temp
    file. This is
    what you are seeing.
    So - if you want to click away on preview, then you must use
    document
    relative links for the site -
    <img src="../images/foo.gif"... (for example)
    These will still work on preview since the browser knows how
    to determine
    the current file's location and how to follow that path.
    GEDDIT?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "happydreamweaver" <[email protected]> wrote
    in message
    news:[email protected]...
    > How can I apply a template to new pages? I have done the
    following:
    > Apply the template to the pages as follows:1 Select File
    > Open.
    > 2 Browse to and select index.html.
    > 3 Select Modify > Templates > Apply Template to
    Page.
    > 4 Type the title of the page in the Banner Editable
    Region. Type or insert
    > text in the Body Editable Region.
    > 5 Select File > Save.
    >
    > Then when I preview the broswer, I see the html page as
    I should, put when
    > I
    > click to a new page, the new new doesn't have the
    template.
    >
    > Also, when I went to apply the template to a new page, a
    message said that
    > I
    > had orphaned stuff. What does that mean and how can I
    get the template
    > show
    > apply without the hassle.
    >

  • RH11 applied template to every page

    I opened my online help this morning, and RH11 has applied the template to every page in the file, so I now have a duplicate template when I generate. I need to fix this fast as I have a deadline - I don't know how this happened, but how do I fix it? (IE10, Responsive HTML5).
    Here's a small shot of what it is doing:

    That's a new one! Haven't seen it happen in the northern hemisphere.
    Have you modified the layout in any way? If you have, go to Screen Layouts in Project Setup and create a new Responsive Layout and do not modfiy it. Also create a new SSL layout and use the new Responsive Layout in that. Does the problem still occur?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Applying templates to new pages

    Is there anyway to apply a template to a page when it is copied?  for example, a new user registers, and their folder is created with index.php, wihch was copied from a source, which had a template applied to it.  I don't understand why the template wouldn't also be applied to the index.php? I want to be able to update these pages all at once, instead of having to individually update each one.
    thanks.

    Your Files panel (F8) should look like this:
    site - YourSiteName (C:\YourSiteName)
         index.html
         -OtherPages
              page1.html
              page2.html
         -Templates
              template.dwt
    If your .dwt file is located in any location other than the Templates folder, it won't work.
    Templates are not a server-side technology.  Templates only work on local files in Dreamweaver.
    I suggest you open your template and examine the code to ensure it is valid and that the Editable Regions are properly defined.
    http://validator.w3.org/
    Then open a child page made from that template to ensure it is pointing to the correct Template.dwt file in your Templates folder.
    Nancy O.

  • InDesign CS5.5 crashes while applying Template to a page

    Hi,
    We installed Adobe InDesign CS5.5. on 10 Windows XP SP3 32-bit workstations with 2 GB RAM. On every computer, when a user tries to apply a template to a page in a .indd document, InDesign immediately shuts down without displaying any error messages. Using the Sysinternals Tools and Dr.Watson, I think that the faulty plugin might be this one: C:\Program Files\Adobe\Adobe InDesign CS5.5\Plug-Ins\Layout\PAGES PANEL.APLN.
    Here's a part of the drwtsn32.log file (the full log can be made available upon request):
    Une exception d'application s'est produite :
            App : C:\Program Files\Adobe\Adobe InDesign CS5.5\InDesign.exe (pid=2844)
            Lorsque : 2012-08-13 @ 14:32:37.017
            Numéro d'exception : c0000005 (violation d'accès)
    *----> Liste des tâches <----*
       0 System Process
       4 Error 0xD0000022
    452 Error 0xD0000022
    508 Error 0xD0000022
    532 Error 0xD0000022
    576 Error 0xD0000022
    588 Error 0xD0000022
    764 Error 0xD0000022
    *----> Suivi arrière de la pile <----*
    WARNING: Stack unwind information not available. Following frames may be wrong.
    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Adobe\Adobe InDesign CS5.5\Required\LAYOUT.RPLN -
    ChildEBP RetAddr  Args to Child             
    06606b88 0625bf00 00020002 0408010b 0a8b1984 CJKGRID+0x20b55
    0aa2915c 0aa1f130 0aa21a50 0aa1cb90 0aa1ba60 0x625bf00
    0aa1d060 8108244c 000132f9 8b157500 c985044e LAYOUT+0xf130
    8bf18b56 00000000 00000000 00000000 00000000 0x8108244c
    Has anybody ever experienced this issue ? Are there known workarounds ?
    Let me know if you need additionnal information.
    Thank you in advance !
    LR

    Hi,
    I am not sure if this is a "Master Page since we use a French version (the functionnality is  named "Gabarit" in French), so here is a printscreen which shows what our users try to do:
    Immediately after the drop is completed, InDesign shuts down without further notice as described before.
    I fully patched one machine to 7.5.3, rebooted it and it still does not work.
    I know 2 GB is a little bit short, but since this is currently a corporate standard in my customer's organization, I will need to be sure that this is the direct and only cause before any upgrade request can be made.
    Thank you for your help.

  • Apply Template to existing page problems

    I've coinstructed a Dreamweaver Template (dwt) that I want to apply to existing pages in a web site.  I have onle two editable regions defined right now, "doctitle" and "propertyinfo".  When I try to attach my template to a page,  [modify, templates, apply templates to page, select the dwt file, and click select] I get a window named "Inconsistent Regiopn names" which indicates two other editable regions, "document body" and document head".  I've tried various combinations to the "move content to a new region" and get bad results in that other areas of my page are replaced.
    Is there somethign I have to place in the page to resolve this?  I'm very confused by this issue.

    You're right on again.
    Asking for the "body" and "head" regions threw me off and my tenacity kicked in.  I played with that for hours until I came to the conclusion that producing an "empty" page from a DWT, then constructing each page from those was definitely the way to go.
    Thank you.
    Steve

  • Do not apply Templates for dynamic page

    Hi,
    When i add a tag <ORACLE> ...</ORACLE> then all code before this tag don't displate.(I have viewed source after apply template but did't see code before Oracle tag).
    Could you tell me the way to sovle the problem.
    thanks !
    thangtk

    Dear Candace ,
    - I have a dynamic page that includes oracle tag (<oracle> </oracle>).Run it ok .
    -When i apply my template(user template) then dynnamic don't display all component of Template.
    -I had viwed source code (dynamic+template) .I only see componet code begin <oracle> to end. (contains HTML outside <oracle>..</oracle>) and all code before <oracle>..</oracle> to lose .
    Ex:I have a code
    <html>
    <head>
    <title>
    </title>
    </head>
    <body>
    <table>
    </table>
    <oracle>
    begin
    htp.init();
    htp.p('..');
    end;
    </oracle>
    </body>
    </html>
    run it anh view source then i only see:
    <oracle>
    begin
    htp.init();
    htp.p('..');
    end;
    </oracle>
    </body>
    </html>
    I lose code.
    <html>
    <head>
    <title>
    </title>
    </head>
    <body>
    <table>
    </table>
    I think that Templates don't display ,the same cause.
    I hope you will reply quickly for you.
    thanks very much !
    (sorry ,I write very bad)

  • How to apply Template to added Page?

    I am building a multi-page InDesign document with scripting and each page has a different template.  Obviously, getting the first page set-up with the template is a snap as you just open the template, but when I add the next page using: app.activeDocument.pages.add()  how would I apply a new template for this 2nd page in the document?
    Thanks in advance for any help provided.

    It's possible to make page items or regions conditional on the page not being a page number that you specify.
    Head to your page 0, and look for the relevant item in your conditionals list. Select it and specify your login page number in there and all should be well!
    Ben

  • Apply template to html page

    Hi - I must be missing sth big, I just can't relate a
    template (.dwt) with a page (.htm). Both files are in the same
    folder, the site's associated folder, but the site does not show
    any templates ('no templates' on the 'select template' dialog box).
    But the template IS in the site folder, how can I relate a template
    to a site?
    I'm using Dreamweaver 8 - for the first time

    I'm not sure what your problem is there. What is it you want
    to do to the
    image, and where do you want to do it (in DW or on the
    server)?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "candutherio" <[email protected]> wrote in
    message
    news:[email protected]...
    > Working fine - thanks.
    > The only issue now is making an <img> an editable
    region, so that I can
    > dynamically assign its properties.
    > I have seen that before, don't know why it's not working
    here.
    > This is the line on the template:
    > <div id="left" class="column"><!--
    InstanceBeginEditable
    > name="editImage"
    > --><img class="sideImage" src=""/><!--
    InstanceEndEditable --></div>
    >
    > Thanks again!
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <!-- TemplateBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- TemplateEndEditable -->
    > <!-- TemplateBeginEditable name="head" -->
    > <!-- TemplateEndEditable -->
    > <link rel="stylesheet" type="text/css"
    >
    href="file:///S|/Development/ThomsonFinancial/TFEurope/Dreamweaver
    > Templates/Image+Caption.css"/>
    > </head>
    >
    > <body>
    > <!-- TemplateBeginRepeat name="repeatImage+Caption"
    -->
    > <div class="header"><!-- TemplateBeginEditable
    name="editHeader" -->Header
    > goes here<!-- TemplateEndEditable --></div>
    > <div class="separator"> </div>
    > <div id="container">
    > <div id="center" class="column"><!--
    TemplateBeginEditable
    > name="editCaption" -->Image caption goes here<!--
    > TemplateEndEditable --></div>
    > <div id="left" class="column"><!--
    TemplateBeginEditable
    > name="editImage"
    > --><img class="sideImage" src=""/><!--
    TemplateEndEditable --></div>
    > <div id="right" class="column"></div>
    > </div>
    > <div class="separator"> </div>
    > <!-- TemplateEndRepeat -->
    > </body>
    > </html>
    >

  • Template and child pages do not match

    Hi, there are several issues here and I'm pretty sure they're linked so I'll tell you them all. I was recently editing my website and I was changing the title of a page a created. I noticed that after I changed the name, when I clicked off it it just went back to the default title in the template. I then looked up how to sort and I think I changed a few bit of coding (I can't remember what though, sorry. It seemed to work. Then I decided to add another page which I listed in the navbar... when I got round to pressing save on the template, this happened....
    (http://ScrnSht.com/vttvzm)
    I'm sorry to sound so vague but I can't really remember what I did. Anyway, it says this for nearly every page when you save the template. I've noticed some of the coding on the template and the child pages do not match. This is the code on the template.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ice="http://ns.adobe.com/incontextediting">
    <head><link href="../Img/favicon.ico" rel="shortcut icon" />
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <link href="../style.css" rel="stylesheet"  type="text/css" ice:classes="*" />
    <link href="../Img/favicon.ico" />
    <meta property="fb:page_id" content="182170851815699" />
    <script src="../includes/ice/ice.js" type="text/javascript"></script>
    <meta name="description" content="The Mowhay Radio is a new radio station. Tune in every Friday night from 7:30pm (GMT) to hear your favourite tracks played and maybe even some you haven't heard before!" />
    <meta name="Keywords" content="The Mowhay Radio, Mowhay, Radio, Cornwall, Gabriel Lucas-Green, Music, Listen, Online, Station, Request, Fun, Games, Take Part, Songs, Tracks, Secret Sound, Celebrity Voice, Random Stuff, mowhayradio.co.uk, mowhayradio, mohay" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>The Mowhay Radio | </title>
    <!-- TemplateEndEditable --></head>
    <body>
    <div id="wrapper">
    <div id="header"><a href="../index.html"> <img src="../Img/logo.png" alt="" width="143" height="125" class="logo" title="The Mowhay Radio" /></a>
    <div id="nav">
    <ul>
    <li><a href="../index.html" class="">Home</a></li>
    <li><a href="../live/" target="_blank">Listen LIVE</a></li>
    <li><a href="../song_requests.html">Song Requests</a></li>
    <li><a href="../takepart/">Take Part</a></li>
    <li><a href="../about.html">About &amp; Links</a></li>
    <li><a href="http://www.facebook.com/MowhayRadio" target="_blank">News</a></li>
    <li><a href="../contact.html">Contact</a></li>
    </ul>
    </div> <!-- END NAV-->
    </div><!-- END HEADER-->
    <div id="content">
    <div id="col1">
    </div> <!-- END COL1-->
    <!-- TemplateBeginEditable name="main text" -->
    <div id="col2">
      <h1>Lorem Ipsum</h1>
      <p>
        <iframe src="http://www.facebook.com/plugins/like.php?href=www.facebook.com%2FMowhayRadio&amp;layout=standard&amp;show_faces=false&amp;width=350&amp;action=like&amp;font=verdana&amp;colorscheme=dark&amp;height=35" scrolling="No" frameborder="0" style="border:none; overflow:hidden; width:350px; height:35px;" allowtransparency="true"></iframe>
      </p>
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod   tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim   veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea   commodo consequat. Duis aute irure dolor in reprehenderit in voluptate   velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint   occaecat cupidatat non proident, sunt in culpa qui officia deserunt   mollit anim id est laborum.</p>
    </div>
    <!-- TemplateEndEditable -->
    <!-- END COL2-->
    <!-- TemplateBeginEditable name="Right sidebar" -->
    <div id="col3">
      <p> </p>
      <p>I love listening to this radio show. <br />
        &#9733;&#9733;&#9733;&#9733;&#9733; - Mitchell Wilson</p>
    </div>
    <!-- TemplateEndEditable -->
    <!-- END COL3-->
    </div>
    <!-- END CONTENT-->
    <div id="footer">
      <blockquote>
        <blockquote>
          <p>&copy; 2011 The Mowhay Radio  |  <a href="../contact.html">Contact</a> | <a href="../about.html">About &amp; Links</a> | <a href="../live/" target="_blank">Listen LIVE</a> | <a href="../song_requests.html">Song Requests</a> | <a href="../takepart/">Take Part</a><a href="../takepart/secret_sound.html"></a> | <a href="../disclaimer.html">Disclaimer</a> | Design by <a href="mailto:[email protected]">Igor Jovic</a></p>
        </blockquote>
      </blockquote>
    </div> 
    <!-- END FOOTER -->
    </div> <!-- END WRAPPER-->
    <!-- Start of StatCounter Code -->
    <script type="text/javascript">
    var sc_project=6645564;
    var sc_invisible=1;
    var sc_security="da714bb8";
    </script>
    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
    class="statcounter"><a title="click tracking"
    href="http://statcounter.com/" target="_blank"><img
    class="statcounter"
    src="http://c.statcounter.com/6645564/0/da714bb8/1/"
    alt="click tracking" ></a></div></noscript>
    <!-- End of StatCounter Code -->
    </body>
    </html>
    and this is the coding for another page. The index for example.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" --><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" --><head>
    <title>The Mowhay Radio</title>
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ice="http://ns.adobe.com/incontextediting">
    <head><link href="Img/favicon.ico" rel="shortcut icon" />
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <link href="style.css" rel="stylesheet"  type="text/css" ice:classes="*" />
    <link href="Img/favicon.ico" />
    <meta property="fb:page_id" content="182170851815699" />
    <script src="includes/ice/ice.js" type="text/javascript"></script>
    <meta name="description" content="The Mowhay Radio is a new radio station. Tune in every Friday night from 7:30pm (GMT) to hear your favourite tracks played and maybe even some you haven't heard before!" />
    <meta name="Keywords" content="The Mowhay Radio, Mowhay, Radio, Cornwall, Gabriel Lucas-Green, Music, Listen, Online, Station, Request, Fun, Games, Take Part, Songs, Tracks, Secret Sound, Celebrity Voice, Random Stuff, mowhayradio.co.uk, mowhayradio, mohay" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>The Mowhay Radio | </title>
    <!-- InstanceEndEditable --></head>
    <body>
    <div id="wrapper">
    <div id="header"><a href="index.html"> <img src="Img/logo.png" alt="" width="143" height="125" class="logo" title="The Mowhay Radio" /></a>
    <div id="nav">
    <ul>
    <li><a href="index.html" class="">Home</a></li>
    <li><a href="live/" target="_blank">Listen LIVE</a></li>
    <li><a href="song_requests.html">Song Requests</a></li>
    <li><a href="takepart/">Take Part</a></li>
    <li><a href="about.html">About &amp; Links</a></li>
    <li><a href="contact.html">Contact</a></li>
    </ul>
    </div> <!-- END NAV-->
    </div><!-- END HEADER-->
    <div id="content">
    <div id="col1">
    </div> <!-- END COL1-->
    <!-- InstanceBeginEditable name="main text" -->
    <div>
      <div id="col2">
        <h1> Welcome</h1>
        <p>
          <iframe src="http://www.facebook.com/plugins/like.php?href=www.facebook.com%2FMowhayRadio&amp;layout=standard&amp;show_faces=false&amp;width=350&amp;action=like&amp;font=verdana&amp;colorscheme=dark&amp;height=35" scrolling="No" frameborder="0" style="border:none; overflow:hidden; width:350px; height:35px;" allowtransparency="true"></iframe>
          </p>
        <p>Welcome to the Mowhay Radio website!</p>
        <p>
          <iframe src="http://www.countdownr.com/external.html?logo=http%3A%2F%2Fmowhayradio.co.uk%2FImg%2Fmr%2520countdown%2520badge.png&amp;alert=http%3A%2F%2Fk002.kiwi6.com%2Fhotlink%2Fy34m6855oc%2FCountdown_clock_noise.mp3&amp;time=2011_05_06_19_30&amp;title=The%20Mowhay%20Radio&amp;repeat=4&amp;url=http%3A%2F%2Fmowhayradio.co.uk&amp;background=transparent" frameborder="0" width="320" height="130" scrolling="No"><a href="http://www.countdownr.com">Countdownr</a></iframe>
        </p>
        <p>The Mowhay Radio is a new amateur radio station hosted by Gabriel Lucas-Green and based in Cornwall which   broadcasts a variety of musical genres. Tune in <strong>every Friday night from    7:30pm (GMT)</strong> to hear your favourite tracks played and maybe even some you haven't heard before!</p>
        <p>
          <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='350' height='197' id='single1' name='single1'>
            <param name='movie' value='http://mowhayradio.co.uk/jwplayer/player.swf' />
            <param name='allowfullscreen' value='true' />
            <param name='allowscriptaccess' value='always' />
            <param name='wmode' value='transparent' />
            <param name='flashvars' value='file=http://www.youtube.com/watch?v=KYwtW1Z7rZc&image=http://mowhayradio.co.uk/Img/mowhay__site_vid_thumbnail.jpg&backcolor=000000&frontcolor=999999&screencolor=000000&volume=35&controlbar=over&autostart=true' />
            <embed
    type='application/x-shockwave-flash'
    id='single2'
    name='single2'
    src='http://mowhayradio.co.uk/jwplayer/player.swf'
    width='350'
    height='197'
    bgcolor='undefined'
    allowscriptaccess='always'
    allowfullscreen='true'
    wmode='transparent'
    flashvars='file=http://www.youtube.com/watch?v=KYwtW1Z7rZc&image=http://mowhayradio.co.uk/Img/mowhay__site_vid_thumbnail.jpg&backcolor=000000&frontcolor=999999&screencolor=000000&volume=35&controlbar=over&autostart=true'
    /></embed></embed>     
    </object>
        </p>
        <p>You can listen live on Friday nights by going to the <a href="http://mowhayradio.co.uk/live" target="_blank">Listen LIVE</a> page.</p>
        <p>Please  </p>
        <p>If you want to keep up to date with exactly what's going on with The Mowhay Radio, you can follow our <a href="http://www.facebook.com/MowhayRadio" target="_blank">Facebook page</a>.</p>
      </div>
    </div>
    <!-- InstanceEndEditable -->
    <!-- END COL2-->
    <!-- InstanceBeginEditable name="Right sidebar" -->
    <div id="col3">
      <p> </p>
      <p>I love listening to this radio show. <br />
        &#9733;&#9733;&#9733;&#9733;&#9733; - Mitchell Wilson</p>
    </div>
    <!-- InstanceEndEditable -->
    <!-- END COL3-->
    </div>
    <!-- END CONTENT-->
    <div id="footer">
      <blockquote>
        <blockquote>
          <p>&copy; 2011 The Mowhay Radio  |  <a href="contact.html">Contact</a> | <a href="about.html">About &amp; Links</a> | <a href="live/" target="_blank">Listen LIVE</a> | <a href="song_requests.html">Song Requests</a> | <a href="takepart/">Take Part</a><a href="takepart/secret_sound.html"></a> | <a href="disclaimer.html">Disclaimer</a> | Design by <a href="mailto:[email protected]">Igor Jovic</a></p>
        </blockquote>
      </blockquote>
    </div> 
    <!-- END FOOTER -->
    </div> <!-- END WRAPPER-->
    <!-- Start of StatCounter Code -->
    <script type="text/javascript">
    var sc_project=6645564;
    var sc_invisible=1;
    var sc_security="da714bb8";
    </script>
    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
    class="statcounter"><a title="click tracking"
    href="http://statcounter.com/" target="_blank"><img
    class="statcounter"
    src="http://c.statcounter.com/6645564/0/da714bb8/1/"
    alt="click tracking" ></a></div></noscript>
    <!-- End of StatCounter Code -->
    </body>
    <!-- InstanceEnd --></html>
    Is there any way I can just create a new template to match the pages already created?
    Sorry if I sound silly but this is my first post on these forums and I'm not really sure what you need to know.
    Gabriel

    You can do everything, (and I mean absolutely EVERYTHING) in a regular HTML page that you can do in a DWT, and you don't have any of the parent/child/editable/non-editable/nested/nesting region problems that you will get with DWT's until you are very highly proficient at coding HTML and know exactly how to lay one out from the start so these things don't happen.
    DWT's are good for putting together a "mockup" to show a client, and have a good idea of the layout you will eventually use. They are also good for a teaching tool (the only time I ever created one was part of a class). If you have a group of people working on a site together, they are helpful too, but if none of the above apply, just make a plain HTML page and "Save As" when you need to make additional pages from it.

  • Applying a New Template to a Page with Tabs

    Hi,
    We use page templates for our pages. We know that you cannot add a region to a page based on a template, but supposedly you can add tabs to a page based on a template.
    One template we have has a single tab on it. The web designers have been adding content to pages built on that template. When they need another tab, they add it and add content to the new region on the tab. They may do this until there are 4 tabs on the page (the original tab that is in the template, plus three additional tabs). We use this for example to collect links to memos and to divide the links onto 4 tabs representing calendar quarters.
    One of the problems with this process is that the web designers have not been consistent in using uniform definitions for the region on each tab causing an inconsistent look-and-feel from one tab to the next.
    I have created a new template with 4 tabs already defined and with the region properties already defined. The web designers can then add content as needed and if a tab is not required it can be marked as hidden.
    The problem that I am running into is that if I try to apply the new template to an existing page, I get the following error message:
    Error: ORA-00001: unique constraint (PORTAL.WWV_THINGS_NAME_UK) violated
    Also, consistently the content from the original first tab is lost and there is no corresponding tab on the reformatted page. Content on the second tab appears to be OK, but content on the third tab is missing. Content on the fourth tab appears to be OK.
    Can anyone tell me 1. what is specifically causing the error message, and 2. is it possible to do what I want to do or will all of these pages have to be recreated manually instead of changing the templates.?
    Thanks,
    Peter

    You should be able to do what you are trying to do. You seem to be running into a bug. Please file this with support if possible. Based on the error message, you seem to be running into a case of duplicate names, on either items or tabs. What you might try doing is renaming the tabs, ensuring uniqueness, before changing templates. By "renaming", I mean changing the NAME of the tab, not the Display Name, by clicking Edit Tab in edit mode. Does this help at all?

  • How do I create a new page with the existing layout of the one I've already created?

    Okay, I'm extremely new to DreamWeaver, just an FYI. I've been commisioned to develop a site for a company. There will be like 10 pages total on the site. I've created the home page, and I'm now attempting to make the second one. But I don't know how I can take the basic layout I created in the home page so I can add information for the other pages later. I tried saving as template, but I had to create editable regions and those got in the way. I even tried copying all the code from the original, but then the Spry menus won't work properly. I hope I conveyed my problem correctly. Any assistance will be more than helpful.
    Thanks.

    There are basicly two methods, firstly the template method you have already tried, and secondly the "includes" method. Some people use one or the other, some people mix the two. I use only the includes method.
    The includes method can be done in several ways. The PHP language has it's own method of doing includes. That's what I ususally use. You can also use the SHTML method. With the SHTML method, the material you wish to include is put in a normal HTML file, then in the file where the include will be put, it is done like this:
    <!--#include virtual="../includes/banner.html" -->
    . . .and the pages/files must have the shtml suffix, not html. That informs the server that yo are using server script in the file.
    I don't use Spry menus (or spry anything) so I can't suggest a reason you encountered a problem with it.

  • I applied a template to a page with SWFs and now that page does not play the SWFs. Why?

    I applied a template to a page with SWFs and now that page does not play the SWFs (just a blank area where the SWF should be). When I detach the template it will play the flash file. This site will eventually be updated via Adobe Contribute. And I just discovered that when applying a template to a page that uses HTML datasets (Master/Detail),it no longer reads the Master/detail regions and displays a blank. Any thoughts?
    [Moved to Dreamweaver forum by moderator]

    Firstly, you shouldn't really 'apply' a template to a page, you should create a child page by going to FILE>NEW>Page from Template.  Too many things can happen when applying a template the way you are doing it. eg:; editable and non-editable regions not matching up and being asked where to place these regions and in all likelihood, you end up with 2 or more of the same region.
    When a swf file is inserted into a page, a corresponding Scripts folder is written automatically is stored in the root of the site - it is also linked to in the head of the document. What I believe is happening is that when you apply a template to the page, the Template has no idea that there is a swf file on the page and is not aware of the correct link to the Scripts folder.  If you do a test and add the swf file to the template page itself, I bet that the links to the swf and the scripts folder are correct - because DW knows the correct path to the script file.   Hence the reason the page probably works when you detach it from a template.

  • How to apply template page to all pages except for logon page?

    Hi,
    I created a template page with id 0 that contains some copyright and other basic information of my application. Is there a way to apply this to all pages within my application except for the logon page?
    Regards,
    Tamas

    It's possible to make page items or regions conditional on the page not being a page number that you specify.
    Head to your page 0, and look for the relevant item in your conditionals list. Select it and specify your login page number in there and all should be well!
    Ben

Maybe you are looking for