Dreamweaver: Applying Template

I have a new page I would like to apply an existing template to, however, the "apply template to page" option is grayed out. I just applied the exact template to the index.html, I don't understand why it's not selectable for the contact.html or others. PLEASE advise. THANK YOU!

I am trying to apply a newly-made dreamweaver template to a newly-created page. The problem is, when I try to do so, my document body and document head show up in the dialogue box as editable regions, even though I only have one tag (the h2 tag for the "Page Name") set to be editable.
A properly created DW template should have at least TWO editable regions, both in the head of the page:
1. A region called "doctitle" around the <title> tag
2. A region called "head" located just above the </head> tag
In addition it will have any number of other editable regions defined by you as you build out the body of the page.
So - that's the story on properly created templates. Now, I don't understand your issue - what do you mean by "my document body and document head show up in the dialogue box as editable regions"?

Similar Messages

  • Dreamweaver cannot find, and thus apply, templates after uploading the website to server

    Hi,
    I am using Dreamweaver 8, and my problem is like this:
    When the site was first built using Dreamweaver, I created a template, after which I was able to apply it to other existing/new pages by [Modify/Templates/Applying Templates to Page].
    However, after uploading all te files to the server, and then downloading them back to my computer, when I tried to apply a template to an existing/new page by [Modify/Templates/Applying templates to Page], Dreamweaver showed that there is "no template" in the entire site - despite the fact that the folder containing the .dwt file was successfully downloaded from the server.
    Also worth mentioning is that, for the pages that are already attached to the template before I sent the files to the server, they are working just fine even after I have uploaded them.
    I saved the files in the following manner:
    >ROOT FOLDER
    >>>TEMPLATE FOLDER
    >>>>>>template.dwt
    >>>indext.html
    >>>OTHER PAGES FOLDER
    >>>>>>page1.html
    >>>>>>page2.html
    I also tried to save the template.dwt directly under "ROOT FOLDER", but that didn't work neither.
    Is somebody else facing the same problem? Or does anyone know how to solve this issue? It would be much appreciated.
    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.

  • 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.
    >

  • Background does not appear after applying template

    CS4
    template defined and saved in template folder.
    when applying template to new html page, all transfers but background image does not appear, url is in code but does not find file. any ideas???
    body {
    background-image: url(file:///F|/projects/BBMD Projects/bbmd site v2/images/bridgelv2.jpg);
    background-repeat: no-repeat;
    background-color: #D2D2D2;
    background-attachment: fixed;
    background-position: 75px top;
    height: 400px;
    width: 600px;
    position: inherit;
    overflow: scroll;
    top: auto;
    left: auto;
    right: inherit;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: small;
    font-style: normal;
    color: #000;
    border-top-style: none;
    text-align: left;
    vertical-align: top;
    bottom: auto;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;

    template defined and saved in template folder.
    when applying template to new html page, all transfers but background image does not appear, url is in code but does not find file. any ideas???
    If this is a new site and a newly created template, you DON'T need to 'apply' the template.
    The best way to create new child pages is to :
    FILE>New>Page from Template
    There will be a list of any templates you've created, select the correct one and press create.  Child page created :-)
    Save as newpagename.html  (not inside the Template folder though !)
    PS;  as others have pointed out, the link to the background image is incorrect it's pointing to your harddrive.  Is the file within the defined site working folder?
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • 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

  • Problem with xsl:import and xsl:apply-templates select="element_name"

    I import a xsl tranformation into another xsl file.
    During the transformation i want to limit the transformation to certain xml elements using the select attribute in apply-templates. However if I want restrict to xml elements whose templates are defined in the imported file, they will not be called.
    I'm using currently JWSDP1.4 but problem was also with 1.3.
    Can anybody help: Is this not xslt spec compliant or just a bug inXALAN ?
    regards pszawlow

    Solved it by myself:
    the problem was not the import but the following:
    xml file: looks like:
    <a>
       <b>
       </b>
        <c>
        </c>
    </a>xsl file looked like and should omit output of <c> </c>:
    <xsl:template match="/">
    <xsl:apply-templates select="b" />
    </xsl:template>
    <xsl:template match="b">
    </xsl:template>
    However / is not the level <a>, which I thought. So there was no matching <b>.
    I changed the xsl file to:
    <xsl:template match="/">
    <xsl:apply-templates />
    </xsl:template>
    <xsl:template match="a">
    <xsl:apply-templates select="b" />
    </xsl:template>
    <xsl:template match="b">
    </xsl:template>
    and it worked !

  • Could not apply template to document?

    Hi Experts,
    When i am trying to apply template to my report ,I am getting error like this...
    "Could not apply template to document".
    Please solve this issue.
    Thanks in advance,
    A. Kavya kumari.

    Hi Kavya,
    Try to apply the predefined template in these methods
    In the menu bar goto Report-> Template Expert. A new dialog appears, choose any of the predefined template. If this doesn't work then apply manually by clicking on the Browse button in the same window.
    By default, the sample templates shipped with Crystal Reports are installed at
    \Program Files\Business Objects\Crystal Reports 12.0\Templates.
    If this also doesnt work, then your template files might be corrupted. Try reinstalling the software n check.
    --Praveen G

  • How to apply template, existing reports

    Post Author: satheesh
    CA Forum: WebIntelligence Reporting
    i have 100 reports in webintelligence documents,
    then i have to add company log for that all 100 existing repots.
    how this possible in one time .
    cleary my query is i have to apply template for existed webintelligence report at time for 100 repotrs
    this is possible in BO xi r2 webi....

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    satheesh:
    Your original posting was:
    i have 100 reports in webintelligence documents, then i have to add company log for that all 100 existing repots.  how this possible in one time .  cleary my query is i have to apply template for existed webintelligence report at time for 100 repotrs   this is possible in BO xi r2 webi....
    If you have 100 reports and each report needs a company logo on it, then you will have to modify each report, create a blank cell, populate that blank cell with an http://<yourserver>/images/my_co_logo.gif verbiage, mark that cell as "read as HTML", save the report, and then go to the next report and do it again (99 more times).  I think what you are asking is if it is possible to make BOE assemble an "automatic header" (one that you've re-optioned") so that as each report runs it gets "branded".  The answer, unfortunately, is that you can't make it work that way, each report must be individually endowed.  Good Luck!

  • 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.

  • 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)

  • Dreamweaver MX, template problems

    I've been working on my site for a long time. For some
    reason, out o' the blue, the pages and previously applied
    templates, aren't separate anymore. Also, when i apply a template,
    it applies a blue background (not in the template) and the menu,
    and nothing else.
    TIA.

    > the pages and previously applied templates, aren't
    separate anymore.
    What does this mean?
    > Also, when i apply a template, it applies a blue
    background (not in the
    > template) and the menu, and nothing else.
    We would need to see your Template and its code to begin to
    understand what
    you are describing. Can you upload the Template somewhere and
    post a link
    to it, please?
    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
    ==================
    "kevin319" <[email protected]> wrote in
    message
    news:gg94im$7ip$[email protected]..
    > I've been working on my site for a long time. For some
    reason, out o' the
    > blue, the pages and previously applied templates, aren't
    separate anymore.
    > Also, when i apply a template, it applies a blue
    background (not in the
    > template) and the menu, and nothing else.
    >
    > TIA.
    >

  • Unable to open files/apply templates

    Overnight, my copy of DVD Studio Pro has become unable to open any existing projects. I attempt to open the project, and the "Loading Project" progress bar goes through *Opening File*, *Loading Assets*, and then completely locks up once *Loading Menus* appears. I initially suspected corrupted project files, but the projects open fine on a second machine (details below). I can create a new file, and even add assets, but if I try to apply an Apple template, the "Applying Template" progress bar appears, and locks up (necessitating a force-quit of the application).
    I have trashed preferences (repeatedly), and even gone so far as to reinstall the entire FInal Cut Studio from the discs (from the upgrade discs -- we recently upgraded to Final Cut Studio 2). And it's still happening.
    There was a recent Pro Application Support update (4.0.2) and a Final Cut Pro update (6.0.1) -- has anyone heard anything about problems being caused by those updates? My primary machine is a Dual 2.3 GHz PowerPC G5, and the secondary machine I tested is a 2 x 2.66 GHz Dual-Core Intel Xeon; the above-mentioned updates have not been installed on the second machine.
    WIll I have to go back to the original Final Cut Studio 1 discs and reinstall those, and then reinstall the upgrade again? Or does anyone have any other ideas?

    Okay, so I appear to have found a solution, but I'm baffled as to why it might work. It started with the discovery that if I logged in as a different user, everything seemed to work. So in the end, I trashed my existing user account (After backing up everything, of course) and created a brand new one.
    Didn't work. Tried again -- still didn't work.
    As bizarre as it sounds to say it, my computer just doesn't like me; or more specifically, it doesn't like my name. I can create a whole new user account with a different name, and everything works. Create one with my name (after deleting the old one, so as not to have duplicate accounts), and I have the same problems.
    Can anyone think of why this might be the case?

  • Applying template problem

    I've been working on my final for my multimedia class and I've been stuck on a problem regarding applying a template to a page. I went to Modify>Templates>Apply Template to Page and when the box to choose a template appeared it was empty. I'm not quite sure how I was able to get the option for my template in there, but it's broken and isn't coming out as the top image and my other templates aren't appearing in the selection box also. I'm rather new to this so I appologize if I am not supplying enough information for a possible solution.

    I've been working on my final for my multimedia class
    How much time do you have to complete this?  In other words, how quickly do we have to work?
    I went to Modify>Templates>Apply Template to Page and when the box to choose a template appeared it was empty.
    This suggests that either your site is not properly defined or the folder hierarchy/contents are not correct.  How many Templates do you have for this site?  Do you see them listed for this site when you use FILE | New > Page from Template?

  • Applying template or button not possible

    when applying a template in DVDSP4.0.2 the application comes up with a window applying template, DVDSP cannot quit however.
    Applying/creating a button is not possible!
    Re-installing the software did not solve the problem.
    Does anyone knows how to solve this serious matter?

    Hi Dietert, welcome to the discussions.
    Do you mean that you cannot draw out a button rectangle, or that you cannot apply a template object?
    If the latter, have you removed any fonts from your system at all - or are you using a font management software? If so, re-enable all fonts (particularly those such as Helvetica and any system fonts) and see if that improves things for you.

  • Inserting RSS Feeds into a Dreamweaver CS3 Template

    I've created a website template in Dreamweaver CS3. We need
    to insert an RSS feed that will allow our web site to receive news
    updates and information pertinent to our consumers needs. Please
    help! I have no clue how to do this.

    Which version of FW? If FWMX 2004 or earlier, you would need
    to read this
    carefully -
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    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
    ==================
    "hraklis_1" <[email protected]> wrote in
    message
    news:g4p0l0$lak$[email protected]..
    > I've created a dreamweaver cs3 template for my website.
    I've also created
    > a
    > menu in fireworks which has popup menu's. If I create a
    new page (not from
    > a
    > template) and insert the fireworks html, everything
    works fine when I try
    > to
    > preview it.
    >
    > However, if I insert the fireworks html into a page
    created from a
    > template,
    > or even the original template file, the image of the
    menu is inserted and
    > can
    > be viewed, but the popup menu's do not appear. Any
    thoughts or
    > suggestions?
    >

Maybe you are looking for

  • Payment wizard for incoming payment.

    Dear all, we need to enter TDS amount in incoming payment wizard.when we are adding payment wizard for incoming payments there is no option for TDS amount. is it possible to create udf for payment wizard. how we can solve this issue please guide me.

  • IGo charger tip for HP 15

    I have an iGo universal charger I bought recently as a spare in case of something happening to the factory charger. I noticed none of the tips worked. Is there a tip for the iGo I have that will fit my PC? If there is, I just need the tip # for it. T

  • Block Site 1.1.8 is not blocking websites entered into Blacklist

    I am using Firefox 31.0 on a Toshiba laptop running Windows 7 Ultimate 64-bit. I added an add-on called Block Site because I keep getting these very aggravating windows opening that I haven't visited and don't want to see such as adcash.com and gacet

  • How to check the objects size in DBA_RECYCLEBIN

    Hi All, I want to purge dba_recyclebin, before that i want to check the size of all objects residing in dba_recyclebin. I am using below query to goup by tablespace. SELECT TS_NAME, SUM(SPACE*1024)/1024/1024/1024 AS "Size in GB" FROM DBA_RECYCLEBIN G

  • Using Intermec printers to print through LabVIEW

    Hi! I would like to call my Intermec label printer to print through LabVIEW over the serial connection (RS-232 port) but I have no idea on how to start. Anyone has any suggestions or examples that I can refer to ? Thanks! Regards, YuanGe