Work with templates, and Automatic Code changes

I work in DW CS6.

I create a new page based on a template and when DW created the new page, it automatically changes the paths to links to .css and .js files.  These changes are the failure of the model.  Is there a way to keep the auto-changements occur?

BTW - all the pages have been created with a different model and I was able to edit pages and apply this template to these pages without problem.  Everything is beautiful.

Code in the original model:

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

"< html xmlns ="http://www.w3.org/1999/xhtml">".

< head >

< meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"

<!-TemplateBeginEditable name = "doctitle"-->

< title > the Information technology (it): (DADS) < /title >

<! - TemplateEndEditable - >

"" < link href = "... / assets/coo.css" rel = "stylesheet" type = "text/css" media = "screen" / >

"" < link href = "... / assets/sform.css" rel = "stylesheet" type = "text/css" media = "screen" / >

"" < script type = "text/javascript" language = "javascript" src = "... /Assets/jQuery-1-FontResizer.js" > < / script >

"" < script src = "... /Assets/jQuery-FontResizer.js" type = "text/javascript" > < / script >

"< script type =" text/javascript"src ="... / p7epm/p7EPMscripts.js "> < / script >"

"" < link href = "... / p7tmm/p7TMM02.css" rel = "stylesheet" type = "text/css" media = "all" / >

"< script type =" text/javascript"src ="... / p7tmm/p7TMMscripts.js "> < / script >"

"" < link href = "... / p7epm/epm52/p7EPM52p2.css" rel = "stylesheet" type = "text/css" media = "all" / >

Code once I create a page using the template:

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

"< html xmlns ="http://www.w3.org/1999/xhtml"> <!-InstanceBegin template="/Templates/index_wao.dwt ' codeOutsideHTMLIsLocked = 'false'->

< head >

< meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"

<!-InstanceBeginEditable name = "doctitle"-->

< title > the Information technology (it): (DADS) < /title >

<! - InstanceEndEditable - >

"< link href ="file://ausimo225/devDADSView/coo/ITnew/assets/coo.css"rel ="stylesheet"type =" text/css"media ="screen"/ >"

"< link href ="file://ausimo225/devDADSView/coo/ITnew/assets/sform.css"rel ="stylesheet"type =" text/css"media ="screen"/ >"

"< script type =" text/javascript"language ="javascript"src ="file://ausimo225/devDADSView/coo/ITnew/assets/jquery-1-fontresizer.js "> < / script>"

"< script src ="file://ausimo225/devDADSView/coo/ITnew/assets/jquery-fontresizer.js"type =" text/javascript"> < / script >"

"< script type =" text/javascript"src ="file://ausimo225/devDADSView/coo/ITnew/p7epm/p7EPMscripts.js "> < / script>"

"< link href ="file://ausimo225/devDADSView/coo/ITnew/p7tmm/p7TMM02.css"rel ="stylesheet"type =" text/css"media ="all"/ >"

"< script type =" text/javascript"src ="file://ausimo225/devDADSView/coo/ITnew/p7tmm/p7TMMscripts.js "> < / script>"

"< link href ="file://ausimo225/devDADSView/coo/ITnew/p7epm/epm52/p7EPM52p2.css"rel ="stylesheet"type =" text/css"media ="all"/ >"

You saved the file newly created to the site yet?

It will show the wrong link until you save, even if everything is configured correctly.

Tags: Dreamweaver

