Dreamweaver template-update overwrites content

Currently I'm using the Adobe CS4 Web Premium Suite on a Mac. I've been using Dreamweaver for a very long time but just recently I started to build templates for Contribute and it's been working fine, however, I need help resolving an issue.
After designing the template, setting the Editable Regions and saving it as a template in Dreamweaver, I upload it to production and can edit the page with contribute successfully. However, when I update non-editable regions on the template, overwite the files using that template and publish those files to production, it overwrites any content updates the user makes via Contribute.
Am I missing a step? Any suggestions why this is happening?
Any help would be appreciated.
Thank you!

Yes Bryant I did,
I finally figured out that when using: "Save as Template..." (from the File menu), Dreamweaver  was creating the file with two extensions: .dwt & .cfm...
However, it should only have one extension, and that's: .dwt (DreamWeaverTemplate). This way both Dreamweaver & Contribute treat it as a template file rather than regular Coldfusion.
This should fix the issue.
Figuervj
http://pixelerium.wordpress.com

Similar Messages

  • Dreamweaver template update ftp files without synchronizing

    Today I change Template - Update all files based on the template - synchronize entire site.
    What I Like to do: change Template - Update all files based on the template
    and then in the same window button with ftp upload changed files!
    Why do I want this:
    The synchronization can take time on big sites, I have cms and billing system on my site with many files.
    The synchronization can take time on slow connection.
    When the time betwen two synchronization is to small Dreamweaver select all files (or many) for synchronization. I do not know if this is only my problem (maybe there is different time on my computer and the server?).
    Do we have solution for this today?
    Or can this be something to suggest for next version?
    Thanks for any suggestion

    Not sure if there is anything set up in DW yet, it does give a status window of what files were updated, you could possibly work backwards form that list (still a bit cumbersome). I also believe that if you change the template and upload it to your server, it will prompt you as to whether or not you'd like to "include dependant files", and (in theory) it will also upload the files linked associated with it... but that may need to be tested to see how well it works on a larger site.
    As a possible alternative, you could use "Server Side Includes" - which is a single file which contains a portion of your page (the top navigation, footer area, etc.), and any page that uses this element will automatically update when you upload just that one element. Here is a link which explains it better: http://www.smartwebby.com/web_site_design/server_side_includes.asp and there are several others on the web that offer more detailed explainations - one caveat is that the web server you use would need to be set up to accept SSI... most do, but something you'd need to look into beforehand...
    Hope that helps,
    Jesse

  • Dreamweaver template update freezes on Mac

    Hi all,
    I hope someone can help me only I am running Dreamweaver CS5.5 on an iMac (Mac OS X Lion 10.7.2) and when I go to save a template I get the usual 'update all files linking to that template' window but when I click update nothing happens and I get left with the option to stop or close. If I re-start the program it works again for a while then it happens again. Is this a known bug or is there something wrong with my software?
    I have been using Dreamweaver for several years now and I'm not doing anything different to what I usually do.
    Cheers

    Try this:
    http://kb2.adobe.com/cps/405/kb405604.html#main_user_config
    If that doesn't work, try creating a new user account on the computer to see if it works.

  • Dreamweaver template child's content not displaying in Safari

    I just created a template from this site:
    http://www.bonch.tv/new/jarrett/comm.html
    and made a new page from it, but the new page only shows the background in Safari, no other content:
    http://www.bonch.tv/new/jarrett/comm_cancerpsa.html
    It works fine in Firefox, though. Any help on figuring out what is causing this would be greatly appreciated.

    In your template file, change this -
    </script>
    <!-- InstanceBeginEditable name="head" -->
    to this -
    -->
    </script>
    <!-- InstanceBeginEditable name="head" -->
    Then given that you have 45 absolutely positioned elements on the page, it's fair to say that you have committed one of the more grievous mistakes a new developer can make: using absolute positioning as a primary layout tool.  Looking at your page in FF I do not see any reason at all to use a single absolutely positioned container there....

  • DreamWeaver Template change not updating children webpages?

    Hi Group,
    Sorry for my newbie question here.
    I loaded an HTML webpage, and saved it out as a DreamWeaver Template file.
    I then created webpages from the template file (( File - New - Page From Template - Site - Template), and made sure that the "Update Page when Template Changes" check box was selected/checked.
    I then created several chldren webpages, and saved them as .html files.
    I decided to change the navbar system - part of the uneditiabel region in the template - by opening the template file and edit-ing that file, and then saving it as the same DreamWeaver template file.
    However, the webpages did Not Update to reflect the navbar changes in the template fle !??!???
    Can someone tell me what I'm doing wrong?
    I believe it is something that I'm doing incorrectly with DreamWeaver ..
    Here is the HTML if anyone is interested.
    <!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>
    <!-- TemplateBeginEditable name="DocTitle" -->
    <title>CNC Joe's  WorkShop - - Home Page </title>
    <!-- TemplateEndEditable --> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
       <link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
    <!-- Keep the http-equiv meta tag for IE8 -->
      <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <!-- Link the CSS file here -->
    <link rel="stylesheet" type="text/css" media="screen,projection" href="../style.css" />
    </head>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <body>
    <div id="wrapper">
    <a name="top"></a>
    <a href="index.html" target="_self" title="CNC-Joe's Home Page" >
    <img src="../joesworkshoplogo.gif" width="770px" height="300px" alt="CNC Joe's  WorkShop - Home Page" />
    </a>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- BEGIN OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <div class="mainmenu">
    <ul>
          <li class="li_nc"><a href="index.html" target="_self" >Home</a></li>
          <li class="li_hc"><a href="cad.html" target="_self" >CAD</a><ul class="ul_ch">
             <li class="li_nc"><a href="cad_intellicad.html" target="_self" >IntelliCAD</a></li>
             <li class="li_nc"><a href="cad_draftsight.html" target="_self" >DraftSight</a></li>
             <li class="li_nc"><a href="cad_progesoft.html" target="_self" >Progesoft</a></li>
          </ul></li>
          <li class="li_hc"><a href="cam_html" target="_self" >CAM</a><ul class="ul_ch">
             <li class="li_nc"><a href="cam_mach3.html" target="_self" >Mach3</a></li>
             <li class="li_nc"><a href="cam_vcarve.html" target="_self" >V-Carve</a></li>
             <li class="li_nc"><a href="cam_cut3d.html" target="_self" >Cut 3D</a></li>
             <li class="li_nc"><a href="cam_bobcadcam.html" target="_self" >Bob-CAD-CAM</a></li>
             <li class="li_nc"><a href="cam_meshcam.html" target="_self" >Mesh CAM</a></li>
             <li class="li_nc"><a href="cam_deskcnc.html" target="_self" >Desk CNC</a></li>
          </ul></li>
          <li class="li_hc"><a href="projects.html" target="_self" >Projects</a><ul class="ul_ch">
             <li class="li_nc"><a href="projects_zzeroplate.html" target="_self" >Z Zero Plate</a></li>
             <li class="li_nc"><a href="projects_x0y0edgefinder.html" target="_self" >X0-Y0 Edge Finder</a></li>
             <li class="li_nc"><a href="projects_digitizingtouchprobe.html" target="_self" >Digitizing Touch Probe</a></li>
             <li class="li_nc"><a href="projects_millwebcam.html" target="_self" >Mill Web CAM</a></li>
             <li class="li_nc"><a href="projects_laseredgefinder.html" target="_self" >Laser Pointer Edge Finder</a></li>
             <li class="li_nc"><a href="projects_davidlaserscanner.html" target="_self" >David Laser Scanner</a></li>
          </ul></li>
          <li class="li_hc"><a href="reference.html" target="_self" >Reference</a><ul class="ul_ch">
             <li class="li_nc"><a href="ref_gcodes.html" target="_self" >G-codes</a></li>
             <li class="li_nc"><a href="ref_nema.html" target="_self" >NEMA Motor Info</a></li>
             <li class="li_nc"><a href="ref_vbearings.html" target="_self" >V-Bearings</a></li>
             <li class="li_nc"><a href="ref_linearguides.html" target="_self" >Linear Guides</a></li>
          </ul></li>
          <li class="li_hc"><a href="offtopictopics.html" target="_self" >Off-Topic Topics</a><ul class="ul_ch">
             <li class="li_nc"><a href="ott_backyardfoundry.html" target="_self" >BackYard Foundry</a></li>
             <li class="li_nc"><a href="ott_blacksmithing.html" target="_self" >BlackSmithing</a></li>
          </ul></li>
          <li class="li_nc"><a href="links.html" target="_self" >Links</a></li>
          <li class="li_nc"><a href="contact.html" target="_self" >Contact</a></li>
    </ul>
    </div>
    <!-- END OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- END OF PULL DOWN MENU -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
    <!-- TemplateBeginEditable name="content" -->
    <h2>Projects: Digitizing Touch Probe:</h2>
    <ul>
    <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
        <li> </li>
    </ul>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->       
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <!-- End of Editable Region - the rest is Boiler Plate -->       
    <!-- TemplateEndEditable -->  
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
      <br />
      <p><a href="#top" >Back To Top...</a></p>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <!-- Footer Region                                                                                    -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
    <div id="footer">
    <hr />
      <p>
      <a href="http://validator.w3.org/check?uri=referer">
      <img class="logos" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional"  height="31" width="88" /></a>
      <a href="http://jigsaw.w3.org/css-validator/check/referer">
       <img  style="border:0;width:88px;height:31px"
        class="logos" src="http://jigsaw.w3.org/css-validator/images/vcss"
        alt="Valid CSS!" />
      </a>
    </p>
      <h5><strong><i>
       This website is for educational purposes only. Any resemblance to any person - living or dead - is purely coincidental
      </i></strong></h5>    
      </div>
    </div><!-- end Div Wrapper -->
    </body>
    </html>

    Additional Info:
    No -I haven't been able to get the DW Template feature to work on other sites - this is my first application of it to a website (actually it's the whole reason for getting DreamWeaver... I know it works, I know that I'm doing something wrong.. I just don't know what it is...)
    All the .HTML files (index.html, cad.html, cam.html, etc. etc.)  are in the website's root directory.
    The Template file is in its own sub-directory folder named "Templates".
    Right now even the .css file is in the root directory....
    Thank You for trying to help me -  I greatly appreciate it.
    Joe

  • Dreamweaver templates not updating *.php file

    Hello everyone,
    I have been given an exisiting website to update that uses
    Dreamweaver templates.
    I have made the changes successfully within the content.dwt
    file, saved it, and then uploaded both the new content.dwt file and
    the related *.htm pages that were linked to it.
    After going to the website to double check the new pages I
    found a *.php file that uses the same template, content.dwt, but it
    never asked to update that particular file.
    So, I opened the *.php file in Dreamweaver and tried to apply
    changes from the content.dwt file to it using: Templates - Update
    current page, but no such luck. Since there is no code at the start
    of this file like the other *.htm files how do I "connect" it with
    the newly updated template. I tried making a small change on the
    content.dwt file so see what files would come up in the "do you
    wish to update..." list but for some reason the *.php file is not
    there.
    Perhaps the answer is fairly obvious to someone who has
    worked with Templates a lot but since I have just started working
    with templates I still have a large knowledge gap in this area.
    Any help would be appreciated.
    Many thanks
    Mr Zedd

    Can you post a link to the PHP page, please? This will allow
    me to see the
    HTML markup on it....
    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
    ==================
    "Mr Zedd" <[email protected]> wrote in
    message
    news:eviqn8$ntm$[email protected]..
    > Hello everyone,
    >
    > I have been given an exisiting website to update that
    uses Dreamweaver
    > templates.
    >
    > I have made the changes successfully within the
    content.dwt file, saved
    > it,
    > and then uploaded both the new content.dwt file and the
    related *.htm
    > pages
    > that were linked to it.
    >
    > After going to the website to double check the new pages
    I found a *.php
    > file
    > that uses the same template, content.dwt, but it never
    asked to update
    > that
    > particular file.
    >
    > So, I opened the *.php file in Dreamweaver and tried to
    apply changes from
    > the
    > content.dwt file to it using: Templates - Update current
    page, but no such
    > luck. Since there is no code at the start of this file
    like the other
    > *.htm
    > files how do I "connect" it with the newly updated
    template. I tried
    > making a
    > small change on the content.dwt file so see what files
    would come up in
    > the "do
    > you wish to update..." list but for some reason the
    *.php file is not
    > there.
    >
    > Perhaps the answer is fairly obvious to someone who has
    worked with
    > Templates
    > a lot but since I have just started working with
    templates I still have a
    > large
    > knowledge gap in this area.
    >
    > Any help would be appreciated.
    >
    > Many thanks
    >
    > Mr Zedd
    >

  • Dreamweaver template files updating, but javascript/jquery not being called on random pages.

    Hello,
    I have been tasked with updating the navigation on a site that is using a Dreamweaver template (DWT) as the base file. The navigation was originally built using jQuery navigation UI, however this did not address all of our needs and I have updated it with another version of an accordion.
    The .dwt file only is only controlling the navigation and the head of the site.
    I have integrated the new xhtml structure and added/removed javascript/jquery into the .dwt file. I saved the file, therefore updating all of the relevant .html files, and verified that the accordion works.
    However - the accordion does not work for all of the xhtml files. Some files, seemingly at random, are not pulling in the javascript.
    When opening the relevant .html files, I can verify that they have all been updated with the new xhtml and the correct javasctipt. However, when viewing the .html files that are not displaying correctly with FireBug, I can see that none of the jquery/javascript is being applied to the navigation (classes are missing that are injected into the xhtml, but the structure and css is correct).
    I've done some research and the only issues I've been able to find are related to .xhtml files not being updated with the correct code, but in my case all of the affected files have the correct xhtml and scripts in the head.
    Does anyone have any light to shed on this subject? I am quite puzzled.

    While I understand that looking at code is the ultimate way to find a solution, the intent of my question was not "how do i fix this" or "what is wrong with my code" but rather "does anyone have any idea as to why this would be happening". Or even, "where would you start to troubleshoot this".
    I made my question general as such because I intended on trying to troubleshoot on my own in order to better understand the issue.
    Thank you for stating the obvious, not all first time forum posters are completely unaware of how to ask questions properly.

  • Dreamweaver template file (.dwt) updates related files but not file time stamp

    I updated a bunch of dreamweaver template files, and allowed dreamweaver to update the affected files in the site.
    The file were all checked out, and they were updated.
    However, the timestamp of the files did not update.
    Now, when I synchronise with my server, it doesn't see these files as being "new".
    Any way I can get these to update the timestamp without manually finding and pushing all of them?
    Using Dreamweaver CS5 V. 11.0 Build 4993

    This is certainly an odd symptom, and one I have not heard of before.  If you just create a new 'dummy' child page from this template and leave it local (i.e., don't check it in), when you do an update does that timestamp change?

  • Need Help Reslicing Photoshop Site Layout to Update Dreamweaver Template

    I created a website in adobe photoshop cs3 and sliced it up
    to created an html file with sliced images. My main navigation menu
    is made up of graphics.
    I brought it into dreamweaver and created editable regions,
    created rollovers etc. Then I created a dreamweaver template from
    that to create the rest of the web pages for my site.
    The client has come back to me and wants to add more menu
    options to the site. This is where I'm stuck! When I use photoshop
    to make more menu slices, it renumbers them. How do I export the
    new slices with the new layout so I can use them to update my
    dreamweaver template. How can I get those new slices/html layout to
    the dreamweaver template without losing all the work I have done on
    my current dreamweaver template?
    issuenite

    > Why does photohshop even provided a slicing feature if
    it does not provide
    > good code?
    The slicing is not the problem. It's the export as HTML that
    is the
    problem. And you'd have to ask Adobe that question if you
    want an answer.
    We are all just volunteer peers here.
    > What is better about Fireworks? I have the program but
    have never used
    > it.
    FW HTML is no better.
    http://www.adobe.com/devnet/fireworks/articles/why_fireworks.html
    At any rate, read this -
    http://apptools.com/rants/spans.php
    - and then look
    at your code and count colspan, and rowspan attributes.
    Unfortunately, the
    only way to avoid this mess is to learn enough HTML/CSS that
    you can build
    your own tables in DW, and do it in such a way that you don't
    rely on
    merging and splitting cells (which is what generates those
    colspan and
    rowspan attributes).
    Again, unfortunately, you are REALLY stuck in a bad
    situation. Since you
    have a) used a completely graphic menu button array, and b)
    used a graphic
    background behind the menu buttons, and c) chosen to embed
    that graphic
    background in each sliced button, you cannot add new buttons
    without
    remaking the entire menu. You will only make that mistake
    once. I never
    start building menus until I have an approved site plan in
    hand. By the
    way, that's a nice looking layout.
    I don't see any clear path to salvation here. Since you are
    absolutely tied
    to PS for exporting the HTML and slices, you will have to
    recreate
    everything, I believe.
    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
    ==================
    "issuenite" <[email protected]> wrote in
    message
    news:[email protected]...
    > >That's a very bad start. This HTML is *not* suitable
    for production use.
    >
    > Why does photohshop even provided a slicing feature if
    it does not provide
    > good code?
    >
    >
    > > If you used FW to create the graphics, and DW to
    build the page and
    > > write
    > > the HTML, you wouldn't be having this problem.
    However, if you post a
    > > link
    > > to the page, we will likely be able to help you.
    >
    >
    > What is better about Fireworks? I have the program but
    have never used
    > it.
    >
    > The site is in its infancy at www.kevinkipfer.com
    >
    > thanks
    > issuenite
    >

  • Dreamweaver template to update file other than html?

    Hi,
    I am using Dreamweaver CS4 to manage my website.
    The problem is i cannot get Dreamweaver to update my .tpl (php template)
    Any idea?
    Thanks

    Thanks,
    I finally figure it out how to get if fix.
    May be i should say it clear, i use dreamweaver template which is a dwt file to update all html pages in my website.
    But some of the file i use which is tpl extension (the same as html file but with template variables). The dreamweaver
    did not recognize it. The page did not show up when i make changes in dwt file.
    Then what i do is change the "configuration" > "DocumentTypes", so that dreamweaver recognize tpl as a type of html file.
    After that i change extension.txt file also. Rebuild site cache. And now its done.

  • Dreamweaver Template files not updating other files

    I took over a website and the site uses Dreamweaver Templates.  I'm not too familiar with the way that Templates works.  Anyway, the nav (links at bottom of website) need to be updated.  I updated the secondary.dwt file within the Templates folder.  I uploaded it, but it's not updating the pages on the website that use this template file.  Please help! 

    When you update the template from within DW, you should get a dialog asking if you want to update all of the files that use the template. When you click "OK" everything is updated across the site.
    If you updated the template outside of the defined site, it won't update anything and you may have a bit of work on your hands.
    In DW, you should have a Files tab with a drop down menu. The drop down menu should have all of your defined sites. Choose the site you are working on and a list of the files in that site will appear. Choose the template and make your changes and it will ask if you want to update everything else.

  • Dreamweaver Template not updating pages error code 2?

    Hi All
    I wonder if someone can help me - I have a site that i made with Dreamweaver. I then got a new computer (windows 7) and updated my dreamweaver from cs4 to cs5. I have just tried to update my pages and it doesnt seems to be working.
    Not sure what information you need - but I have a root folder and within the root site there is a folder with Templates and the templates have the extension .dwt
    I have read some posts that say recreate the cache which i have tried - this hasnt worked
    I then read another post that says you can update the pages by Modify > templates > Update Pages..
    When i tried this I get the update dialog box, but when i try to update the pages i get the following error message:
    "error accessing file - (name of the dwt file), file not found, error code 2"
    Can i ask the what is the error code 2 - i mean is there any information about the error code which will help me to resolve my templates not being found? as i am bit stuck...
    Would appreciate any help on this and thank you in advance
    Regards
    Lorna

    I would like further help with the issue Guy McMickle identified.
    When I update links to my two template files I receive the above Error Code 2 message four times. There are 22 page files based on these templates.
    The <!-- InstanceBegin template... code does not exist in either of the template files. I does, however, show up in every one of the 21 files that were created from one of the two templates. In these files it shows up in uneditable header code.
    Why does the error code only show up four times? If the instanceBegin code is only generated when a file is created based on a template, how can it be avoided or corrected?

  • Dreamweaver Template problem updating links since upgrading to cs 5

    I've just installed DW CS5 onto my W7 system.
    Can some one please explain why when I update the menu links on my template
    now
    All my links are displayed like this now when the template updates
    <li><a href="membrane_keypad.htm">Membrane Keypads </a></li>
    I wish them to be like how they were below
    <li><a href="../membrane_keypad.htm">Membrane Keypads </a></li>
    Even if I hard code like the above code ..//membrane_keypad.htm  dreamweaver cs5 over writes
    them when I update the template.
    Is there a setting somewhere I have missed.
    I never had this issue on CS4
    Regards
    Ian

    The links in the page will depend on what the links look like in the Template file and where the child page is saved in the site.
    So - what do those links look like in the Template file?  Where is the child page saved in the site?
    Dreamweaver manages links in Template files and in Library items so that they are adjusted to account for saving that child page at any folder location in the site.  Are you saying you DON'T want DW to do that?
    For what it's worth, there is no difference between CS5 and CS4 regarding management of these links.

  • Dreamweaver CS4 - Update Template Files dialog box doesn't appear

    I've just made a small change to my website's template file in Dreamweaver CS4, but I can't figure out how to apply the change to all pages on my site.
    As I understand it, a dialog box is supposed to appear immediately after you hit 'Save'. This gives you 'Update' or 'Don't Update' options.
    The box does not appear for me. No idea why - I saved the revised template and nothing happened!
    Is there another way of updating the webpage files with the revised template? Or can it only be done though the dialog box? If so, how can I bring the box up?
    Thanks for any tips, tricks, or explanations...

    Well, I'm not sure what rule I've broken. I followed the procedure set out in that tutorial to make my template in the first place, although I used Janine Warner's book 'Teach yourself Dreamweaver CS4' which goes through the same steps as the web tutorial - with the exception of the 'Apply your Dreamweaver template' section, which seems to suggest that you create your web pages first, and turn them into templates later.
    I simply created my basic page layout, saved it as a template, and then created every page on my site by clicking 'New from template'. No problems, everything worked well.
    I don't see why it would be necessary to create a new page from a template, and then apply the template to the page. Doesn't that amount to using two different methods to do the same thing twice? In any case, there's nothing in the book about 'Applying' a template, so I didn't do it. That's the only point of difference. But is it the problem? Is the book wrong?
    Now I've got the book open in front of me at page 196 - 'Edit a template to update web pages created with it'. Interestingly, I may have discovered why it was not possible to edit my link in the Property Inspector.
    The book remarks, more or less as an afterthought tacked on to the end of the page, that in order to use the Property Inspector to edit a template, I must first click on the element I wish to edit and then click 'Modify', 'Templates', and 'Make Attribute Editable'. Only then can changes be made.
    The book says nothing about editing elements *without* using the Property Inspector, as I attempted when I tried the 'Insert Hyperlink' method, so I'm not sure whether this is possible or not. As it didn't work for me, I'd say not - but it would be nice if the book was specific on this point!
    It's amazing how vague some of these tutorials can be - and also rather baffling that they can differ so much from each other. Website construction is all about specifics after all - everything is either 100% right, or 100% wrong. There shouldn't be any room for fuzziness. As it seems I have a specific problem, it must come from a specific, identifiable cause. It should be possible to say, "Ah, now if THAT is going wrong, the error must be HERE. Fix it by doing THIS."
    Well, I'll try making the attributes of my elements editable now. I'm not sure if a text link counts as an element (that's another point on which my book is a little vague), but I dare say I'll find out shortly!

  • How to add Dynamic .php content to a Dreamweaver Template

    OS: Windows 7
    DW Version: CS5
    PHP: XAMP Local Server
    I hope someone can help.  I have created a Dreamweaver Template for .php and created 5 child pages of this template.  Everything is in working order as far as that is concerned.  Here is my problem:
    I want to add some dynamic data (some categories) from a MySQL database to a nonEditable section of the main template so that it will flow to the 5 child pages.  I can create a connection to the database with no problem, but when I go to insert a recordset into the template, it asks me to set up the "site", "document type" and "testing server" which I have already done.  I am pretty sure that this is because it is looking at the .dwt file type and saying that it needs to be a dynamic document like .php.  I have tried going through those steps, but then it just ends up renaming my .dwt file to .php and then it is no longer a template. I do not know why I cannot add dynamic data to a dreamweaver template.  It seems like it should be a no-brainer, but it just isn't working out for me.  In my research, I did locate the following
    http://help.adobe.com/en_US/Dreamweaver/10.0_Extending/WS5b3ccc516d4fbf351e63e3d117f53d610 8-7fdb.html
    but wasn't completely sure how to apply it or if it only pertained to CS4 since I am using CS5.  To be honest, it confused me more than it helped.
    I really hope there is a logical and simple solution to this issue as I have spent a lot of time researching/testing this.
    Any help/direction is greatly appreciated.  I am not looking for someone to just solve my problem and am willing to dig deep to learn, I am just do not know where to go from here.
    Thanks again in advance for your assistance.

    Brad,
    Thanks that worked! Although I will have to re-create my child pages and re-link my style sheets and scripts.  But that will not be too difficult as I have not yet added any content to them and is a very small price to pay for the answer to my bigger problem.  What is a bit quirky is that I did try to create a test .php template but when I saved it, DW did not automatically add the .php to the end after .dwt. but rather just named it test.php. I didn't think to just rename it since I had read that it would add it automatically so I thought I was doing something wrong.
    Maybe there are settings in the preferences that will fix this.  None-the-less, I can now move forward with my development thanks to your timely response.  I really appreciate it.

Maybe you are looking for