Problem on editing template   .dwt file

I have a problem with dreamweaver template.
When I edit a template in dreamweaver, and apply changes to all the pages , it propogates on all pages and .dwt file also ,
but all the design or layout or graphics of the pages  are gone and everything gets messed up.
Why it happens when I am editing a tamplate ?

The problem is your link to CSS file.  Template is incorrectly pointing to files on your local hard drive.
     <link rel="stylesheet" href="file:///C|/wamp/www/mm_health_nutr.css" type="text/css" />
The link must point to your site folder like this:
     <link rel="stylesheet" href="../mm_health_nutr.css" type="text/css" />
Edit template.  Save & populate changes to your child pages.
Nancy O.

Similar Messages

  • Getting problem while editing a binary file

    Hi All,
    I am trying to edit a binary file using Java.The file contain a string that I have to replace with some other string.For exanple let us assume following is the content of the file -
    õgëÓÌ©™ÿÿ ABC õgëÓÌ©™ÿÿ
    Here, I have to replace this ABC(a string) with some other string.Now,if the replace string length is more than 3(the length of exiting string) then, the binary file is generating some blank space at the end.
    My Code::
    //Here I am trying to insert "Hello" in place of "ABC".
    FileInputStream fis = null;
    fis = new FileInputStream(aFile);
    FileOutputStream to = new FileOutputStream(aF);
    byte[] aTes=new byte[1024];
    String str="Hello";
    aTes=str.getBytes();
    byte[] buffer = new byte[4096];
    int bytesRead;
    while ((bytesRead = fis.read(buffer)) != -1) {
    to.write(buffer, 0, 5);
    to.write(aTes);
    to.write(buffer, 5, bytesRead);
    Plesae guide me to solve this problem.
    Regards,
    Soumitra

    Okay. So was that code you posted supposed to be a failed answer to the question, and you need help with fixing it? Because to me it just looks like code which copies a file, with random modifications. It doesn't look for ABC in any way, it uses the magic number "5" for no apparent reason, and the other modifications are buggy too. So clarification of what the code is supposed to be would be helpful.

  • Problem in editing a java file in Webdynpro

    Hi All,
    I have created a new dc and checked it in the DTR. Now, when I sync it from DTR, and again try to change the implementation of the view, it does not let me do it. I have to go to DTR>inactive dcs-> and explicitly edit the file. I am able to change the layout of the view but not the code.
    Please guide me to resolve this issue.
    Thanks

    Just check that ou haven't checkd-in the content of gen_wdp folder. If you have revert them.
    Second check: Insert values between //@begin and //@end tags in only. If you enter any where else, the code will be lost.
    Select the java implementation and open the navigator view. You see the file selected in the left bowser. Check that the file is writable by clicking on File->Go to Properties-> Info
    If it is writable change it to non-writable.
    Best Regards,
    Ashwani Kr Sharma

  • BC templates : Do they create DWT files?

    Hi:
    When I create a template in BC, are DWT files created? Where are they stored?
    I thought I could download and edit the DWT file in Dreamweaver after creating the template in BC, but I don't see it anywhere.
    Thanks,
    Cam

    Thanks tons Frisco. You've resolved a lot of issues for me.
    For some reason the /dw was being stripped from my log-in and the template would revert to html.
    I did experience that template within a template thing: that was a bugger.
    This stuff also resolved issues I was having editing and saving files from the online Editor. I was told that there were invalid characters in the code that was causing it, but everything works fine now.
    The BC site is www.samreesor.com
    Thanks again for the fast help!
    Cam

  • Issue editing template for website

    So, I am new to Dreamweaver and constantly baffled about finding solutions to problems on my own.
    My issue is this. I have been assigned the duty of updating and modifying our company's webpage. I had nothing to do with the creation of this page, so I am working with someone else's work.
    http://www.csus.edu/isr/index.html     this is what I'm working on.
    My problem had been editing this template that is used on all the other pages. I have a spry menu bar that has all of our menu options. I found a way to add a bar to that, at my company's request. The other edit I made to the page was adding buttons for facebook and twitter. I have updated the file on a local copy, saved it once seeing it worked well in the preview browser, and then replaced the file on the remote server. The template does not change at all. None of my changes are applied whatsoever.
    Any idea why this is happening? I have no clue at this point. I have tried everything I could think of.
    Do you think it has anything to do with editable regions, or what??? I have no clue
    I would appreciate any response at all. Thank You.

    Templates don't do anything at the server level.  They are a local site management tool in Dreamweaver only. 
    Update Template.dwt file and save. 
    When prompted, populate changes to all child pages based on that template. 
    Upload child pages to your server.
    Repeat this each time you edit the Template.
    Nancy O.

  • Edit template in Dreamweaver

    I have always put <head> part of page in my template, this than makes this part the same on all pages using that template. But I've now been told that the Meta keywords should be match to keywords on individual pages, so how do I now make this part of the template nolonger part of the template? Without having to start from scratch. Sorry bit confusing but can't seem to get my head round it.

    You can add an editable region for the Meta tags into your main Template.dwt file.
    This is the code on a child page from my Template.  Notice where the editable regions are.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/Template-test.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="meta" -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="Last-Modified" content="24 February, 2011  at 16:43:39" />
    <meta http-equiv="description" content="blah, blah, blah....." />
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Unique Page Title</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <link href="main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
    background: url(unique-bg.jpg);
    </style>
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="wrapper">
    <div id="content">
    <!-- InstanceBeginEditable name="content" -->
    Unique Page content goes here
    <!-- InstanceEndEditable -->
    <!--end content --></div>
    <div id="footer">
    <!-- InstanceBeginEditable name="footer" -->
    Unique footer text goes here
    <!-- InstanceEndEditable -->
    <!--end footer --></div>
    <!--end wrapper --></div>
    </body>
    <!-- InstanceEnd -->
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Which file do I work from with ready made template zip files?

    I'm determined to figure this out.  I hope you can save me some time.  I'm new to website building and have built websites from scratch.  Now I've been given asked to make a website for my employer using a zip file of a company template.  When I extract it I get 2 folders HTML templates and Templates.  If I click HTML Templates > it opens 3 folders HTML, IMAGES and INCLUDES.  I have been given instructions that the templates provide me with the CSS, HTML and code I need to make standard pages.  The zip file is to contain all thecode plus a number of ready pages complete with content containers already laid out and all I have to do is enter dummy content of my own.  Sounds easy but making my own seems a lot easier!  Where do I start.  Just need a few tips and off I'll go I'm sure.  Hoping you can help me otherwise I'll ask for help internally tomorrow.  Thanks.

    Thank you for responding.  I can edit the .dwt file but can't seem to then add it as a template to any other page I create.  It's probably something so simple...ugh.
    I

  • Missing .dwt File

    This is the first time I have ever posted without searching first, but beg readers to understand I am working a little bit of a deadline here.
    Trying to finish up a site begun by a departing developer who built primarily in dreamweaver (i build primarily in vs or textpad...)...
    Finding multiple files where the body is built ontop of a template .dwt file; but the original .dwt file is missing.
    For example, .asp file carries line...
    <!-- InstanceBegin template="/Templates/FileName.dwt" codeOutsideHTMLIsLocked="False"  -->
    ...but review of the directory [Templates] finds nothing named [FileName.dwt]...
    Have learned how to detach these files from the missing template but 2 questions...
    1. Why isn't Dreamweaver 8 catching this missing template "relationship" and marking the code in error or otherwise indicating this to the developer?
    <and/or>
    2.  If Q1 "off-point" what might I be not yet understanding about these .asp / .dwt  "relationships" that would explain this scenario?
    ...at this point seems a bug in DW8 to create a relationship, eliminate 1/2 of that relationship but not error or notifiy developer or user...
    Has anyone else encountered this?
    Thanks in advance for all input!!!

    David:
    Thanks for the reply, and I take your point.
    Not to be argumentative, but...
    If I understand the "model" I would
    1st:Create the Template with the intention of applying a "consistent-format" across several pages.
    2nd:Create the subsequent pages applying the template to each...
    Isn't the intention further to enable the developer to be able to apply future changes to the original template so they propogate thru the site?
    I would interpret that as a 2-way (not a 1-way) relationship and expect that any change to any part of the relationship would be in some way communicated to the developer.
    Admittedly, after some greater expereince now w/Dreameweaver your point of reproducing the template from one of the existing "children" is an easy solution...
    I just thought I'd take one more stab at highlighting what seems "intuitive" to this relationship (imo).
    Thanks again for the response and the patience with this "counter-point."

  • Links in template-dependent files (solved - but new problems towards the end of the thread!)

    This is a simple problem that probably has a simple solution.
    My links work in the .dwt file itself, but just one of them
    (although there are only two at the moment) does not work in the
    template-dependent files (my browser can't find the file). I used
    point-to-file to create the link.

    >
    http://www.mathgoesawol.com
    I can't find any links there or here:
    http://www.mathgoesawol.com/Templates/template.dwt
    In the template, select the image you want to be a link.
    Use the Property inspector to link it
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Problem updating pages that use .dwt file

    So i have 45 files that all use the same .dwt file.  Usually when I make a change to the template and go file > save it asks me if i want to update all pages that use that specific .dwf file.  For some reason it doesn't show the pages that do.  Although if I go to the specific page for example contact.html and do a Modify > Templates > Apply template to page, it applys the changes, and then once i make a change to the .dwt file and do the File > Save, contact.html now appears in the section of files to be updated.  I do not want to go thru every page and manually apply the template does anyone have any information that could help me out? thanks
    G8ofH8

    I do not want to go thru every page and manually apply the template does anyone have any information that could help me out?
    However, that would work.
    It sounds like your site cache has become corrupted.  Try the following -
    1.  Open DW's Site manager, select the site name, and click on EXPORT (make sure you opt to export the FULL site defintion including FTP info)
    2.  Export the site definition to a KNOWN location on your hard drive
    3.  With the site name still selected in Site manager, click REMOVE to remove that site from your list of definitions
    4.  Import the site definition you just exported - that should solve the updating problem
    Does this heal things for you?

  • I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    Is the menu bar missing (the one containing File, View, Edit etc)? If it is, the following link shows how to restore it - https://support.mozilla.com/kb/Menu+bar+is+missing

  • Editing etc\hosts file on windows xp for apps. problem post installation.

    Hi all,
    I was able to install 11.5.10.2 apps on my win xp prof machine. During that process I had to edit the etc/hosts file in windows directory as a work around for that domain name field during installation. Also added the primary DNS suffix as 'suneel.com' . I gave the domain name as 'suneel.com' during installation. The RapidWiz is taking localhost as the system name and referring to this system as localhost.suneel.com, though the actual system name is 'websoft-xp' .
    The host file on Apps machine has the following entries:
    127.0.0.1 localhost
    127.0.0.1 localhost.suneel.com suneel.com
    127.0.0.1 websoft-xp.suneel.com
    So when I connect to apps login server from other systems in lan, I've to edit their hosts file and add an entry for localhost.suneel.com to point to its ip address or else the apps throws an error after logging in as operations/welcome using a different url say 192.168.1.4:8000 . Is there a way to get around this issue?
    More over I'm not able connect to VIS db from other systems. The oracle clients give an error 'No listner' at this address. (The original listener was listening at localhost.suneel.com:1521). So I tried to create a new listerner from Net Manager that actually listens at websoft-xp (the real system name) but it throws me an error 'A valid log file is required' while saving the network configuration and prevents me from saving the network configuration.
    Did I do something wrong with the hosts file during installation or did i miss any entries in that file thats causing this? Any solutions for the above problems will be appreciated?
    Thanks
    Suneel
    Message was edited by:
    suneelgv

    Well I tried that option but for some reason it didn't work for me. It kept giving the tns:connection closed error. Then I searched in metalink and found this note : Note:333158.1
    It suggested setting tcp.validnode_checking = no
    in sqlnet.ora. in
    F:\oracle\visdb\9.2.0\network\admin\VIS_websoft-xp
    And it works. Hope this helps someone facing a similar problem. Good luck.
    BTW how do I run autoconfig?
    Thanks,
    Suneel Gundlapalli

  • After updating itunes 4.10 when editing tags in file adds two covers. This problem is represented as in 10.6.8 and in 10.7.

    After updating itunes 10.4 when editing tags in file adds two or three covers. This problem is represented as in 10.6.8 and in 10.7.
    Earlier albums were edited with the same cover.
    or 3

    I think I have the answer.
    I was experiencing the exact same problem. I tried lots of different things but what I think works is to exclude your iTunes folder from Spotlight. Open the System Preference for Spotlight, click on the Privacy tab, and then drag your iTunes folder (in your user/Music folder) into that window pane. In fact, I think it is faster when I am fixing tags!
    Let me know if it works for you too.
    Scott

  • Help with editing a template flash file..

    FIRST OFF..please don't shoot the noobee..I know some folks
    don't like the templates and I appreciate that.
    I have done some reading but not a whole lot about Flash. I
    certainly don't want to BUILD a flash (not yet), but want to edit
    one that is included in a template. I only want to edit the header
    that drops down. It says The Web STudio. I, for example, want it to
    say Marks Studio.
    Ok..the temp comes with Flash/non flash.
    I open w/flash and have a 3 folders: flash, psd and html.
    -flash folder has Images, fla doc and one flash html file
    -PSD folder has 3 psd files
    -html folder has flash folder, images folder, css file and
    one single index.html file.
    I opened the flash folder and found the image.jpg I wanted to
    change to Marks studio.
    I opend the PSD and found the slice that is the same as that,
    then edited it like I want it in PSD, then saved to replace the old
    image. top1. jpg
    Still, it is the same ole one that came with the temp.
    as I said, please don't shoot the noobe. I just wanna edit
    the flash file.
    Thanks for any help.
    Mark

    You'd need Flash to edit the FLA file.
    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
    ==================
    "snipingkid" <[email protected]> wrote in
    message
    news:enev5r$p8l$[email protected]..
    > Hey guys,
    >
    > I need some help with editing a flash template, I have
    the .swf, .fla, and
    > .html file of this thing, I would like however to edit
    something on it....
    > Ive
    > tried everything, I have access to photoshop and
    dreamweaver 8... Im not
    > any
    > good at it but with decent help I could get something
    done. What I would
    > like
    > to edit is just text that flies in.... I would like to
    edit the text, how
    > do I
    > do it.... Thanksj
    >

  • DWT file not updating with drop-down menu edits rom Fireworks

    Aughh! I am almost done with my website, when I go back to
    Fireworks and add a couple new tabs on a drop-down menu. I update
    the DWT file in Dreamweaver, but one of two things happens: either
    the update simply doesn't "take", or all of the <body>
    section is mysteriously deleted from the DWT file. If I preview the
    Fireworks template (from Fireworks), everything is as it should be,
    but not when I preview in Dreamweaver. Not sure if this is a
    Fireworks issue or a Dreamweaver so I've posted in both. No one in
    the FIreworks forum has come up with any suggestions yet.
    What the hell?
    Thanks in advance for the help,
    Brian

    >so I've posted in both
    Can't see anything here over at the newsgroup - did you
    forget or not post
    in such a way it doesn't show?
    Please provide a URL.
    Jo
    "_Lost_Boy" <[email protected]> wrote in
    message
    news:ga4i6l$cht$[email protected]..
    > Aughh! I am almost done with my website, when I go back
    to Fireworks and
    > add a
    > couple new tabs on a drop-down menu. I update the DWT
    file in Dreamweaver,
    > but
    > one of two things happens: either the update simply
    doesn't "take", or all
    > of
    > the <body> section is mysteriously deleted from
    the DWT file. If I preview
    > the
    > Fireworks template (from Fireworks), everything is as it
    should be, but
    > not
    > when I preview in Dreamweaver. Not sure if this is a
    Fireworks issue or a
    > Dreamweaver so I've posted in both. No one in the
    FIreworks forum has
    > come up
    > with any suggestions yet.
    >
    > What the hell?
    >
    > Thanks in advance for the help,
    > Brian
    >

Maybe you are looking for

  • Creation of service entry using BAPI_ENTRYSHEET_CREATE

    Hi Experts, I have a requirement to create a service entry using BAPI with multiple account assignments. It can be distributed by quantity or percentage. Please give sample code. Thanks, Lalyn

  • Sending arguments to shell script from Java program

    Hi, I am invoking a shell script within a Java program by runtime command.But I need to pass a variable to the shell script from the Java program!!! Please help me!!! Thanks!!!

  • Idvd4...can't burn disc

    Hello I've been trying to burn a photo slideshow with music that was put together in imovie. It seems to be fine in idvd but when I try to burn it it doesn't recognise the fact that I've put a blank dvd in. It appears to be the right type of blank (m

  • Too many Subscribers/Receivers for Queue

    The link of Feedback in Java EE 5 tutorial doesn't work, because of this I ask my question here. I have tried the " Simple Example of Synchronous Message Receives" in Chapter 32 of Java EE 5 tutorial. In case of destination type queue I got error mes

  • PLD Upper Margin

    Setting the 'Upper Margin' in 'Document Properties' seems to have no effect in printed output.  Changing margin on 'Page Header' section also produces no changes to printed output.  I would like to be able to set the top margin(x) on a form and move