Ask a Question related to Dreamweaver AppDev, Design and Development.
-
dianestein #1
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 & 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
-
Dreamweaver Templates
I am having problems with Dreamweaver mx 2004 templates for entire Macromedia site linking together. My company bought me a Universal Macromedia... -
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. ... -
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... -
Contribute 3 templates other than Dreamweaver
Does Contribute 3 allow the usage of templates not created in Dreamweaver, Frontpage for example? -
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)... -
Murray *TMM* #2
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...There is quite a bit of information about DW templates both in the DW F1>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 & 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.)
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]
Templates are design-time tools. As such, they have no real function on the> 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?
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".
See my recommendations above regarding the F1 Help, the Technotes, and the> 3. Where would I find directions on how to modify the templates?
resource site.
Modify a template (in non-editable regions) and save it. All *local* files> Once I modify
> the templates, I would like to find directions on
> how to apply the template changes for the entire website.
(associated with that template) are then automatically changed, accordingly.
They must then be pushed to the production server.
You lost me here. Perhaps with a better understanding of what templates are> 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>
and how they work you can answer this question yourself.
>
> Thank you very much for your assistance!
>
>
>
>
Murray *TMM* Guest
-
RichMcCrea #3
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
-
kmolly03 #4
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
-
Paul Whitham TMM #5
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...ssi. I> Hi,
>
> I have been designing in Dreamweaver MX for 3 years in asp coding andinstead> need to understand how to utilize the templates and library items nowusing> of ssi for my position at work. Can you tell me what the difference is initems> ssi or templates? Or assist me in understanding how to update my library> and get them to update throughout my website of 5 pages currently?
>
> Thanks for your help,
> Karen
>
>
Paul Whitham TMM Guest
-
Murray *TMM* #6
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...> ssi. I>> Hi,
>>
>> I have been designing in Dreamweaver MX for 3 years in asp coding and> instead>> need to understand how to utilize the templates and library items now> using>> of ssi for my position at work. Can you tell me what the difference is in> items>> ssi or templates? Or assist me in understanding how to update my library>>> and get them to update throughout my website of 5 pages currently?
>>
>> Thanks for your help,
>> Karen
>>
>>
>
Murray *TMM* Guest



Reply With Quote

