DW8 changes to > in templated page (Outside HTML)

SOLVED:
One of the Code Rewriting preferences is 'Encode <,>,
&, and " in attribute values using &' which appears to be
the reason for this.
I am trying to update a template whose children have code
before the HTML tag (on some pages) and when I do it changes the
greater than symbol (in a query) to &gt; which causes it to
crash. This is fairly trivial to find/replace but I'm wondering if
there's a way I can tell it not to do that, and if not what else is
it changing (is there a list/kb article about this I can read?) So
far I've found no mention of this anywhere.
Great thanks for any help...

Have you read my reply to your post on the DW forum?
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
==================
"bwesteia" <[email protected]> wrote in
message
news:eqao6q$muv$[email protected]..
>I am trying to update a template whose children have code
before the HTML
>tag
> (on some pages) and when I do it changes the greater
than symbol (in a
> query)
> to > which causes it to crash. This is fairly trivial
to find/replace but
> I'm
> wondering if there's a way I can tell it not to do that,
and if not what
> else
> is it changing (is there a list/kb article about this I
can read?) So far
> I've
> found no mention of this anywhere.
>
> Great thanks for any help...
>
>

Similar Messages

  • Error in template for code outside html

    Hi everyone
    I have a problem with a template.
    I use a simple tamplate master with this tag: <!--
    TemplateInfo codeOutsideHTMLIsLocked="false" --> in order to
    unlock the code outside the html.
    Well, I have also some pages with this templated applied to.
    Those ones are ok because when i try to apply any changes
    outside the html tag dreamweaver let me do this.
    But I have a problem. When I UpDate the template it replaces
    the code outside html with the code in it.
    Fore example this is what appears inside the master:
    <%@ Page Language="VB" AutoEventWireup="false"
    ContentType="text/html" ResponseEncoding="utf-8" %>
    <!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>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
    When I have a page based on this template, like this:
    <%@ Page Language="VB" FileCode="aaa" Inherits="aaa"
    AutoEventWireup="false" ContentType="text/html"
    ResponseEncoding="utf-8" %>
    <!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/page.dwt.aspx"
    codeOutsideHTMLIsLocked="false" -->
    If i try to update the template it replaces the text outside
    the html tags in the based page, and it becomes so (in the page
    based on template after the template master update):
    <%@ Page Language="VB" AutoEventWireup="false"
    ContentType="text/html" ResponseEncoding="utf-8" %>
    <!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>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="false" -->
    THIS IS BAD!!!!!!!!!!!!!!!
    I need to chenge the page directive in asp net but the
    template doesnt work well!!!!!!!
    Please help

    Hi,
       Check below link, it may be useful.
    Re: QM_LSMW BY RECORDING METHOD FOR QP01
    Thanks,
    Asit Purbey.

  • Changing header information in pages made from templates

    I am familiar with GoLive and using components for menus to
    accomodate universal changes.
    I am new to Dreamweaver (CS3). I am using templates for my
    menus so I can make universal changes. However, what do I do if I
    want to put a form on a page and need to be able to put some code
    in the header? I cannot because the header is non-editable on pages
    made from templates.
    Are templates the only alternative to GoLive Components?
    THX

    This is the sign of an improperly made template.
    Do this -
    Create a new page (Basic HTML).
    Use FILE | Save as Template....
    Look at the code in the head region of the page, particularly
    the editable
    region around the <title> tag, and the other editable
    region in the head
    called "head".
    Make your template file look like that.
    Always use FILE | Save as Template when you create your
    templates and you
    won't have this problem again.
    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
    ==================
    "hmogg" <[email protected]> wrote in message
    news:fe39fo$pe6$[email protected]..
    >I am familiar with GoLive and using components for menus
    to accomodate
    > universal changes.
    >
    > I am new to Dreamweaver (CS3). I am using templates for
    my menus so I can
    > make universal changes. However, what do I do if I want
    to put a form on a
    > page
    > and need to be able to put some code in the header? I
    cannot because the
    > header
    > is non-editable on pages made from templates.
    >
    > Are templates the only alternative to GoLive Components?
    > THX
    >

  • Does and one know if you can change the navigation menu at the top of the iWeb template pages?

    Does and one know if you can change the navigation menu at the top of the iWeb template pages? I need to make the background a little wider.

    It depends on which template you use.
    You can also hide the default navigation and build your own which allows more freedom of design and is better for search engine optimization...
    http://www.iwebformusicians.com/iWeb/Navigation.html
    Make sure you use web-safe fonts in your navigation...
    http://www.iwebformusicians.com/iWeb/Fonts-Colors.html

  • Re:DW8 flash on template page not shows flash

    Hi Murray,
    When I changed it to relative nothing changed, the .dwt works
    fine but not
    my other pages based on the template. Maybe there is
    something wrong with
    the editable regions?
    Thanks for your help
    Sam
    Make the link to your Flash file be a root relative one.
    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
    ==================
    Hi all,
    I have a template based page with one flash animation.
    When I preview my template page the flash is working fine,
    but in my pages
    bases on the template I don't see my flash animation.
    Do I miss something?
    You can find my pages (text) on the following links:
    http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
    http://www.waterloocity.be/doc/index-asp.txt
    I searched in the archives but fund nothing that helps me
    I appreciate all help
    Thanks in advanced, Sam

    Then there is something wrong with the SWF 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
    ==================
    "SamDesign.be" <[email protected]> wrote in
    message
    news:[email protected]
    > Now, I see noting. In dreamweaver I see the swe but when
    I do the "play"
    > it's white
    >
    > "Murray *ACE*" <[email protected]> a
    écrit dans le message
    > de news: [email protected]
    >> Do you see the Flash element locally?
    >>
    >> --
    >> 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
    >> ==================
    >>
    >>
    >> "SamDesign.be" <[email protected]>
    wrote in message
    >> news:[email protected]
    >>> Yes, I work localy for the moment.
    >>>
    >>> "Murray *ACE*"
    <[email protected]> a écrit dans le
    message
    >>> de news: [email protected]
    >>>> Did you upload the Scripts folder?
    >>>>
    >>>> <script
    src="../Scripts/AC_RunActiveContent.js"
    >>>> type="text/javascript"></script>
    >>>>
    >>>> --
    >>>> 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
    >>>> ==================
    >>>>
    >>>>
    >>>> "SamDesign.be"
    <[email protected]> wrote in message
    >>>> news:[email protected]
    >>>>> Hello Murray,
    >>>>>
    >>>>>
    >>>>>
    >>>>> I tray it again but still don't working.
    I made a new page, without
    >>>>> linking to a template, and there my
    flash is also not showing up.
    >>>>>
    >>>>> Here is my code from a test page.
    >>>>>
    >>>>> Thanks for your time!
    >>>>>
    >>>>>
    >>>>>
    >>>>> <%@LANGUAGE="VBSCRIPT"
    CODEPAGE="1252"%>
    >>>>>
    >>>>> <!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" />
    >>>>>
    >>>>> <title>Untitled
    Document</title>
    >>>>>
    >>>>> <script
    src="../Scripts/AC_RunActiveContent.js"
    >>>>>
    type="text/javascript"></script>
    >>>>>
    >>>>> </head>
    >>>>>
    >>>>> <body>
    >>>>>
    >>>>> <script type="text/javascript">
    >>>>>
    >>>>> AC_FL_RunContent(
    >>>>> 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','100','height','60','title','test','src','/flash/newpub','quality','high','pluginspage ','http://www.macromedia.com/go/getflashplayer','movie','/flash/newpub'
    >>>>> ); //end AC code
    >>>>>
    >>>>>
    </script><noscript><object
    >>>>>
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    >>>>> codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    >>>>> width="100" height="60" title="test">
    >>>>>
    >>>>> <param name="movie"
    value="/flash/newpub.swf" />
    >>>>>
    >>>>> <param name="quality" value="high"
    />
    >>>>>
    >>>>> <embed src="/flash/newpub.swf"
    quality="high"
    >>>>> pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    >>>>> type="application/x-shockwave-flash"
    width="100" height="60"></embed>
    >>>>>
    >>>>> </object></noscript>
    >>>>>
    >>>>> </body>
    >>>>>
    >>>>> </html>
    >>>>>
    >>>>>
    >>>>>
    >>>>> "Murray *ACE*"
    <[email protected]> a écrit dans le
    >>>>> message de news:
    [email protected]
    >>>>>> If you changed it to ROOT relative,
    e.g.,
    >>>>>>
    >>>>>> /Flash/whatever.swf
    >>>>>>
    >>>>>> Then it would work. Please show us
    your code....
    >>>>>>
    >>>>>> --
    >>>>>> 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
    >>>>>> ==================
    >>>>>>
    >>>>>>
    >>>>>> "SamDesign.be"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]
    >>>>>>> Hi Murray,
    >>>>>>>
    >>>>>>> When I changed it to relative
    nothing changed, the .dwt works fine
    >>>>>>> but not my other pages based on
    the template. Maybe there is
    >>>>>>> something wrong with the
    editable regions?
    >>>>>>>
    >>>>>>> Thanks for your help
    >>>>>>>
    >>>>>>> Sam
    >>>>>>>
    >>>>>>>
    >>>>>>> Make the link to your Flash file
    be a root relative one.
    >>>>>>> --
    >>>>>>> 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
    >>>>>>> ==================
    >>>>>>> Hi all,
    >>>>>>>
    >>>>>>> I have a template based page
    with one flash animation.
    >>>>>>>
    >>>>>>> When I preview my template page
    the flash is working fine, but in my
    >>>>>>> pages
    >>>>>>> bases on the template I don't
    see my flash animation.
    >>>>>>>
    >>>>>>> Do I miss something?
    >>>>>>>
    >>>>>>> You can find my pages (text) on
    the following links:
    >>>>>>>
    >>>>>>>
    http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
    >>>>>>>
    >>>>>>>
    http://www.waterloocity.be/doc/index-asp.txt
    >>>>>>>
    >>>>>>> I searched in the archives but
    fund nothing that helps me
    >>>>>>>
    >>>>>>> I appreciate all help
    >>>>>>>
    >>>>>>> Thanks in advanced, Sam
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Issue with templates and updating .html pages in my website

    Hello,
    I have taken over updating a website for the charity I work for. I have updated some eleements of the .dwt template page, however it does not seem to be updating the other .html pages for the website. I do not get the update pages box just a box saying 'You placed the editable region "breadcrumbs" inside a block tag. Users of this template will not be able to create new blocks in this region. Move the region outside the block tag if you want users to be able to do this" - I click OK and it saves the .dwt page, but does not update any other .html pages.

    I cannot answer your question(s), I have only hearsay experience, but I can offer some links on where to get information regarding Flash SEO...
    http://www.seobook.com/archives/001457.shtml
    http://www.flashseo.com/
    http://blog.searchenginewatch.com/090317-120653
    and the O'Reilly book: Search Engine Optimization for Flash by Todd Perkins, ISBN: 978-0-596-52252-0

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • Html select change to make JSP page forward keeping the exsting field value

    Hello, All,
    I am trying to make the change of a selection box in HTML form to reload the page and populate the second selection box based on the value in the first selection box. The content of the second selection box is from database....
    i used a javascript funtion and called it by the onChange(), the onChange redirect the page to the same page. However all my previous input is lost and the second selection box is not populated based on the first selection box.
    The question is how do I keep the current input and reload the page based on the change of a selection box?
    Please help..
    Thanks..
    Here is the code
    <script language=javascript type="text/javascript">
    function forward(){
    location.href="trdCapDetail.jsp";
    </script>
    <select name=vehicle onChange="forward()">
    <%for(int i = 0; i < Vehicle.getAll().size(); i++){
         Vehicle vehicle = (Vehicle)(Vehicle.getAll().elementAt(i));     
         out.write("<option value=" + vehicle.getKey()+" >" + vehicle.getCode() + "</option>");
    %>

    Ok two things.
    1 - you need to submit the value which was selected.
    2 - you need to repopulate the select box with it.
    1 - you need to submit the value which was selected.
    You do this by either appending the parameter to the url, or calling form.submit().
    <script language=javascript type="text/javascript">
    // either set parameter on url manually
    function forward(control){
    var param = control.value;
    location.href="trdCapDetail.jsp?vehicle=" + param;
    // or submit the form:
    function forward(control){
      control.form.submit();
    <% pageContext.setAttribute("vehicles", Vehicle.getAll() ) ; %>
    <form name="myForm" action="trdCapDetail.jsp"> 
      <select name="vehicle" onchange="forward(this)">
          <c:forEach var="vehicle" items="${vehicles}">
            <option value="<c:out value="${vehicle.key}"/>"> <c:out value="${vehicle.code}"/> </option>
          </c:forEach>
       </select>   
    </form>2: populating the control
    One way is to use javascript again:
    <c:if test="${not empty param.vehicle}">
      <script language="javascript">
        document.myForm.vehicle.value = "<c:out value="${param.vehicle}"/>";
      </script>
      </c:if>
    // or scriptlet code if you must
    <%
    String selectedVehicle = request.getParameter("vehicle");
    if (selectedVehicle != null){  %>
      <script language="javascript">
        document.myForm.vehicle.value = "<%= selectedVehicle%>";
      </script>
    <%
    %>The other way to keep the current input is to generate the string "selected" inside the option tag for the selected item. In your loop, check if the current id equals the submitted id, and print "selected" if it is.
    Hope this helps,
    evnafets

  • Changing a "Template" Page

    I am learning about DW templates. I have one concern though.
    If I create a template for all of my 50 pages and then I make a
    change to the template can I just re upload the template page to
    the server or do I have to re upload all of the pages again? I was
    told that if I change the ''template" page that I have to re upload
    all of the pages again and not just the "template" page. This would
    be very inefficient though and defeat the purpose of using the
    template IMO.

    > do I have to re upload all of the pages again?
    Yes
    Investigate Server Side Includes. You would only have to
    upload the changed
    Include file. Highly efficient.
    http://www.projectseven.com/products/menusystems/pmm/user_guide/site_wide/includes/overvie w.htm
    Jo
    "Comp. 792" <[email protected]> wrote in
    message
    news:g3nb1m$ji9$[email protected]..
    >I am learning about DW templates. I have one concern
    though. If I create a
    > template for all of my 50 pages and then I make a change
    to the template
    > can I
    > just re upload the template page to the server or do I
    have to re upload
    > all of
    > the pages again? I was told that if I change the
    ''template" page that I
    > have
    > to re upload all of the pages again and not just the
    "template" page. This
    > would be very inefficient though and defeat the purpose
    of using the
    > template
    > IMO.
    >

  • Changing individual template pages text!! How??

    So if I choose a template such as "screenplay" and I have 10 different pages within that one document, how do I change the header text that appears across the top of each template page? They are all linked together, so when I change one, they all change. Can't I override this and have some of the headers different? Thanks.

    el,
    Yes, you can. Put a section break at the end of one type of header section, then click in the body of the next page, and UNcheck User Previous Headers & Footers from the Layout inspector.
    -Dennis

  • DW8 flash on template page not shows flash

    Hi all,
    I have a template based page with one flash animation.
    When I preview my template page the flash is working fine,
    but in my pages
    bases on the template I don't see my flash animation.
    Do I miss something?
    You can find my pages (text) on the following links:
    http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
    http://www.waterloocity.be/doc/index-asp.txt
    I searched in the archives but fund nothing that helps me
    I appreciate all help
    Thanks in advanced, Sam

    Make the link to your Flash file be a root relative one.
    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
    ==================
    "SamDesign.be" <[email protected]> wrote in
    message
    news:eugrqh$jr9$[email protected]..
    > Hi all,
    >
    > I have a template based page with one flash animation.
    >
    > When I preview my template page the flash is working
    fine, but in my pages
    > bases on the template I don't see my flash animation.
    >
    > Do I miss something?
    >
    > You can find my pages (text) on the following links:
    >
    >
    http://www.waterloocity.be/doc/go2waterloo_FR-dwt-asp.txt
    >
    >
    http://www.waterloocity.be/doc/index-asp.txt
    >
    > I searched in the archives but fund nothing that helps
    me
    >
    > I appreciate all help
    >
    > Thanks in advanced, Sam
    >
    >

  • Preserving Code In Template Pages

    I have noticed, when I write asp.net code above the head
    section of a template page it gets overwritten (deleted) when I
    update the template.
    Is there any way to lock this area?

    See this line -
    "><!-- InstanceBegin
    template="/Templates/SweetSuccess.dwt.aspx"
    codeOutsideHTMLIsLocked="false" -->
    It tells DW to treat the region outside of
    <html></html> as an editable
    region. It should not remove any code you place there.
    However, you have this -
    <script language="vb" runat="server">
    which is HTML. It usually doesn't belong above the
    <html> tag - although I
    don't know about .Net usages. Could be that this is what is
    giving DW a
    headache.
    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
    ==================
    "M.E. Again" <[email protected]> wrote in
    message
    news:[email protected]
    > Here is the beginning portion of the code...
    >
    > <%@ Page Language="VB" ContentType="text/html"
    > ResponseEncoding="iso-8859-1" %>
    > <% @Import Namespace="System.Web.Mail" %>
    > <% @Import Namespace="System.Web.Mail" %>
    > <script language="vb" runat="server">
    >
    > Sub btnSendFeedback_Click(sender as Object, e as
    EventArgs)
    >
    > 'Create an instance of the MailMessage class
    > Dim objMM as New MailMessage()
    >
    > 'Set the properties - send the email to the person who
    filled out the
    > 'feedback form.
    > objMM.To = "[email protected]"
    > objMM.From = txtEmail.Text
    >
    > 'If you want to CC this email to someone else, uncomment
    the line below
    > 'objMM.Cc = "[email protected]"
    >
    > 'If you want to BCC this email to someone else,
    uncomment the line below
    > 'objMM.Bcc = "[email protected]"
    >
    > 'Send the email in text format
    > objMM.BodyFormat = MailFormat.Text
    > '(to send HTML format, change MailFormat.Text to
    MailFormat.Html)
    >
    > 'Set the priority - options are High, Low, and Normal
    > objMM.Priority = MailPriority.Normal
    >
    > 'Set the subject
    > objMM.Subject = "Feedback"
    >
    > 'Set the body
    > objMM.Body = "At " + DateTime.Now + " feedback was sent
    from an ASP.NET
    > " & _
    > "Web page. Below you will find the feedback message "
    > "send by " & txtName.Text & "." & vbCrLf
    & vbCrLf & _
    > "---------------------------------------" & vbCrLf
    & vbCrLf
    > & _
    > txtMessage.Text & vbCrLf
    >
    >
    > 'Specify to use the default Smtp Server
    > SmtpMail.SmtpServer = ""
    >
    > 'Now, to send the message, use the Send method of the
    SmtpMail class
    > SmtpMail.Send(objMM)
    >
    >
    > panelSendEmail.Visible = false
    > panelMailSent.Visible = true
    > End Sub
    >
    > </script>
    >
    >
    > <!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/SweetSuccess.dwt.aspx"
    > codeOutsideHTMLIsLocked="false" -->
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <!-- InstanceBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- InstanceEndEditable -->
    > <link href="Master.css" rel="stylesheet"
    type="text/css" />
    > <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable -->
    > <script type="text/javascript"
    src="p7pm/p7popmenu.js"></script>
    > <style type="text/css" media="screen">
    > <!--
    > @import url("p7pm/p7pmh1.css");
    > -->
    > </style>
    > </head>
    >
    >
    >

  • Making changes to PHP web pages

    Hi. I am wondering if I can just open a .php file in DW and
    just make text and image changes just as I would an html file. Or
    do I need to know and be able to mess with PHP code to do this.
    Thanks in advance.
    -Bonzojr

    You can edit it as you would any other HTML page. But, if
    it's dynamically
    produced markup, you may not see what you expect to see....
    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
    ==================
    "bonzojr" <[email protected]> wrote in
    message
    news:e2t7c8$jdi$[email protected]..
    > Hi. I am wondering if I can just open a .php file in DW
    and just make text
    > and
    > image changes just as I would an html file. Or do I need
    to know and be
    > able to
    > mess with PHP code to do this. Thanks in advance.
    >
    > -Bonzojr
    >

  • Why can't I make a change to my template?

    I have a template with editable regions and non-editable. The footer is no-editable but I can't make a change to it. I have the telephone number listed twice in the footer and want to remove one of them but can't do it. I get the circle with a line through it when I try to modify it. Nor can I make the change on the pages made from the template. What to do? http://mountainartistsguild.org
    Here's the code for my template:
    <!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/index.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Mountain Artists Guild and Gallery, Prescott AZ</title>
    <!-- InstanceEndEditable -->
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
    h1 {
        font-size: 20px;
        color: #000;
    h2 {
        font-size: 16px;
        color: #000;
    h3 {
        font-size: 16px;
        color: #000;
    h4 {
        font-size: 14px;
        color: #000;
    h5 {
        font-size: 12px;
        color: #000;
    h6 {
        font-size: 12px;
        color: #993300;
    a:link {
        color: #993300;
        text-decoration: underline;
    a:visited {
        text-decoration: underline;
        color: #993300;
    a:hover {
        text-decoration: underline;
        color: #993300;
    a:active {
        text-decoration: underline;
        color: #993300;
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li></li>
          <li></li>
          <li></li>
          <li></li>
        </ul>
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="../index.html">Welcome</a></li>
          <li><a class="MenuBarItemSubmenu" href="../about.html">About Us</a>
            <ul>
              <li><a href="../about.html">About MAG</a></li>
              <li><a href="../leaders.html">Leaders</a></li>
              <li><a href="../calendar.html">Meeting Calendar</a></li>
              <li><a href="../room_rental.html">Room Rental</a></li>
              <li><a href="../library.html">Library</a></li>
              <li><a href="../faq.html">FAQ</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="../workshops.html">Workshops</a>
            <ul>
              <li><a href="../workshops_2013.html">2013</a> </li>
              <li><a href="../open_studios.html">Open Studios</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="../main_gallery.html">Gallery</a>
            <ul>
              <li><a href="../main_gallery.html">Main Gallery</a></li>
              <li><a href="../spotlight_room.html">Spotlight Room</a></li>
              <li><a href="../masters_room.html">Masters' Room</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="../upcoming_events.html">Events</a>
            <ul>
              <li><a href="../studio_tour.html">Studio Tour</a></li>
              <li><a href="../upcoming_events.html">Upcoming Events</a></li>
              <li><a href="../art_in_town.html">Art in Town</a></li>
            </ul>
          </li>
          <li><a href="http://prescottartfestivals.com">Art Festivals</a></li>
          <li><a class="MenuBarItemSubmenu" href="../scholarships.html">Youth Activites</a>
            <ul>
              <li><a href="../scholarships.html">Scholarships</a></li>
              <li><a href="../kidsfest.html">Kidsfest</a></li>
              <li><a href="../bigs_littles.html">Bigs & Littles</a></li>
            </ul>
          </li>
          <li><a href="../prescott_links.html" class="MenuBarItemSubmenu">Links</a>
            <ul>
              <li><a href="../prescott_links.html">Prescott</a></li>
              <li><a href="../sponsors_links.html">Sponsors</a></li>
              <li><a href="../artists_links.html">Artists</a></li>
            </ul>
          </li>
          <ul>
            <li><a href="../prescott_links.html">Prescott</a></li>
            <li><a href="../sponsors_links.html">Sponsors</a></li>
            <li><a href="../artists_links.html">Artists</a></li>
          </ul>
          </li>
          <li><a href="../contact.html">Contact Us</a></li>
        </ul>
        <p> </p>
        <p><a href="http://visitor.constantcontact.com/manage/optin/ea?v=001Md2lQvja6UBBEQy3X2JMHY0qNMYNDvJqqy pofIxr-EVHHypkoPUYb0h19RIQV9BL9fpH0zwk93h2JDm8ghFBQw==">Join our Mailing List</a></p>
        <p><a href="../pdf/newletter.pdf">View our Newsletter</a><a href="http://www.mountainartistsguild.org/pdf/newsletter.pdf"></a></p>
        <p><a href="http://www.facebook.com/pages/Mountain-Artists-Guild-and-Gallery-MAG-Prescott-Arizona/1691 06459867375">Like us on Facebook!</a><a href="http://www.facebook.com/pages/Mountain-Artists-Guild-Prescott-Arizona/169106459867375"></a></p>
        <p><a href="http://www.facebook.com/pages/Mountain-Artists-Guild-Prescott-Arizona/169106459867375"><img src="http://www.mountainartistsguild.org/48x48Facebook_icon.png" height="48" width="48" /></a></p>
        <!-- InstanceBeginEditable name="lower_sidebar" -->
        <p style="color: #930"><a href="../pdf/OfficalMAGhistory-2.pdf">Read about the History of MAG</a></p>
        <!-- InstanceEndEditable --><!-- end .sidebar1 --></div>
      <!-- InstanceBeginEditable name="content" -->
      <div class="content">
        <h1><a href="http://prescottartfestivals.com/"><img src="../images/PAF button.png" alt="Prescott Art Festivals" width="120" height="48" hspace="20" align="right" /></a>Welcome to the Mountain Artists Guild and Gallery.</h1>
        <h2><a href="../pdf/OfficalMAGhistory-2.pdf">Read about the History Of MAG.</a></h2>
        <h2><a href="http://www.facebook.com/pages/Mountain-Artists-Guild-and-Gallery-MAG-Prescott-Arizona/1691 06459867375?ref=ts&fref=ts"><img src="../images/48x48Facebook_icon.png" width="48" height="48" hspace="80" align="right" /></a><a href="../pdf/MAGMembership2012.pdf">Click here for a membership form.</a></h2>
        <h2> </h2>
        <h2 align="center"> </h2>
        <p></p>
             <br />
                    <!-- START EMBED CODE -->
        <script type="text/javascript" src="http://bgnieb.slideshowpro.com/m/embed.js"></script>
        <div id="album-369510"></div>
        <script type="text/javascript">
        SlideShowPro({
            attributes: {
                id: "album-369510",
                width: 700,
                height: 300
            mobile: {
                auto: false
            params: {
                bgcolor: "#ffffff",
                allowfullscreen: true
            flashvars: {
                xmlFilePath: "http://bgnieb.slideshowpro.com/images.php?album=369510",
                paramXMLPath: "http://bgnieb.slideshowpro.com/m/params/chromeless.xml",
                navAppearance: "Visible on Rollover",
                transitionStyle: "Drop",
                feedbackPreloaderAppearance: "Hidden",
                transitionPause: 2
    </script>
        <!-- END EMBED CODE -->
        <p> </p>
        <p align="center">Congratulations to Keith Sanders, our new promotional winner!<br />
          <br />
          <img src="../images/TaosInspirationsWeb.jpg" alt="Tao Inspirations by Keith Sanders" width="648" height="539" /><br />
        </p>
        <p align="center">&ldquo;Taos Inspirations&rdquo; watercolor, Promotional Winner 2013, by artist Keith Sanders<br />
        </p>
        <p> </p>
        <p> </p>
        <p><img src="../images/art and soul/Canyon Mei-June Liao.JPG" alt="Canyon Pastel" width="370" height="296" hspace="14" align="left" /></p>
        <p> </p>
        <p>Our Current Gallery Show is Art and Soul.</p>
        <p>Here is the Best of Show winner <br />
          Canyon Pastel by Mei-June Liao.</p>
        <p><a href="../main_gallery.html">See all the winners by visiting the Main Gallery page.</a></p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p><a href="http://www.artthe4th.com"><img src="http://www.mountainartistsguild.org/links/art_the_fourth.jpg" alt="Prescott's 4th Friday Art Walk" align="left" height="134" width="225" /></a></p>
        <p> </p>
        <p>Visit our Gallery each month as part of the 4th Friday Art Walk.   Enjoy an Artists' Reception, Guest Artist Demonstration, great  camaraderie and refreshments, too. </p>
        <p> </p>
        <p><br />
        </p>
        <div>
          <p><br />
            Welcome to the Mountain Artists Guild and Gallery</p>
          <p>This year's theme is Arizona's Centennial.</p>
          <h2>Mountain Artists Guild, Inc.</h2>
        </div>
        <h2>Mission </h2>
        <h4>Mountain Artists Guild, Inc. is a nonprofit organization dedicated to the promotion of the visual arts. </h4>
        <h2> Vision</h2>
        <h4>Mountain Artist Guild is the destination for visual arts in Northern Arizona. </h4>
        <h2>Guiding Principals</h2>
        <h4>The Guiding Principles of Mountain Artists Guild is to be:</h4>
        <h4> A cohesive volunteer-based art center<br />
          A learning center for artists<br />
          A gathering place for artists and community organizations for mutual interaction<br />
          A respected provider of exhibition opportunities for members and other artists<br />
          A resource for artists for information and art enhancement<br />
          An organization free of debt with adequate physical plant and parking facilities.</h4>
        <p align="center"><img src="http://www.mountainartistsguild.org/images/logos/100xlogo.png" height="93" width="100" /></p>
        <p align="center">Supported in part by the Arizona Commission on the Arts with funding <br />
          from the State of Arizona and the National Endowment for the Arts.<br />
          <br />
          Mountain Artists Guild is also sincerely grateful for funding from:<br />
          <br />
          J.W. Kieckhefer Foundations,<br />
          National Endowment for the Arts,<br />
          Margaret T. Morris Foundation, and <br />
          Prescott Area Arts &amp; Humanities Council.</p>
        <br />
        <div>
          <p align="center"><a href="http://www.azarts.gov/"><img src="http://www.mountainartistsguild.org/links/100x90AZComission.gif" alt="Arizona Commission on the Arts logo" height="90" width="100" /></a><img src="http://www.mountainartistsguild.org/links/20x50_transp.gif" height="50" width="20" /><a href="http://www.nea.gov/"><img src="http://www.mountainartistsguild.org/links/100xNatl_Endowment.gif" alt="National Endowment for the Arts logo" height="90" width="100" /></a><img src="http://www.mountainartistsguild.org/links/20x50_transp.gif" height="50" width="20" /><a href="http://www.prescottarts.org/"><img src="http://www.mountainartistsguild.org/links/100xPrescott_Area_Arts.gif" alt="Prescott Area Arts &amp; Humanities Council logo" height="90" width="100" /></a></p>
        </div>
        <h2 align="center"> </h2>
        <p> </p>
        <!-- end .content -->
      </div>
      <!-- InstanceEndEditable -->
      <div class="footer">
        <h6>Mountain Artists Guild, Inc. ▪ 228 North Alarcon in Prescott, Arizona 86301<br />
          Office Hours ▪ Monday - Friday 9 AM to 3 PM ▪ Phone 928.445.2510 928.445.2510 ▪ Fax 928.776.4861<br />
          Gallery Hours ▪ Monday - Friday 10 AM to 4 PM ▪ Saturday 11 AM to 3 PM ▪ Phone 928.776.4009 <br />
          Website Design: SitesByBeth.com | <a href="mailto:[email protected]">Contact</a> </h6>
        <!-- end .footer --></div>
      <!-- end .container --></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    <!-- Start of StatCounter Code for Default Guide -->
    <script type="text/javascript">
    var sc_project=7538717;
    var sc_invisible=1;
    var sc_security="d112dfc6";
    </script>
    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script>
    <noscript>
    <div class="statcounter"><a title="hits counter"
    href="http://statcounter.com/free-hit-counter/"
    target="_blank"><img class="statcounter"
    src="http://c.statcounter.com/7538717/0/d112dfc6/1/"
    alt="hits counter"></a></div>
    </noscript>
    <!-- End of StatCounter Code for Default Guide -->
    </body>
    <!-- InstanceEnd -->
    </html>

    The code taht you have shown is not the template, it is a document that has been created from a template and renamed with a dwt extension.
    If you load the document into DW then go to menu item Modify->Templates->Detach from Template and save the file, you will have your original template called index.dwt and located in the Templates subdirectory.

  • Flash in Template Pages

    I placed two Flash object into a template page. Child pages
    made from it worked fine until I made a change to the template.
    After that, the Flash objects are no longer visible when previewed
    in the browser.
    Is this normal? Is there a way around it? Or do I have to
    load the Flash objects into the each and every child page?
    Your help is greatly appreciated.

    > So it will probably not work there
    > either.
    nope- it won't.
    for flash objects in locked parts of a template to work on
    the child pages,
    they must have a site root relative path because they are
    currently inserted
    with the active content javascript to write them. So the path
    isn't managed
    in the child pages like it is for links and images.
    you could put it in the root level of you own site, with
    unique filenames?
    If there aren't many pages, you could rename them in the
    files panel to
    something like aaa_index.html and aaa_contact.html so they
    are grouped
    together. also be sure to upload the Scripts folder in the
    public root
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

Maybe you are looking for

  • Open a new url in  same  window

    I am displayed a button using web dynpro abap, if i click the button means a new url page should be opened in the same window. I did the application but when i click the button means a new window is opened.It should not be happened. Anyone can plz se

  • ODD on my Satellite L550-11J is damaged - looking for new suitable device

    hello, the dvr device of my toshiba satellite L550-11J (bought in 2009) with windows vista 64 seems to be broken. it is a "pioneer dvd-rw dvrtd09a". it doesn`t show on windows anymore, not in the explorer, not in the device manager (if this s the eng

  • Thousands of grey thumbnails with duplicate ._IMG* filenames?

    Hi I have iPhoto 9.5.1 for Mavericks and have 10's of thousands of grey thumbnails that I cannot view. When I check the info on these they all show with a ._ prefix. E.g. "._IMG_0041", when I search for IMG_0041 I can see the photo fine. I have gone

  • In my iphone 4s search option is disabled how to enable it?

    Hi, In my iphone 4s search option is disabled how to enable it? Regards, KV

  • IMac PPC G5, iPhone and Snow Leopard

    Please pardon me if this is posted to the wrong board. It's a simple question and I think I know the answer, but need confirmation. I have an iMac 1.8 Ghz PowerPC G5 with 1.5 GB SDRAM. Very nice machine, not the snappiest, but it gets the job done. T