Dreamweaver templates rewriting paths incorrectly

I have an odd problem running DW8 on a Mac. We use templates
extensively and our template manages our "printer friendly" version
of the page by removing page elements when the user clicks on the
link.
Ok, so here's my problem. When I tell DW8 to "Update from
template" if that printer-friendly code is active, DW8 rewrites the
path.
Example of our code:
<div class="pfv">
<!--#if expr="$QUERY_STRING != /^printpage/" -->
<a href="?printpage">Printer-friendly
version</a>
<!--#endif -->
</div>
When this feature is turned on by the template and I update
the page from the template, the code gets re-written like this:
<div class="pfv">
<!--#if expr="$QUERY_STRING != /^printpage/" -->
<a href="../Templates/?printpage">Printer-friendly
version</a>
<!--#endif -->
</div>
This effectively generates a bad URL causing a 404. Now, this
link to the printer friendly version of the page is in a locked
part of the page so I cannot change it in Dreamweaver once it has
been corrupted. I can only undo updating from the template or use a
text editor to correct it.
Does anyone have an idea how to correct this or prevent DW
from rewriting the path in the locked code?
Anyone have a clue on this one?
Thanks!
-Adam

Ok folks, I found the solution. I had the 8.01 update
installed but not 8.02. I Installed the 8.02 update and went to
"Manage Sites" and (advanced mode) selected the new "Templates"
tab. With the checkbox enabled for "Don't rewrite document relative
paths" DW8 no behaves correctly.
Woohoo!

