Dreamweaver MX 2004 templates

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Dreamweaver MX 2004 templates

    I am totally new to Macromedia Dreamweaver and all the products. My company
    bought me a Universal subscription several months ago since a previous web
    developer wrote lots of web applications in Macromedia. I basically have been
    changing some of the code using textpad. When I changed some areas that I
    believe are templates I got "devnet memory leak errors"
    when the web pages were being executed.

    The following code I am guessing deals with templates since I can not change
    the code using the dreamweaver product:
    <!-- InstanceBeginEditable name="pagename" -->
    <h2 id="pageName">Personal Information &amp; Employment</h2>
    <!-- InstanceEndEditable -->
    <% If DISPLAY_RATES Then %>
    <table width="76%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td class="formpara" colspan="2"
    style="font-size:11px;padding-left:0px;margin-left:0px;white-space:nowrap;paddin
    g-right:4px;margin-right:0px; "><b>LOAN TYPE: </b><%=oDict("LOAN_NAME") %></td>
    <% If (oDict("NEWA10_LOAN_AMOUNT")*1) > 0.00 Then %>
    <td class="formpara"
    style="font-size:11px;text-align:left;white-space:nowrap;padding-right:4px;margi
    n-right:0px;padding-left:0px;margin-left:0px; "><b>LOAN AMOUNT: </b>$
    <%=oDict("LOAN_DOLLARS") %></td>
    <% Else %>
    <td class="formpara"
    style="font-size:11px;text-align:left;white-space:nowrap;padding-right:4px;margi
    n-right:0px;padding-left:0px;margin-left:0px; "><b>LOAN AMOUNT: </b>$ N/A</td>
    <% End If %>

    I am assuming the part of the code following: "<!-- InstanceEndEditable -->"
    is part of a template since it is on most of the web pages in this application.

    Thus, my questions are:
    1. Where would I look to find introductory information about templates that
    are being used by dreamweaver mx 2004 on a windows 2000 workstation? (All i see
    is information about directory paths. There is no one at this company to tell
    me what the directory sttructure for this project is.)
    2. How can I identity where the templates are located at? Is there some kind
    of a name that I can look for to find these templates?
    3. Where would I find directions on how to modify the templates? Once I modify
    the templates, I would like to find directions on
    how to apply the template changes for the entire website.
    4. In addition, each user may want to modify the data that is displayed in the
    template area. Would you let me know what I can do to setup what the template
    would do based upon the parameter being sent to it would be? Basically it would
    say, "I am processing for this particular user". Since I am processing for this
    user, i would need to display with the following resutls>

    Thank you very much for your assistance!




    dianestein Guest

  2. Similar Questions and Discussions

    1. Dreamweaver Templates
      I am having problems with Dreamweaver mx 2004 templates for entire Macromedia site linking together. My company bought me a Universal Macromedia...
    2. Using Contribute without Dreamweaver Templates
      I have a newly created website that utilizes ASP includes and table less design. My clients just love Contribute and would still like to use it. ...
    3. new pages using dreamweaver templates?
      I have a dreamweaver template (*.dwt file) that I would like to use to create new pages on my website. How can I do this? As administrator, I have...
    4. Contribute 3 templates other than Dreamweaver
      Does Contribute 3 allow the usage of templates not created in Dreamweaver, Frontpage for example?
    5. From word.doc to Dreamweaver templates
      The template are been created in dreamwever MX 2004 and they are with css styles embbeded, and what i would like to do is to have word text(copy)...
  3. #2

    Default Re: Dreamweaver MX 2004 templates

    See inline below -

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "dianestein" <webforumsuser@macromedia.com> wrote in message
    news:cvl0b7$1b8$1@forums.macromedia.com...
    >I am totally new to Macromedia Dreamweaver and all the products. My company
    > bought me a Universal subscription several months ago since a previous web
    > developer wrote lots of web applications in Macromedia. I basically have
    > been
    > changing some of the code using textpad. When I changed some areas that I
    > believe are templates I got "devnet memory leak errors"
    > when the web pages were being executed.
    >
    > The following code I am guessing deals with templates since I can not
    > change
    > the code using the dreamweaver product:
    > <!-- InstanceBeginEditable name="pagename" -->
    > <h2 id="pageName">Personal Information &amp; Employment</h2>
    > <!-- InstanceEndEditable -->
    > <% If DISPLAY_RATES Then %>
    > <table width="76%" cellpadding="0" cellspacing="0" border="0">
    > <tr>
    > <td class="formpara" colspan="2"
    > style="font-size:11px;padding-left:0px;margin-left:0px;white-space:nowrap;paddin
    > g-right:4px;margin-right:0px; "><b>LOAN TYPE: </b><%=oDict("LOAN_NAME")
    > %></td>
    > <% If (oDict("NEWA10_LOAN_AMOUNT")*1) > 0.00 Then %>
    > <td class="formpara"
    > style="font-size:11px;text-align:left;white-space:nowrap;padding-right:4px;margi
    > n-right:0px;padding-left:0px;margin-left:0px; "><b>LOAN AMOUNT: </b>$
    > <%=oDict("LOAN_DOLLARS") %></td>
    > <% Else %>
    > <td class="formpara"
    > style="font-size:11px;text-align:left;white-space:nowrap;padding-right:4px;margi
    > n-right:0px;padding-left:0px;margin-left:0px; "><b>LOAN AMOUNT: </b>$
    > N/A</td>
    > <% End If %>
    >
    > I am assuming the part of the code following: "<!--
    > InstanceEndEditable -->"
    > is part of a template since it is on most of the web pages in this
    > application.
    >
    > Thus, my questions are:
    > 1. Where would I look to find introductory information about templates
    > that
    > are being used by dreamweaver mx 2004 on a windows 2000 workstation? (All
    > i see
    > is information about directory paths. There is no one at this company to
    > tell
    > me what the directory sttructure for this project is.)
    There is quite a bit of information about DW templates both in the DW F1
    help, and in the Technotes found at the Technote link in my signature. You
    may also find some information here -

    [url]http://www.dreamweavermx-templates.com[/url]

    > 2. How can I identity where the templates are located at? Is there some
    > kind
    > of a name that I can look for to find these templates?
    Templates are design-time tools. As such, they have no real function on the
    server, since the template markup only has meaning when being
    read/interpreted by DW. Thus, you would expect to find them on the original
    webmaster's hard drive within the root level of the site, in a folder named
    "Templates".
    > 3. Where would I find directions on how to modify the templates?
    See my recommendations above regarding the F1 Help, the Technotes, and the
    resource site.
    > Once I modify
    > the templates, I would like to find directions on
    > how to apply the template changes for the entire website.
    Modify a template (in non-editable regions) and save it. All *local* files
    (associated with that template) are then automatically changed, accordingly.
    They must then be pushed to the production server.
    > 4. In addition, each user may want to modify the data that is displayed in
    > the
    > template area. Would you let me know what I can do to setup what the
    > template
    > would do based upon the parameter being sent to it would be? Basically it
    > would
    > say, "I am processing for this particular user". Since I am processing for
    > this
    > user, i would need to display with the following resutls>
    You lost me here. Perhaps with a better understanding of what templates are
    and how they work you can answer this question yourself.
    >
    > Thank you very much for your assistance!
    >
    >
    >
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Dreamweaver MX 2004 templates

    actually the code after '<!-- InstanceEndEditable -->' is not part of the
    template. There are a few lines of code that DW will write outside of the
    InstanceBegin and InstanceEnd but they are not germane to the template. For
    example, if you use codebehind pages in an aspnet site. there will be.. <%@
    Page Language='c#' ContentType='text/html' ResponseEncoding='iso-8859-1'
    CodeBehind='application_roles.aspx.cs' AutoEventWireup='false'
    Inherits='ufportal.application_roles' %> <%@ Register TagPrefix='MM'
    Namespace='DreamweaverCtrls'
    Assembly='DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,cultu
    re=neutral' %> tags.. these are associated with the particular page you are
    working with, or specify you have used Dreamweaver controls (and it is
    specifying the abbreviation to be used in the code MM). You may also find
    <!DOCTYPE> tags and occasionally <MM: ..> tags before the begininstance tags.
    Sometimes, I put code after the instance end tag. for example if I want a
    field selected when a page loads... <!-- InstanceEnd --></html> <script
    language=JavaScript> // try to cause on load
    document.form1.txtUserName.select(); document.form1.txtUserName.focus(); //
    End --> </script> Hope this helps

    RichMcCrea Guest

  5. #4

    Default Re: Dreamweaver MX 2004 templates

    Hi,

    I have been designing in Dreamweaver MX for 3 years in asp coding and ssi. I
    need to understand how to utilize the templates and library items now instead
    of ssi for my position at work. Can you tell me what the difference is in using
    ssi or templates? Or assist me in understanding how to update my library items
    and get them to update throughout my website of 5 pages currently?

    Thanks for your help,
    Karen


    kmolly03 Guest

  6. #5

    Default Re: Dreamweaver MX 2004 templates

    Karen

    IMHO SSI is a far superior option for maintaining pages than using
    templates, and library items.

    A template is a layout of an entire page, that you then define areas that
    will be editable on pages spawned from it. If you want to make a change to
    all the pages, you change the template and then it rolls the change across
    all of the pages using it.

    A library item is similar in concept to a SSI in that it is a code block
    that is referenced on different pages, and if you change the library item
    that change is then reflected on pages using it.

    The major difference between it and SSI is that with SSI you only need to
    load one file to your server once a change is made, with a library item you
    need to reload every page that has used it.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "kmolly03" <webforumsuser@macromedia.com> wrote in message
    news:d74s6u$3oo$1@forums.macromedia.com...
    > Hi,
    >
    > I have been designing in Dreamweaver MX for 3 years in asp coding and
    ssi. I
    > need to understand how to utilize the templates and library items now
    instead
    > of ssi for my position at work. Can you tell me what the difference is in
    using
    > ssi or templates? Or assist me in understanding how to update my library
    items
    > and get them to update throughout my website of 5 pages currently?
    >
    > Thanks for your help,
    > Karen
    >
    >

    Paul Whitham TMM Guest

  7. #6

    Default Re: Dreamweaver MX 2004 templates

    Combining the convenience of templates with the power of SSI is an
    incredibly useful workflow. I suggest you both consider it.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Paul Whitham TMM" <paul@valleybiz.net> wrote in message
    news:d75ff5$jr$1@forums.macromedia.com...
    > Karen
    >
    > IMHO SSI is a far superior option for maintaining pages than using
    > templates, and library items.
    >
    > A template is a layout of an entire page, that you then define areas that
    > will be editable on pages spawned from it. If you want to make a change to
    > all the pages, you change the template and then it rolls the change across
    > all of the pages using it.
    >
    > A library item is similar in concept to a SSI in that it is a code block
    > that is referenced on different pages, and if you change the library item
    > that change is then reflected on pages using it.
    >
    > The major difference between it and SSI is that with SSI you only need to
    > load one file to your server once a change is made, with a library item
    > you
    > need to reload every page that has used it.
    >
    > --
    > Regards
    >
    > Paul Whitham
    > Macromedia Certified Professional for Dreamweaver MX2004
    > Valleybiz Internet Design
    > [url]www.valleybiz.net[/url]
    >
    > Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    > [url]www.macromedia.com/support/forums/team_macromedia[/url]
    >
    > "kmolly03" <webforumsuser@macromedia.com> wrote in message
    > news:d74s6u$3oo$1@forums.macromedia.com...
    >> Hi,
    >>
    >> I have been designing in Dreamweaver MX for 3 years in asp coding and
    > ssi. I
    >> need to understand how to utilize the templates and library items now
    > instead
    >> of ssi for my position at work. Can you tell me what the difference is in
    > using
    >> ssi or templates? Or assist me in understanding how to update my library
    > items
    >> and get them to update throughout my website of 5 pages currently?
    >>
    >> Thanks for your help,
    >> Karen
    >>
    >>
    >
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139