Similar Questions

  • Is there a good video tutorial for how to work with templates?

    I have created a template for the page that I made using the tutorial called"how to make and style of a sensitive web page. "I found the instructions to open Active and click on modify.  When I do this I get the message: "cannot find the Publisher valid for this file extension."  I went to the help titled creating a Dreamweaver template page https://helpx.adobe.com/dreamweaver/using/creating-dreamweaver-template.html.  It provides two links to video tutorials, but they don't take me to the tutorials.  They're media main page of Adobe, and when I search, no tutorials arrive.  As the instructions on the help pages do not work, I'm stuck.  Is there a good video tutorial for how to work with templates?

    Menus grayed implies that you're working in Live View mode.  You cannot change the models in Live View mode.

    Switch to Design view.  See screenshot.

    Nancy O.

  • Working with date and time of the request for help from acrobat JavaScript...

    This coming from

    Working with date and time in Acrobat JavaScript (part 1 of 3)

    The following code adds five days to the current date, and then prints the new date in the console window.

    Get the date and time

    var rightNow = new Date();

    Get the value of millisecond

    Article date

    var msRightNow = rightNow.getTime ();

    Calculate in milliseconds, of 5 days

    5 days x 24 hours/day x 60 min / h x 60 s / min x 1000 ms/s

    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Do the calculation of var CFAbsoluteTime = msRightNow + challenge;

    Create a new Date from the calculated value

    var theNewDate = new Date (finalTime);

    In the actual work on a form code, you'll want to place the

    the object of a field value. But since this is test code, we will

    Print the result to the Console window (great for debugging)

    Console.println ("5 days from now is:" + theNewDate.toString ());

    The foregoing is the exact code (cut and paste)

    The error I get here is;

    ReferenceError: theNewDate is not defined

    1:Console:exec

    undefined

    To get the "undefined" question a lot... it seems to me, learn to distinguish the undefined 'of type' undefined 'variable' and undefined 'value '.

    in this case 'theNewDate' seems to be defined as a variable equal to the current date plus 5 days... BUT I am now "educated" enough to 'see' Why am I getting the error...


    Any thoughts... Any who...

    You need to highlight all the text that you want to run.

    You have not set the rightNow variable before you can apply a method to the variable.

    You can just add a new variable as msRightNow name. Why not use rightNow.

    Executes the code that you provided with a new departure of Acrobat, I get the following error messages:

    rightNow.getTime is not a function

    1:Console:exec

    TypeError: rightNow.getTime is not a function

    1:Console:exec

    undefined

    What you are showing probably works because your previous attempts have left behind them a variable "rightNow" and as long as you do not have the object of time date change too much, you will not notice the error.

    Cleaning of your code:

    get the number of milliseconds of the date object.

    rightNow var = (new Date()) .getTime ();

    define 5 days in milliseconds;
    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Add 5 days to the value of this moment and assign the result to the last time;
    var CFAbsoluteTime = rightNow + challenge;

    convert finalTime value in a date object.
    var theNewDate = new Date (finalTime);

    display the result;
    Console.println ("5 days from now is:" + theNewDate.toString ());

    Have you tried the code that I provided, it is another way to add days to the date object.

  • Lightroom 6.4 not work with nikon and nikon d610 d810 in 10.10 mac, anyone else have this problem?

    Lightroom 6.4 not work with nikon and nikon d610 d810 in mac10.10, anyone else have this problem?

    When you say won't work, what are the exact symptoms that you see on the screen? Error messages? Codes?

    How do get you pictures from the camera to the computer? If you use the Nilkon software, try using a card reader instead.

  • Working with XML and button

    Hello

    How are you all. Well, I'm new to Flex. But I started to build simple applications. One of the best most problem I face in working with XML and the button. Can you please help me in this. I explain my problem:

    I have an external XML file like this:
    < menu >
    < button >
    < idnt > 0 < / idnt >
    General Health < label > < / label >
    pages of < text > general health is currently under construction < / text >
    < / button >
    < button >
    < idnt > 1 < / idnt >
    < label > mental health < / label >
    pages of < text > mental health is currently under construction < / text >
    < / button >
    < / menu >

    Now, I want to generate dynamically buttons from this XML file. And the second thing that is the most problematic is that how I code so that when I press the button marked 'General health', it will display the same text as in the XML corresponding to the tag tag "< label > General Health < / label >?
    I seriously need it. I'm really confused on this. Kindly help me.

    Concerning
    .. : DeX

    Dear Peter,

    Thank you, thank you very much... bundles of thanks from me. You really help me with this. I wasn't expecting such a detailed response from anyone. But you the wrong given. Thank you very much.
    My MSN account ID is "[email protected]". I would be very happy if you add me to your contact list or let me know your email address. I am not your hotmail ID ask you many questions, would just be a friend to share new ideas and knowledge.

    I thank once again...
    .. : DW

  • I'm working with Gmail and I see that my browser too old! I have also the same without any extension. Please help me. Thank you

    I'm working with Gmail and I see that my browser too old! I have also the same without any extension. Please help me. Thank you

    You have a user agent which is corrupt and which identifies you as: undefined GoogleToolbarBB

    See:

  • Is - this windows 7 works with SDRAM and DDR Rams (1)?

    Original title: RAM for win7

    Hello

    Did windows 7 works with SDRAM and DDR Rams (1)? !!!

    Yes, Windows 7 works with this type of memory RAM. Windows 7 requires a minimum of 1 GB of RAM, which is more important.

    System requirements:

    * 1 gigahertz (GHz) or faster 32-bit (x 86) or 64-bit (x 64) processor
    * 1 gigabyte (GB) of RAM (32-bit) or 2 GB RAM (64-bit)
    * 16 GB of disk space available (32-bit) or 20 GB (64-bit)
    * Peripheral figure DirectX 9 with WDDM 1.0 or higher driver

    Also run the Windows 7 Upgrade Advisor:
    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

  • Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Hello

    You receive an error message?

    Method 1:

    You can update the drivers of graphics cards and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly


    Method 2:

    You can also perform a clean boot and check if it works:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article

    You can also check out the link:
    The problems of the game performance
    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems
    Diagnose problems running DirectX
    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-basic-problems-with-DirectX

  • I used to work with Interbase and Firebird and used databases the keyword "domain". I am now switchig to Oracle as a primary database and would like to find an alternative appropriate "domain" in Oracle, as it appears he does ' t taken in charge the stand

    I used to work with Interbase and Firebird and used databases the keyword "domain".

    I am now switchig to Oracle as a primary database and would like to find a suitable

    Variant of 'area' in Oracle such that it appears he does ' t support the standard SQL syntax.

    for example:

    Create the int2 smallint field;

    create domain id2 int2 default 0 not NULL; / * for the primary key * /.

    create domain rel2 int2 default 0 not NULL; / * foreign key * /.

    I tried a couple of approaches to achieve this "area" is:

    1. create synonym - cannot be used with the basic types;

    2. create the type - type of work, but the implementation is rather clumsy

    and can be costly in terms of performance.

    Is there something else to Oracle that can emulate the feature "domain"?

    Thanks in advence, I got really approciate any help on this.

    Alex.

    Your best approximation is CREATE TYPE, but their is nothing of what is a 100% adjustment.

    For example, if you create a domain with a check constraint you need to implement than separately on each table.

  • graphic and CPU recommended for a freelance artist working with cintiq and photoshop

    im going to use the cintiq 22hd to use advanced daily for digital art.
    What processor and graphics card type recommended for a freelance artist working with cintiq and photoshop?

    Hi Drok'e,.

    Please see the following articles:
    For graphics card: video card FAQ and Adobe Photoshop CC GPU (graphics processor)

    Requirements of CC of Photoshop: Photoshop system requirements

    Kind regards

    Tanuj

  • What I see if I work with Microsoft and exchange of data on the creative clouds with people working on Apple?

    What I see if I work with Microsoft and exchange of data on the creative clouds with people working on Apple?

    That all depends on what you want to share

    The data files that are "industry standard" such as the JPG images are the same on both platforms

    Files that are specific to the platform, such as video files on a Mac or Windows, AVI video files MOV will either require conversion or additional software (to open a MOV file with a Windows program, you must have installed Apple Quicktime for Windows)

    In addition to this, the files that are specific to Adobe... such as the InDesign files... are not always compatible because of new features in newer versions, like a Premiere Pro video project file created in the 2015 version cannot open in 2014 version

    If you have problems with files and specific programs, you should ask for help in the forums for these programs

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • Problems with CAP and multiple cod files

    Hello!

    I had a MIDlet that I'm trying to convert a cod file using the compiler CAP. The original jar file is 169 KB, maybe too big file a Cod. I use the following command:

    Import the "C:\Program Files (x 86) \Research 4.6.0\bin\rapc" = "C:\Program Files (x 86) \Research 4.6.0\lib\net_rim_api.jar" codename = xxx-midlet jad = yyy.jad yyy.jar

    The CAP program seems to work ok and produces the following 5 files:

    xxx.jar 18 kb, contains images, manifest etc.

    xxx. COD 147 KB

    xxx. CSO 1 KB

    xxx. Debug 127 KB

    XXX - 69 KB 1.debug

    Also, it changes my JAD file and adds the following:

    RIM-COD-Module-dependencies: net_rim_cldc
    RIM-COD-URL-1: xxx - 1.cod
    RIM-COD-SHA1-1: 52 83 e9 c7 6th a1 ad a6 5f bc 8 b 9 b 07 b1 04 53 49 ca 46 fd
    RIM-COD-size-1: 59208
    RIM-COD-Module-Name: xxx
    RIM-COD-size: 90108
    RIM-COD-creation-Time: 1231858243
    RIM-COD-URL: xxx.cod
    RIM-COD-SHA1: 2d 2 b 72 c5 a3 68 03 ed be 22 fa df 41 05 c0 0e 48 8 a 77 ec

    But it does not create a file xxx - 1.cod, or at least I can't. Of course it takes a... Looks like the xxx.cod file is too big also. This installation live does not work. Y at - it an option to indicate the CAP should create several files of cod? I cannot find a reference on CAP documentation, is there another way to create a cod to jad/jar file (s)?

    Erik

    Seems that CAP created a file of large cod with brothers and sisters inside.

    Rename the file zip cod.

    Unzip it. Remove this zip file.

    You have now all the cod files.

  • The NI9423 will work with Sound and Vibration VI

    Will be that the NI 9423 mounted on a chassis cRIO work with the NO audio and vibration of VI?

    I have an optical encoder of 10-30 V 100 pulses/revolution and would like to make angle field order analysis with her.

    is the NI9423 a card appropriate for this purpose or is something else better suited, I'm open to change the type of encoder if necessary.

    Hi Bodger

    How fast do you think the tree to turn to? The speed of switching module is able to pass to the 1uS extremely quickly. This means that you should be fine unless you are turning the tree at a ridiculously fast speed of approximately 600000 RPM.

    Regarding the reading of signals with the sound and vibration screw, you should be able to do this using the digital tachometer functions.

    Thank you very much

    Dan.H

    NIUK Applications Engineering

  • SimplePass only works with IE and not other browsers

    SimplePass v5.20.205a should work with other browsers like Chrome or Firefox?

    On my dv7-4295us w / Win7 - 64 bit, SimplePass only works with IE8/9. Use IE, suddenly me in connects to the listed sites. With Chrome or Firefox, suddenly won't open the password manager. After scrolling to and by selecting the entry with the correct connection info, an instance of IE opens and connects me.

    If Firefox is set as the default browser, one touch opens the password manager. You select the Web site, a warning message (Firefox doesn't know how to open this address, because the Protocol (dpql) is not associated with any program.)

    If Chrome is the browser default, one touch opens the password manager. The selection of the correct entry, results in a new instance of Chrome to open to my home page.

    BTW - the link for help does not (never) bar of tasks or SimplePass inside.

    Cognizer,

    Welcome to the Forum!

    Firefox will work with your version of SimplePass, called Digital Persona.

    The limitation is that you must use a PREVIOUS Firefox version: ~ 3.6 28

    Download of Firefox 3.6.x

    If you're ready to do this (use the old version), then you can use all the sites to your connections and also use the HP connection to access your account on your computer when it starts.  This old version of Firefox also works very well with IE8/9.

    You can update Firefox to the bosom of the version 3.6.x, when they ask... just don't get excited and upgrade to the latest Firefox or Simplepass balk.  Tip: You can keep a copy of your download 3.6.x autour just in case you lose the installation or something else happens and you need to reinstall Firefox later.

    IE8 is quite Rocky.  If you have no choice, be it, immediately update IE9.

    I don't know about Chrome.  Couldn't get anything to work with it.

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    I hope this helps!

    We work hard to help!

    Whenever you see a useful Post - click on the Star Bravo on the left as a thank you!

    Doesn't have this Post solved your problem?  Mark "accept as Solution!

    Note: You can find the box "Accept as Solution" on threads started by you.

    2012 the year of the Dragon!

    Dragon tips:

    SimplePass flavoers Digital Persona and HP SimplePass 2011 / 2012 are MATERIAL dependent.  This means that your computer hardware dictates what kind of software SimplePass, you should run on your computer.  If you run Digital Persona SimplePass style, you must continue to run such - at least for now.  The software code is different, and are the two types are not interchangeable.

  • Tips before buying HP all in one wireless to work with mac and AirPrint

    I am looking to buy a HP Officejet Pro 8600 as my current HP is on the blink (well I think it's that I posted here with my problem with the Office Jet Pro 8500 and now it does not work with my mac at just my PC windows) but I need to know if I buy a HP Officejet Pro 8600 can I upgrade the network and not only print , but the scan wireless (probably more AirPrint) to a Mac Book Pro (end of 2011 on the last updated firmware), or is there a better printer for this task which is so cheap that I do not use the fax, but I'm going to use all other options; I print about 300 pages per month, as we Exam course and working documents to be printed on a regular basis in my house, that's why I'm leaning towards an Office Jet.

    Can what advice you give?

    Finally, what is the difference between a HP Officejet Pro 8600 and HP Officejet Pro more than 8600?

    Sorry I'm so "wet behind the ears" when it comes down to this

    See you soon.

    Hello

    The 8600 pro is a great printer, however, the 8500 is great too...

    By looking at your original post the question more likely related to your network and not with the printer itself.

    Before purchasing a printer new please try following the steps below and let me know if this can help, if the problem caused by your router you will instead see a similar behavior with the 8600 too:

    Unplug the cable ehthernet on the side of the router, and then connect it directly to your Mac (a direct connection cable between the printer and the Mac itself).

    Wait 2 - 3 minutes to allow the connection to fill and then open print & scanning.

    Click on the sign more and add the printer listed as Hello.

    Now start the software update from the Apple menu and check if you can scan via print & scan, Capture Image or excerpt:

    http://support.HP.com/us-en/document/c03550518

    If the analysis works by bypassing your network the problem caused by lack of compatibility Hello of the BT Home Hub, which can be called as Hello, mDNS, by different router or multicast IGMP manufactures...

    I recommend you contact your router service provider to check if it supports this feature and if such can be activated by changing the settings of the router, a firmware update, etc.

    You can find more info on this requirement in reviwing Solution 2: check your router for compatibility Hello in any information from Mac OS X in the document below:

    http://support.HP.com/us-en/document/c02915280

Maybe you are looking for