Similar Messages

  • Flash banner in a Dreamweaver Template

    Hi all,
    I am using one of the provided Dreamweaver Templates (CSS).
    All is fine, except that for some reason it does not like Flash
    imports. I can alter the template as much as I like and it will
    always successfully change across the site, BUT if I try to insert
    a Flash movie/banner into the template - then it does not appear of
    ANY of the site files. The only way I can see the flash banner, is
    if I open the template.php file in a browser - then you can see
    that it is in fact there and working - but for some reason the
    other pages refuse to acknolwegde it. Images / Tables / Text - all
    work fine - just not flash banners. I even tried saving the banner
    as a JPG file in Flash, then sticking the JPG file in the template
    where the banner should - and it worked perfectly, but as a .swf
    extension it fails.
    Am I missing something?
    Nathan

    > BUT if I try to insert a Flash movie/banner into the
    template - then it
    > does not appear of ANY of the site files.
    Because of the active content .js fix, when you insert a .swf
    file into a
    template, you must use a Site Root relative path for it.
    Open the .dwt template file.
    Double-click on the .swf in design view- the "browse to file"
    dialog box
    should come up showing the currently selected file.
    look in the bottom of that dialog box for the pulldown to
    change from
    document relative path to site root relative path. Change it
    to site root.
    click okay and save the file, and let changes propagate.
    does it show in the child files now?
    [note- It may still not show during local preview because
    site root relative
    paths in javascript will not make any sense during local
    preview- they
    should work fine on the remote host if the site has it's own
    domain name
    though]
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • 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

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

  • Non-Dreamweaver templates for Contribute

    Are there any guidelines anywhere for creating the equivalent
    of Contribute editable/non-editable templates for sections of HTML
    pages which were not created by Dreamweaver; for example,
    guidelines on the use of <!-- begineditable--> etc.?

    Ian,
    The Dreamweaver template system works from the standpoint of
    a "deny all, allow some" mentality.
    Initially a Dreamweaver template file allows no editing to
    any sections. When modifying the template in Dreamweaver or any
    other text editor, the addition of the begin/end editable pairs
    enables the editing of any content existing within the tag pair.
    If you want to create a template for use with Contribute
    outside of Dreamweaver just create the file with any editable
    sections you desire then change the file extension to .dwt and
    place it in the "Templates" directory on your CPS managed
    webserver. Any files in the "Templates" directory that end with
    ".dwt" will be loaded on the next startup of the Contribute client.
    By default the Publisher and Writer roles allow access to all
    templates in the "Templates" directory via the Contribute client.
    Also, make sure that the "whatever" text mentioned by Murray
    is unique to each individual editable region.
    Please note that the Contribute/Dreamweaver template
    interaction is *not* a run-time template system. Dreamweaver
    templates are design-time templates. If you have sections of the
    template that change later then those changes will need to be
    applied on a page-by-page basis to each page using a given
    template. This functionality is automatically handled within the
    Macromedia workflow by using Dreamweaver to download the entire
    site then having it update all pages that are based on a given
    template.
    The piece of the code that denotes which template is assigned
    to a given page is as follows:
    <!-- InstanceBegin template="/Templates/level2.dwt"
    codeOutsideHTMLIsLocked="false" -->
    with an acompanying closing tag of:
    <!-- InstanceEnd -->
    The "InstanceBegin" tag should follow the opening html tag
    and the "InstanceEnd" tag should precede the closing html tag.
    The important piece of the "InstanceBegin" tag is the value
    of the "template" attribute. This needs to be the path to the
    specific template file relative to the webroot on the server.
    Hope this helps.

  • Dreamweaver CS6 Rewrites My Code!!!

    Sigh. I just upgraded to Dreamweaver CS6 Creative Cloud, hoping it would solve the code rewriting issues added in CS5.5.
    No joy. Take a look at the following code fragment:
    <input type="text" name="getEmailAddress()" size="40" required="1" validate="email" message="Please enter your email address." />
    Thing is, this is NOT HTML. This is part of an XML definition of a form, embedded within a CFC. Whenever CS6 gets its grubby little paws on it, however it changes it to this:
    <input type="text" name="getEmailAddress()" size="40" required validate="email" message="Please enter your email address." />
    Note the required="1" attribute is now simply required. Which blows up the XML parser big time.
    This, just when I was getting around to writing a post about how, after THREE versions (CS3, CS4, CS5), Adobe finally got around to fixing the code rewriting bug I originally posted back in March, 2008.
    I've tried changing doctypes, turned off rewriting in preferences, and done pretty much eveything I could think of, AND DREAMWEAVER STILL REWRITES MY CODE! I was told in CS5.5 that Dreamweaver will perform these kinds of changes based on the presence of a doctype specification...
    But why is doing it in a ****ing CFC?????? Am I supposed to add doctype's to my CFC's now?
    Look, Adobe, I'm a professional. I know what I'm doing, and when I put text to a file, I expect it to remain exactly as written. I do NOT need you "improving" my code.
    Especially when "improving" my code BREAKS MY CODE.
    Please provide a "hands off" option, and HONOR it.
    I need Dreamweaver because I need RDS access to some sites. If it were not for RDS access, I would drop this piece of grief and aggravation in a heartbeat.
    I wonder how many years I'm going to have to wait to get THIS fixed...

    > I do NOT want it doing that.
    Why? It's the right thing to do. Anyhow, PREFERENCES >
    Code Rewriting,
    might be what you are looking for.
    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
    ==================
    "kavakava" <[email protected]> wrote in
    message
    news:f87hhh$rro$[email protected]..
    > Hi,
    >
    > I have a number of affiliate links, and they all have
    the "&" character in
    > them. However, Dreamweaver keeps replacing them with
    "&amp;". I do NOT
    > want it
    > doing that.
    >
    >
    > I am using Dreamweaver 8.0.
    >
    > Many thanks!
    >

  • Dreamweaver Template Without Dreamweaver

    Hi.
    I'm doing an internship for the semester and the place i work is having me redesign their intranet.  I'll be gone in December, and while no immediate changes will really need to be made, over time they will probably want to do something such as adding a link in the side menu...
    The problem is, I don't think they use Dreamweaver--if they're using another web design program, is it possible for them to edit the dreamweaver template I've created for them?
    Thanks.

    Another approach is to use Server-Side Includes (text files) that contain hyperlinks, common headers & footers for example.   Person responsible for updates could edit the SSI files in any html editor.  Upload to server and the server would populate changes throughout the site.
    More on SSIs:
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Edit First line in dreamweaver templates

    Hello,
    When I create a page from a Dreamweaver template, a
    dreamweaver comment similar to the one below will be inserted:
    <!-- #BeginTemplate "/Templates/test.dwt" -->
    Each time I edit a page to add php code in the very first
    line, it is removed with every template update and the source code
    again starts with the dreamweaver comment. I need to add to all my
    pages a php code in the very first line like this one:
    <? $ob_start; $session_start; ?>
    How can I do that without removing the code from my pages
    with each template update. Another problem is that I can't insert a
    placeholder in the very first line of a dreamweaver template. Above
    that the first line is locked in dreamweaver, so that I can't
    change it manually. Is there any workaround available?
    Thanks,
    Philip

    > How can I do that without removing the code from my
    pages with each
    > template
    > update. Another problem is that I can't insert a
    placeholder in the very
    > first
    > line of a dreamweaver template. Above that the first
    line is locked in
    > dreamweaver, so that I can't change it manually. Is
    there any workaround
    > available?
    Put the code ABOVE the <html> tag.
    Which DW are you using? It looks like DW4 or earlier....
    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
    ==================
    "flip3" <[email protected]> wrote in message
    news:ec40u0$mr3$[email protected]..
    > Hello,
    >
    > When I create a page from a Dreamweaver template, a
    dreamweaver comment
    > similar to the one below will be inserted:
    >
    > <!-- #BeginTemplate "/Templates/test.dwt" -->
    >
    > Each time I edit a page to add php code in the very
    first line, it is
    > removed
    > with every template update and the source code again
    starts with the
    > dreamweaver comment. I need to add to all my pages a php
    code in the very
    > first
    > line like this one:
    >
    > <? $ob_start; $session_start; ?>
    >
    > How can I do that without removing the code from my
    pages with each
    > template
    > update. Another problem is that I can't insert a
    placeholder in the very
    > first
    > line of a dreamweaver template. Above that the first
    line is locked in
    > dreamweaver, so that I can't change it manually. Is
    there any workaround
    > available?
    >
    > Thanks,
    >
    > Philip
    >

  • Dreamweaver Templates with Web Gallery

    I have built a site in dreamweaver CS4 I have used a Dreamweaver Template for my pages. Rather than clog my pages up with images I used Adobe Bridge to create a web gallery, It created a gallery ok and I saved it to my hard drive. It created two items, a resourses folder and an "index" file. So I I copied and pasted the two items into my Dreamweaver folder I created and called SS_Bridge. I pointed a link I created to point to the "index" file within the SS_Bridge Folder in Dreamweaver, Will this create a problem as there will be two "Index" files within my site
    jjrutter

    The "home" page index file would be at the root level of the site.  Other folders within the root can all have their own index (default) files.

  • NEW! Free Dreamweaver templates WITH Fireworks vector files

    I just released some free Dreamweaver templates that include
    not only the Dreamweaver template dwt file, but also the original
    pre-sliced Fireworks file with all the template graphics.
    The templates include the dwt, Fireworks file, pure CSS
    menus, are AdSense-ready, XHTML 1.0 valid and are very customizable
    through both the Fireworks file and the CSS.
    If you use one, let me know so I can get a screenshot and
    post a link to your site showing how the templates have been
    customized by various designers.
    Cheers!
    Brodit

    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
    >

  • Problem Uploading Dreamweaver Template

    Hi,
    I am using Dreamweaver 8, and decided to revise my website
    using a Dreamweaver template. The pages look GREAT when I preview
    them in Firefox or IE. But when I uploaded the home page, using an
    FTP program, the page looked like a mess! None of the columns in
    the template were there. The formatting is all wrong, and the links
    don't work! This page is horrible! I don't understand since they
    looked great in the preview. Can somebody tell me what I've done
    wrong?
    If you'd like to view the mess, it's at
    http://www.karathecomputertutor.com
    Thanks!

    > If you'd like to view the mess, it's at
    http://www.karathecomputertutor.com
    > Thanks!
    there's a problem with the way you've defined this site in
    dreamweaver.
    the link you gave is at the root level of the public hosting
    for that
    domain.
    but the css link is:
    <link rel="stylesheet"
    href="../karathecomputertutor4.1/3col_leftNav.css
    and the links farther down in the page also are "../
    that means go up one folder level.
    there is no up from the root level.
    The site needs to be defined so that the "homepage" file,
    index.html is at
    the root level of what you've picked for the Local Site
    Folder.
    and, all the site files need to be in the Local Site Folder
    of course.
    and, the remote has to show the public level, with the
    index.html file in
    the root (use the "Host Directory" line in dw if your files
    need to go into
    a folder like "public_html" or "www" for example)

  • Dreamweaver Templates and Include files

    Hi,
    I am using dreamweaver templates so that my users can create
    new pages on our Intranet using Contribute.
    When I create a template and try and use an inculde file for
    the menu systems I get an error. I am trying to use the following
    code to inculde the asp file:
    <!--#include file="/includes/menu.asp" -->
    And I get the following error when saving the template:
    Unbalanced body tag
    I have checked and I definetly have opening and closing body
    tags in the HTML. So I am wondering whether the error is caused by
    the fact that the file is a dwt and not as asp.
    So, is there anyway of using include files in a dreamweaver
    template?
    Thanks in advance for any help.

    That's the wrong syntax for a file include. It should be
    either of these -
    <!--#include virtual="/includes/menu.asp" -->
    or
    <!--#include file="includes/menu.asp" -->
    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
    ==================
    "Alan" <[email protected]> wrote in
    message
    news:C568040E.31895D%[email protected]..
    >
    >
    >> <!--#include file="/includes/menu.asp" -->
    >>
    >> And I get the following error when saving the
    template:
    >>
    >> Unbalanced body tag
    >>
    >> I have checked and I definetly have opening and
    closing body tags in the
    >> HTML.
    >
    > Is the include file JUST the html that would be correct
    syntax for where
    > it
    > is used in the main file?
    >
    > In other words- included files should not be complete
    html docs with their
    > own head and body tags. That would result in multiple
    head and body tags
    > in
    > the assembled files.
    >
    >
    > --
    > Alan
    > Adobe Community Expert, dreamweaver
    >
    >
    http://www.adobe.com/communities/experts/
    >
    >
    >

  • Designing Dreamweaver templates (was:Info.)

    hey again. i have a question. and i am wondering. if its  true. could a designer or photogrpaher make a template and have it used in his or her web site? if so. how? i heard you can do this in either of the two programs. photo shop and illustrator.  see i am now a member of bc partner. but i am wanting to learn the in between lines. of web site making. see i have started a web site in the past. using dreamweaver, and now i am using muse. but again i am starting from scratch.  right now i am using a current site called wix.com. heres my current web site.
    1. wix= http://brian-ford.wix.com/photographerexplorer
    2. web site in progress using adobe muse. http://bf-photographer01.businesscatalyst.com
    3. heres is wix.com it self. you can see how they have this site designed. and with it they have thumbnails of web site templates. that are editable. http://www.wix.com/html5webbuilder/400?utm_campaign=vir_wixad_live
    how is that possiable? all i have learnd as a photo student. was design a web site from scratch. besides adding a background image. i have lerned code bfore. and i can laern more.  so what is it that i can do?
    so how to desing a template? and make it into a image? that someone/client. can tap on it. and edit it. as what they want.

    Hi bford 225,
    Not sure if this is what you are looking for, but for what it is worth:
    http://webdesign.about.com/od/dreamweaverhowtos/ig/Create-a-Dreamweaver-Template/
    Thanks,
    Preran

  • Dreamweaver Templates - automation of objects

    Can I make a template with objects (forgive me if wrong term) be defined once and is automatically generated for the rest of the document?
    Example:
    If I build a template with the following code:
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="pagetitle" -->
    <h1 class="title">CSA 120/pagetitle</h1>
    <!-- TemplateEndEditable -->
    I would like to edit the <title> once and it update in different places on the html page where the title is used. So the HTML code would result in the following:
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Syllabus</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="pagetitle" -->
    <h1 class="title">CSA 120/Syllabus</h1>
    <!-- TemplateEndEditable -->

    Dreamweaver Templates alone won't do what you want.  But if your server supports PHP, you can set a variable inside the <title> tag and echo that value to other regions of the page.   NOTE: You must save your HTML pages as .php for this to work.
    CODE:
    <!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" />
    <!--set variable and echo value in the title tags-->
    <title> <?php $title="This is my Page Title"; echo $title ?>  </title>
    </head>
    <body>
    <!--echo variable between <h1> tags-->
    <h1><?php echo $title ?></h1>
    <!--echo variable again between <h3> tags-->
    <h3><?php echo $title ?></h3>
    </body>
    </html>
    And this is the resulting code on server:
    <!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" />
    <!--set variable and echo value in the title tags-->
    <title> This is my Page Title  </title>
    </head>
    <body>
    <!--echo variable between <h1> tags-->
    <h1>This is my Page Title</h1>
    <!--echo variable again between <h3> tags-->
    <h3>This is my Page Title</h3>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Dreamweaver template / having trouble seeing the previews

    I am designing a website, using Dreamweaver for the first
    time, and I would like to ask your advice.
    Do you know how to apply a dreamweaver template to other html
    pages. I have having trouble seeing the previews in the local
    browser. For examples, when I preview an html page, that has the
    template included, I see the page OK. But when I click to go to
    another page with the sample template, the new page shows up, but
    without the template design included.

    Answered mutliple times on the DW forum.
    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:fin6nr$5q1$[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.
    >

Maybe you are looking for

  • Form routines in CRM down loaded from R/3 for pricing

    Hi all, we have the following scenario: 1) We have created an access sequence for tax condition in R/3 using standard form routines / requirements 7 (domestic) and 8 (export). 2) The cutsomizing and conditions are down loaded to CRM (4.0) and the pri

  • PO Header Text

    Hello Experts, We have requirement of printing Some text in PO Header. Scenario is we are using Automatic PO option for creating the Purchase order directly from PR having document type YA only. We want to print certain Fix Text details to be printed

  • My internet doesn't work while abroad in Italy

    I'm abroad in Italy for the year and my wifi doesn't work or is very spotty.  My host family has no problems with wifi and it works on my iPhone, and they even bought a new modem, but it still doesn't work. Any suggestions?

  • Permissions are badly messed up on any disk Time Machine has used to backup

    *The Short Version:* After using an external disk as a Time Machine target, disk permissions are forever and always utterly ignored which causes huge problems when said disk is supposed to share publicly and privately accessible files/folders over th

  • Steps for Merging -  transfer the balances in one company code.

    Hi SAP Gurus, My client requirment is ,they are merging all company codes in to one company and they want to transfer all the company code's asset balances, open and clearing balances into merged company. Also they are merging only FI and CO modules