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>
>
>
>

Similar Messages

  • Using Task Flow in the template page

    Dear all,
    I am beginer and I work with JDev 11.1.1.3.0
    In my application I've got a template page called 'templateDef1.jspx'. In this page on the top facet I've got two commands link: 'Asort' and 'Reports'.
    I've created a new JSF page called 'main.jspx' which is based on the templateDef1 and in the center facet I dropped an ADF Bounded Task Flow as a Region. This bounded task flow contains two pages ('asort.jsff' and 'report.jsff'). When I run the main.jspx page I can navigate from 'asort' to 'report' page fragment using the button inside the page fragments.
    Now I want to navigate to those page fragments using the commands link from 'templateDef1.jspx'. What should I do ?
    I've tried several things but nothing works.
    Any help will be appreciated.
    Regards,
    Wojtek.
    Edited by: kojot on 2011-01-13 03:55

    Thank you a lot for you replies.
    Amit, I tried your solution but something doesn't work. I think the parameter isn't passing into the task flow.
    In my template page, after I added <af:setActionListener> I got two warnings: Reference "PageFlowScope.Flow" not found.
    The ref Center facet is refreshing properly, but it always displays the assort.jsff, because it is marked as default activity in my task flow.
    Here is the fragment of code of template page:
    <af:commandLink id="clAsort">
                      <af:panelGroupLayout id="pt_pgl2" halign="center"
                                           valign="middle" layout="vertical">
                        <af:image source="/ikony/asortyment.jpg" id="pt_i1"
                                  shortDesc="Asortyment"/>
                        <af:outputLabel value="Asortyment" id="pt_ol1"
                                        inlineStyle="color:Blue;"/>
                      </af:panelGroupLayout>
                      <af:setActionListener from="#{'A'}"
                                            to="#{pageFlowScope.Flow}"/>
                    </af:commandLink>
                    <af:spacer width="30" height="10" id="pt_s1"/>
                    <af:commandLink id="clReport">
                      <af:panelGroupLayout id="pt_pgl3" halign="center"
                                           valign="middle" layout="vertical">
                        <af:image source="/ikony/raporty.jpg" shortDesc="Raporty"
                                  id="pt_i2"/>
                        <af:outputLabel value="Raporty" id="pt_ol2"
                                        inlineStyle="color:Blue;"/>
                      </af:panelGroupLayout>
                      <af:setActionListener from="#{'R'}"
                                            to="#{pageFlowScope.Flow}"/>
                    </af:commandLink>And the code of the whole task flow definition:
    <?xml version="1.0" encoding="windows-1250" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="page-frag-task-flow">
        <default-activity id="__1">asort</default-activity>
        <data-control-scope id="__24">
          <shared/>
        </data-control-scope>
        <input-parameter-definition id="__12">
          <name id="__13">Flow</name>
          <value>#{pageFlowScope.Flow}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>
        <view id="asort">
          <page>/fragments/asort.jsff</page>
        </view>
        <view id="raport">
          <page>/fragments/raport.jsff</page>
        </view>
        <router id="router1">
          <case>
            <expression>#{pageFlowScope.Flow == 'A'}</expression>
            <outcome id="__18">asortView</outcome>
          </case>
          <case>
            <expression>#{pageFlowScope.Flow == 'R'}</expression>
            <outcome id="__23">raportView</outcome>
          </case>
          <default-outcome>raportView</default-outcome>
        </router>
        <control-flow-rule id="__2">
          <from-activity-id id="__3">asort</from-activity-id>
          <control-flow-case id="__4">
            <from-outcome id="__6">viewRaport</from-outcome>
            <to-activity-id id="__5">raport</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__7">
          <from-activity-id id="__8">raport</from-activity-id>
          <control-flow-case id="__10">
            <from-outcome id="__11">viewAsort</from-outcome>
            <to-activity-id id="__9">asort</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__14">
          <from-activity-id id="__15">router1</from-activity-id>
          <control-flow-case id="__17">
            <from-outcome id="__19">asortView</from-outcome>
            <to-activity-id id="__16">asort</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__20">
            <from-outcome id="__22">raportView</from-outcome>
            <to-activity-id id="__21">raport</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>In main.jspx page, after I dropped the task flow as region, I left the parametersMap blank and I set the value to the parameter Flow as #{pageFlowScope.Flow}. Am I doing it right ? I have to missed something becuase it doesn't work.
    I also read ADF Handbook and some blogs to get know how to pass parameters into bounded task flow, but I couldn't solve my problem.
    Regards,
    Wojtek.

  • Global Template Button without any code on the page, only in the template

    I have a template with 2 facets
         Main
         SubMenu
    I would like to have some global Button on my template like Insert, save, delete, next and prev. And only have the code in the template.
    So others just can use the template without thinking on added code to the page, to make the template work.
    I have found some tutorials but there you have to create a managed bean on the page that uses the template.
    What i would like it to make a piece of Java code in the bean on the template that do
    something like this:
    Look in Facet("Main) for form, find the last focus table
         then do the action "Insert,save,delete,next and prev" on table
    I guess i need to run thru all the children of the Facet and look for a specific type
    and somehow run the action for this child.
    I don't wanna have to do any coding on the page, that uses the template only the template.

    Hi,
    have a look at http://thepeninsulasedge.com/frank_nimphius/2007/11/23/adf-faces-rc-implementation-strategies-for-global-buttons-in-page-templates/
    Maybe this is what you are after
    Frank

  • Columns in Dreamweaver CS3 Template Pages Not Displaying Correctly in IE8

    I have a site that has most pages created with a template page that displays three columns below the navbar (counting a small column to the left for the logo at the top the table has four columns).  The home page (index.html - not from the template) displays the same colums as the template pages correctly, but all the pages created with the template show the first column as way to wide and the next two columns as far too narrow.
    I have trawled the internet to find a solution, but as my knowledge of HTML is limited it is proving near impossible for me to even find a relevant forum topic, let alone a workable solution.  All I want is for the template pages with three visible columns below the navbar to display the same widths as those in index.html.
    I am working on a mac and the pages all preview fine in Safari, Firefox etc, but not in IE8 on Windows 7 machines.
    I have tried rather indelicately to shove various bits of code in to fix the width of the columns and render such commands as table-layout=fixed etc, but with absolutely no effect.
    The site is: www.southoverfoods.com
    If anyone can help I will be grateful.

    You do want to fix these errors -
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.southoverfoods.com%2Fabout.html&charset =%28detect+automatically%29&doctype=Inline&group=0
    Most are straightforward.
    If you view the page in IE9, and click on the compatibility icon, the rendering looks right.  Unfortunately, I cannot force that rendering with any of the accepted meta tag usages!
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    So I'm a little puzzled what to do....

  • 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
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • I dw file.dwt files may insert server side code supposed all pages depended are in the same code eg

    I dw file.dwt (exact like this ext) files may insert server side code supposed all pages depended are in the same code eg cfml?

    I'm sorry, but your English is pretty difficult for me to figure.  I'm assuming your asking how to have a Dreameraver template support ColdFusion. It hat is what you are asking, the template file extension should be:  YourTemplateName.dwt.cfm  - this tells Dreamweaver is a ColdFusion template.
    I hope I understood you and that this helps.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion, and ASP
    Stay updated - http://blog.cartweaver.com

  • View source code of the page executed in browser...

    Hi,
    Request you to help me to view the source code of the page executed in browser using a Query/ Web Template. We can view the HTML code when we go to
    Page--> View source code.
    But i want to see the Java code behind the web page.
    Regards,
    Koundinya K

    You can use tools like JD-GUI and the see the code. If you want to customize a cartirdge, you can always extend the class and add your stuff to the contentItem.
    Thanks

  • Problem with writing code from template based file

    Hey there! Thanks for taking a look at this:
    I have a page that I created New> From template.
    I'm in Split view and I'm manually going in and placing my cursor where I want to add some content. Ive tried writing a <br> tage and inserting a Div.
    I'm inserting this code right before the closing <div> tag that my editable region ends, its clearly in the right spot, within my editable region in the template, but I'm getting an error from dreamweaver that says it's not. This seems to only be happening when I edit the code directly. If I insert code through the menu's in design view I don't get this message.
    I'm using CS5 on a Mac
    What do I Do?

    > making this change would require changing code that is locked by a template
    > or a translator. The change will be discarded
    This 'generic' error message happens as follows -
    1.  You open a page that is controlled by a Template
    2.  You make a change to that page, forcing the template engine to run through the page looking for things to potentially change (this is normal)
    3.  While doing this scan, the Template engine finds an unspecified number of coding errors and attempts to fix them
    4.  If it tries to fix an error that is a) in a non-editable region of the page, or b) in a Library item, it cannot do so, and throws the error
    So - the first questions are these:
    1.  Does the template validate when you go here - http://validator.w3.org - and paste the code from the page into the Direct Input tab?
    2.  Do the Library items contain <html>, <head>, or <body> tags?
    If the answer to either of those is "yes" then we will have to see the page and the code to guide you further.

  • CS3 loses css formatting in design view for non-templated pages

    We recently upgraded to CS3. All of the pages on our site are
    templated except the home page. The home page, when viewed in
    design view in Dreamweaver, looks as if the css styles are missing.
    Sometimes refreshing the view causes some of them to appear, but
    not all. This didn't happen in the old version. And it's not
    happening (so far) on our templated pages. Any ideas?

    DW6x was not the sharpest knife in the drawer and would
    tolerate lots of
    things that DWCS3 will not.
    I suggest you do the following -
    * Change your doctype from this one (inserted by DMX6x, and
    broken) -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    to this one (valid and complete - the way DMX6x *should* have
    done it) -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    Now your page will render in Standards mode, and not quirks
    mode (a very bad
    thing).
    * Change this (in your stylesheet) -
    vertical-align: top;
    end FedFAQ
    /* ********************** COLLAPSE/EXPAND MENUS
    to this -
    vertical-align: top;
    /* end FedFAQ */
    /* ********************** COLLAPSE/EXPAND MENUS
    I am sure that by doing this you will see a remarkable change
    in your
    page....
    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
    ==================
    "abna" <[email protected]> wrote in message
    news:f9fopl$it9$[email protected]..
    >
    http://dallasfed.org/index.cfm
    >
    > (tried to attach the code in the message, but kept
    getting error messages
    > from this site)

  • I can't modify the title in my template pages?

    Hi
    I'm developing a site from a template and have most of the site built.  I did have some issues with the template and errors earlier on in the process when I was working when I should have been sleeping, I think I erased the 'doctile' in the head of the template.  The template still updates the child pages, but now I've discovered I can't change the title on the template pages and I think I've made a real mess out of the template.  Can you pleae have a look and possible let me know where I go from here to resolve this issue.
    Thanks..

    Copy and Paste this code into a new, blank, HTML document.  Save As a new template in your Templates folder.  Test it first.  If it works as it should, save it over your old design_template.dwt.
    <!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=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>feelright</title>
    <!-- TemplateEndEditable -->
    <link href="../css2/feelright2.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    </head>
    <body>
    <div id="container">
    <div id="header">
    <img src="../images/feelright2_HeaderBanner.jpg" alt="feelright top banner" width="700" height="125" />
    <!-- end #header --></div>
    <div id="navcontainer">
    <ul>
    <li><a href="../feelright2_index.html">Home</a></li>
    <li><a href="../feelright2_bio.html">Bio</a></li>
    <li><a href="../feelright2_MEDITATION.html">Meditation</a></li>
    <li><a href="../feelright2_specials.html">Specials</a></li>
    <li><a href="../feelright2_gifts.html">Gifts</a></li>
    <li><a href="../feelright2_products.html">Products</a></li>
    <li><a href="../feelright2_services.html">Services</a></li>
    <li><a href="../feelright2_contact.html">Contact</a></li>
    <li><a href="../feelright2_faq.html">FAQ</a></li>
    </ul>
    <!--end navcontainer --></div>
    <div id="sidebar1">
    <h3>Auricular Acupuncture!</h3>
    <p>Reduces the physical symptoms of withdrawal, relieves depression, anxiety and insomnia. Patients learn to 'let go' of tension and preoccupations. The calm stability in the acupuncture setting creates a relatively timeless process. There is much less pressure to improve according to guilt-related standards......<br />
    <a href="../feelright2_auricular.html">read more</a></p>
    <p><img src="../images/feelright2_littleSTONeman.jpg" alt="#" width="200" height="150" /></p>
    <h3>Meditation!</h3>
    <p>There are many different forms of meditation that can help a  person to achieve different goals.Meditation is an activity that is responsible for channeling a person's.....<br />
    <a href="../feelright2_MEDITATION.html">read more</a></p>
    <p><img src="../images/200px_sunrise.jpg" alt="#" width="200" height="136" /></p>
    <h3>Testimonials!</h3>
    <p>We learn from our experiences. Read what other clients have to say....<br />
    <a href="../feelright2_testimonials.html">read more</a></p>
    <!-- end #sidebar1 --></div>
    <div id="mainContent">
    <!-- TemplateBeginEditable name="EditRegion1" -->
    <h1>title</h1>
    <p>Page content goes here</p>
    <!-- TemplateEndEditable -->
    <!--end #mainContent --> </div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
    <br class="clearfloat" />
    <div id="footer">
    <p>Copyright &copy; feelright.ca 2009-2010</p>
    <!-- end #footer --> </div>
    <!-- end #container --></div>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Oracle CODE Submission Web Page - MAKE IT WORK  finally ( not temporary! )

    Is it possible to finally FIX Oracle Code Submission web page. Last year ( last half ) it return errors, same this time. Is any possible way to finally FIX it without anytime alert that it is not working or broken. As far as I understand that the place were we share our code/tips/ideas, not publish our friends or something like that. I think if we use it, then at least put warning prior than we try to submit. No conversations about re-type same code ( tip used SQL, new tip - SAME but using PL/SQL function ), but at least make it work.
    Thanks/Ilya

    Thanks, Olivier. That may help me in future and shows me where I can edit some of the HTML code (though I've no experience yet of even reading HTML or Javascript, let alone editing it!).
    The web page I'm trying to edit has a URL of https://....../sap/bc/gui/sap/its/bbpstart which fits your example but the templates under service BBPSTART seem to bear no resemblance to the screen I need. The code under services BBPSC01 and BBPSC02 looks more relevant but still doesn't refer to the screen input field that I'm looking to edit.
    Doing View Source on the web-page dumps the (very lengthy) generated code. Extracted from the header of that code-dump is...
    This page was created by the SAP Integrated ITS, WebAS: SRA, workprocess: 0
    Template: bbpsc02/99/saplbbp_sc_ui_its_2000.html
    Does that point me to the actual editable source?
    (I am using SE80 in the SRA system.)
    I wrote the above on 3rd Jan but was unable to post it.
    Since then I have found template SAPLBBP_SC_UI_ITS 2000 in service BBPSC01 does bear a resemblance to the displayed page code but as a scanty framework. The generated code has vastly more lines. I can't yet see how the template becomes the web page and where all the addditional lines of code come from and are edited.

  • Dreamweaver CS5 won't let me edit previous CS4 templated pages

    I am trying to update templated pages from a website built in dreamweaver CS4.  When I try to edit
    them I am not able to select any of the text or images within the editable regions.  If I switch back
    to CS3 or CS4 they are editable again.  Any help would be much appreciated!!

    Well first thing - you do realize that you shouldn't rely on design view as a method for editing pages in Dreamweaver? Unfortunately Design View has never been 100% accurate or reliable. It's best to work in split view or directly in code view and test things within a browser or Live View.
    So what I'm saying is don't believe what Dreamweaver "shows" you in design view - it's only a gross approximation and you should only treat it as such. Switch to split view and add your content within the code view pane and then test it in a browser (or Live View) to see how it really renders.

  • Adding parameters on a template page

    Hi
    Can anyone point me to the right direction, this is what I
    want to achieve.
    I have an "email page" button on quite a few of the pages
    alongside a print button so users can print the page or email the
    page. Now the code for print (i.e. javascript:print()) is easy and
    template wise, it won't change. However the email button code will
    change depending what page they are visiting so my question is,
    inside a dreamweaver cs3 template page, how can I add a parameter
    so that the code can change when on different pages.
    Many thanks

    Just make the link root relative. Then it won't need to
    change.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Web Guru 81" <[email protected]> wrote in
    message
    news:gep2qi$6sc$[email protected]..
    > Hi
    >
    > Can anyone point me to the right direction, this is what
    I want to
    > achieve.
    >
    > I have an "email page" button on quite a few of the
    pages alongside a
    > print
    > button so users can print the page or email the page.
    Now the code for
    > print
    > (i.e. javascript:print()) is easy and template wise, it
    won't change.
    > However
    > the email button code will change depending what page
    they are visiting so
    > my
    > question is, inside a dreamweaver cs3 template page, how
    can I add a
    > parameter
    > so that the code can change when on different pages.
    >
    > Many thanks
    >

  • Flash no longer working when updating a template page

    Recently switched from GoLive over to DW CS3. I've purchased Total Training for DW CS3 to help me with the transition.
    I am wanting to create a template page to use for the entire site so that if I need to make a change to the template, it updates my entire website.  When I upload the page, the flash image loads fine. The problem I'm having is if I reopen the template.dwt page and make a change, when DW updates the pages that are linked to the template, the flash image in the pages no longer work.
    Here are my steps I've taken:
    1.  Created a page called index.html
    2.  Made an editable region called "main content" using Insert>Template Objects>Editable Region
    3.  Created a folder called templates in the root directory
    4.  File>Save as Template and called it home.html (for testing so I don't mess up my working index.html page)
    5.  File>New>Page from Template and selected my template.dwt file
    6.  Added content to the page.
    7.  File>Save As company-history.html
    8.  Upload index.html, home.html and company-info.html to the server.
    Everything works like it is supposed to.
    9. Open template.dwt and make a change.
    10. Save page and DW updates the home.html and company-info.html pages
    11. Upload to server
    12. Flash image on those two pages stop working
    Here are the links to my pages
    Index - Working properly
    Home - (made from template) Flash not working
    Company Info - Flash not working (made from template) Flash not working
    Any ideas where I'm going wrong?

    Oh, I see you did.  So in the template file, make this -
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','256','title','Main Flash Slideshow','src','../images/Main-Flash-Slideshow','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../images/Main-Flash-Slideshow' ); //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=9,0,28,0" width="900" height="256" title="Main Flash Slideshow">
          <param name="movie" value="images/Main-Flash-Slideshow.swf" />
          <param name="quality" value="high" />
          <embed src="images/Main-Flash-Slideshow.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="900" height="256"></embed>
        </object>
    Read like this -
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','900','height','256','title','Main Flash Slideshow','src','/images/Main-Flash-Slideshow','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/images/Main-Flash-Slideshow' ); //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=9,0,28,0" width="900" height="256" title="Main Flash Slideshow">
          <param name="movie" value="/images/Main-Flash-Slideshow.swf" />
          <param name="quality" value="high" />
          <embed src="/images/Main-Flash-Slideshow.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="900" height="256"></embed>
        </object>
    See if that helps.
    Message was edited by: Murray *ACP*

  • ANN: New marketplace for site templates, page layouts and menus

    Introducing SuCasa - SuCasa is the online marketplace for web
    designers by
    web designers. On SuCasa, you can get free or low-cost site
    templates, page
    layouts, CSS menus and more. You can also share your designs
    with the
    community, for free or the price you set. SuCasa is free to
    join. Publishers
    who decide to sell their work retain 90% of the sale and
    WebAssist handles
    all the processing and hosting charges. Publishers are paid
    monthly through
    their free PayPal accounts.
    Through SuCasa, designers can gain access to professionally
    designed,
    standards-compliant templates for web pages or entire sites,
    from a diverse
    community of designers. The designs of SuCasa fit a broad
    spectrum of
    workflows. You'll find templates to help get you started
    quickly on SuCasa,
    whether you're working with Dreamweaver, Expression Web, Coda
    or coding by
    hand. Many designs are easily modifiable with leading
    designer tools
    including Eric Meyer's CSS Sculptor, CSS Menu Writer and
    SiteAssist
    Professional . The WebAssist line of designs on SuCasa
    feature 100% licensed
    images, so you're free to use them with no copyright issues.
    SuCasa was built with Adobe Flex for an engaging user
    experience. Visit
    SuCasa at
    http://sucasa.webassist.com
    Best - Joe
    Joseph Lowery
    VP of Marketing, WebAssist -
    http://www.webassist.com
    Author, Dreamweaver CS3 Bible -
    http://www.idest.com/dreamweaver/

    Hi,
    We can add the following line of code in the .html file.
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    Like:
    <!--MS:<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead" runat="server">-->
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <!--CS: Ausschnitt Bearbeitungsmodusbereich starten-->
    <!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--SPM:<%@Register Tagprefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<Publishing:EditModePanel runat="server" id="editmodestyles">-->
    <!--MS:<SharePoint:CssRegistration name="&#60;% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/editmode15.css %&#62;" After="&#60;% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/pagelayouts15.css %&#62;" runat="server">-->
    <!--ME:</SharePoint:CssRegistration>-->
    <!--ME:</Publishing:EditModePanel>-->
    <!--CE: Ende Ausschnitt Bearbeitungsmodusbereich-->
    <!--ME:</asp:ContentPlaceHolder>-->
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/51fdb362-41cf-4d6d-b61e-48dd23a6ba8d/special-characters-norwegian-wovels-not-showing-correctly-in-page-layouts?forum=sharepointgeneral
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

Maybe you are looking for