Can't add spry in a template-based page

Hi,
I am working with DW CS3 and building content for a page created from a template. I made sure i clicked in editable place before inserting the spry
but DW keeps feeding back an error message asking to unlock the head tag or adding the spry directly in the template (which i dont want).
How do i unlock the head tag? How would the change affect the template? Is there a possible way around (in case it's any risky)?
Thank you

Lemme rephrase more appropriatly: Is it a safe operation to unlock the head tag in a template?
Then the last but not least question: how do i unlock the head tag.
Thanks

Similar Messages

  • Problem inserting FLV into template based page DW8

    Error when inserting an FLV into a template based page.
    The error is: "Making this change would require changing code
    that is locked by a template or translator. The change will be
    discarded."
    I thought perhaps something was wrong with my code so I
    created a new page in DW8, with one word of text. Saved the new
    page as a template with the one word of text made into an editable
    region. Created a page based on that template and attempted to
    insert a FLV file into the editable region (using Insert > Media
    > Flash Video). I still get the error message. I've attached the
    code for this page.
    I also get the error message when I go through the tutorial
    Presenting
    Video with the Flash Video Component in Dreamweaver 8. Using
    the files provided in the tutorial.
    Is the only workaround for this the one I found here?:
    http://med.stanford.edu/irt/web/references/flash_video_installation.html.
    Steps are under heading "Workaround for Locked Code insert error"
    near bottom of page.
    Any help is appreciated.
    Jen

    > Is the only workaround for this the one I found here?:
    >
    http://med.stanford.edu/irt/web/references/flash_video_installation.html.
    > Steps
    > are under heading "Workaround for Locked Code insert
    error" near bottom
    > of
    > page.
    This workaround *will* work....
    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
    ==================
    "kilmeny21" <[email protected]> wrote in
    message
    news:[email protected]...
    > Error when inserting an FLV into a template based page.
    >
    > The error is: "Making this change would require changing
    code that is
    > locked
    > by a template or translator. The change will be
    discarded."
    >
    > I thought perhaps something was wrong with my code so I
    created a new page
    > in
    > DW8, with one word of text. Saved the new page as a
    template with the one
    > word
    > of text made into an editable region. Created a page
    based on that
    > template and
    > attempted to insert a FLV file into the editable region
    (using Insert >
    > Media >
    > Flash Video). I still get the error message. I've
    attached the code for
    > this
    > page.
    >
    > I also get the error message when I go through the
    tutorial
    >
    http://www.adobe.com/devnet/flash/articles/flv_tutorial.html.
    Using the
    > files
    > provided in the tutorial.
    >
    > Is the only workaround for this the one I found here?:
    >
    http://med.stanford.edu/irt/web/references/flash_video_installation.html.
    > Steps
    > are under heading "Workaround for Locked Code insert
    error" near bottom
    > of
    > page.
    >
    > Any help is appreciated.
    > Jen
    >
    >
    >
    > <!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=iso-8859-1" />
    > <!-- InstanceBeginEditable name="doctitle" -->
    > <title>Untitled Document</title>
    > <!-- InstanceEndEditable -->
    > <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable -->
    > </head>
    >
    > <body>
    > <!-- InstanceBeginEditable name="temp"
    -->Text<!-- InstanceEndEditable -->
    > </body>
    > <!-- InstanceEnd --></html>
    >

  • #PAGE.CUSTOMIZEPAGE# substitution tag problem on template based pages

    I've created an Unstructured UI template that includes the #PAGE.CUSTOMIZEPAGE# substitution tag.
    It works fine on a normal page, but it doesn't render the 'Customize' link if the page is based on a template. I know that I am authorized to customize the page, because a Portal Smart Link on the same page allows me to do just that. Does anybody know whether there are any issues with this substitution tag on template based pages? (I've used the #PAGE.EDITPAGE# tag in the same Unstructured UI Template with no problems on either normal, or template based pages.)
    Oracle Portal Version 10.1.2.0.2.
    I started this thread on the Portal - General forum, but now realise it's more relevant here.
    Original thread: Customize Page link not rendered on template-based sub page.
    Thanks
    Matthew

    Just a guess, but it seems that the site uses server side includes (the shtml extension and there is a ssi include in your template). You will probably need a testserver running (like XAMPP) on your local system to preview this in a browser.
    Grtz

  • Can not create template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Can not build a template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • How can I insert a widget slideshow into a template-based page in Dreamweaver

    HI, I Have a question that has been nagging me for the last three hours.
    I have been trying to insert a slideshow into a template based document using the insert widget function in Dreamweaver CS 5.5.  The problem is that I contine to get the error that
        "This widget requires code that must be inserted into the head of the current document.  Insertion cannot happen because the head of this document is read only."
    I have tried to edit the template file in order to make the head tag into an editable region.  I have tried to resolve the problem by eliminating the
    <!-- #BeginEditable "doctitle" --> function call and instead using the <!-- InstanceBeginEditable name="head" -->
    function, but all that does is grey out all the code on the page following the this function call.  The other side effect of using this method is that the child documents do not even have a header anymore.
    I do not know if this is just a lack of understanding how this works, or if there is a bug in Dreamweaver.
    Any help in this subject wold be appreciated. 
    The original HTML for the template in question is below.
    Header 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <html>
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Priental Solar, Solar, Photovoltaik, PV Anlagen</title>
    <!-- #EndEditable -->
    <META NAME="Title" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <META NAME="Author" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Publisher" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Copyright" CONTENT="printEFFECTS  GbR 2011">
    <META NAME="Revisit" CONTENT="After 14 days">
    <META NAME="Keywords" CONTENT="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <meta name="abstract" content="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <META NAME="Description" CONTENT="Hier können Sie kostenlos ein Angebot für eine PV Anlage (Photovoltaikanlage) anfordern. Priental Solar ist Ihr Partner für Planung und Installation von Photovoltaikanlagen">
    <META NAME="Abstract" CONTENT="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <meta name="classification" content="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="audience" CONTENT=" Alle ">
    <META NAME="Robots" CONTENT="INDEX,FOLLOW">
    <META NAME="Language" CONTENT="Deutsch">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="../style.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div class="back">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="100%" align="center">
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="10">
              <tr>
                <td height="10"></td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="142">
              <tr>
                <td>
                  <table width="900" border="0" cellspacing="0" cellpadding="0" height="142">
                    <tr>
                      <td width="645"><a href="../index.html"><img src="../images/top-1-2_01.jpg" width="645" height="142" border="0"></a></td>
                      <td width="255" background="../images/top-1-2_02.jpg"> </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="20" bgcolor="#CCCCCC">
              <tr>
                <td bgcolor="#003366">
                  <div align="right">   <a href="../kont_schreiben.php" class="linkGrey">Kontakt</a>     <span class="linkGrey">|</span>     <a href="../anfahrt.htm" class="linkGrey">Anfahrt</a>    <span class="linkGrey">|</span>     <a href="../Impressum.htm" class="linkGrey">Impressum</a>    </div>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="3" bgcolor="#99CC33">
              <tr>
                <td bgcolor="#99CC33"> </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="450">
              <tr>
                <td valign="top">
                  <table width="900" border="0" cellspacing="0" cellpadding="3">
                    <tr>
                      <td valign="top" width="180" bgcolor="#99CCCC">
                        <table width="180" border="0" cellpadding="10">
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../index.html" class="linkmmenu2">Startseite</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Solaranlagen.htm" class="linkmmenu2">Solaranlagen</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../BHKW.htm" class="linkmmenu2">BHKW</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../heimkraftwerk.htm" class="linkGrey"><span class="linkmmenu2">Priental Heimkraftwerk</span></a></div>
                            </td>
                          </tr>
                           <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../FAQ.html" class="linkGrey"><span class="linkmmenu2">Heimkraftwerk FAQ</span></a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Brandsicherung.htm" class="linkmmenu2">Brandsicherung</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Solar-Lexikon.htm" class="linkmmenu2">Solarlexikon</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Team.htm" class="linkmmenu2">&Uuml;ber
                                uns / Team</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../1_Referenzen4_70KwP.htm" class="linkmmenu2">Referenzen</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../newsletter_anm.php" class="linkmmenu2">Anmeldung News</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../pdf/empfehlung_heimkraftwerk.pdf" target="_new" class="linkmmenu2">Empfehlungen</a></div>
                            </td>
                          </tr>
                        </table>
                      </td>
                      <td width="20" bgcolor="#99CCCC"> </td>
                      <td valign="top" width="660" align="left" bgcolor="#FFFFFF">
                        <table width="660" border="0" cellspacing="8" cellpadding="0" height="450" bordercolor="#999933" bgcolor="#F0F8FB" align="left">
                          <tr>
                            <td align="left"><!-- #BeginEditable "content" -->{content}<!-- #EndEditable --></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="25" bgcolor="#003366">
              <tr>
                <td height="10" align="left">     <span class="txtBottomSm">BERATUNG
                  | PLANUNG | KOMPLETTSERVICE</span></td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="60" bgcolor="99CC33">
              <tr>
                <td height="10">
                  <table width="860" border="0" cellspacing="0" cellpadding="20">
                    <tr>
                      <td align="left"><!-- #BeginEditable "bottom" -->{bottom}<!-- #EndEditable --></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </div>
    </body>
    </html>

    Thanks for the response.
    Unfortunately, I have tried it, but continue to recieve the same error message.  I have double checked the syntax and positioning of the editable regions, and they match yours completely.  In the child page everything is editable.  Do you have any other suggestions for this perplexing problem?  Thanks
    Here is the syntax of the header tag from the child page showing all of the editable regions:
    Header 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <html><!-- #BeginTemplate "/Templates/comp.dwt" --><!-- DW6 -->
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Priental Solar, Solar, Photovoltaik, PV Anlagen</title>
    <!-- #EndEditable -->
    <!-- #BeginEditable "meta" -->
    <META NAME="Title" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <META NAME="Author" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Publisher" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Copyright" CONTENT="printEFFECTS  GbR 2011">
    <META NAME="Revisit" CONTENT="After 14 days">
    <META NAME="Keywords" CONTENT="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <meta name="abstract" content="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <META NAME="Description" CONTENT="Hier können Sie kostenlos ein Angebot für eine PV Anlage (Photovoltaikanlage) anfordern. Priental Solar ist Ihr Partner für Planung und Installation von Photovoltaikanlagen">
    <META NAME="Abstract" CONTENT="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <meta name="classification" content="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="audience" CONTENT=" Alle ">
    <META NAME="Robots" CONTENT="INDEX,FOLLOW">
    <META NAME="Language" CONTENT="Deutsch">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <!-- #EndEditable -->
    <!-- #BeginEditable "head" -->
    <link rel="stylesheet" href="style.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <!-- #EndEditable -->
    </head>

  • How can i add filename on a document in pages 5.1 ?

    I am allways using a template to make documents, that I save under different names. How can I add the (changed) filename in the footer of a saved document ?
    It is important to me to print the filename on document, to find and edit it on my mac later.
    In MS Word it is easy to automaticaly add filenames, path, author and other filedata to the document. I can't find how to do that automatically in Pages templates.
    I saw earlyer answers to this question on this community, but they don't work as I expect, or only on earlier versions of pages.....  I trust there is an easy way to do this.
    Can someone help me please ?

    That function, present in "Pages 09" (i.e. Pages 4.3) , was not included in Pages 5.0-5.1.  (Nor were nearly 100 other such features, from mail merge and bookmarks to non-contiguous text selection, 2-up page viewing and the ability to set alternating left/right margins, headers & footers.Version 5.1 is also notably buggy. One work around, or partial work around, is to click the file name at the top of the window document. You can then select the filename, copy it  and paste it whereever you like. As far as I can see, however, there is no way to include the path: all you get is the filename and extension.

  • Can I add a form to my website page?

    I'd like to add the contact us form to my personal website. Is there a way to generate the html code to add to Dreamweaver? And can I add some type of security feature?

    Yes, you can embed a form into your web site and this document talks about how to embed a form: Why is my embedded form not displaying correctly?.

  • How can I add javascript text fields to Acrobat pages from Applescript please?

    I have a real need to add text fields to Acrobat document pages from Applescript. I can't access the Headers and Footers from Applescript in Acrobat XI. I can set watermarks using the following script, but cannot for the life of me work out how to add text fields. Any advice please?
    Regards
    set TempAttachmentName to "(20140717121212Z)"
    set PreserveFileName to "This is a test"
    set bypass to false
    tell application "Adobe Acrobat Pro"
      activate
      set CountOfPages to count of pages
      repeat with PageCounter from 1 to CountOfPages
      tell application "System Events" to tell process "AdobeAcrobat"
      try
      click menu item "Page..." of menu 1 of menu item "Go To" of menu 1 of menu bar item "View" of menu bar 1
      tell current application to delay 0.1
      keystroke PageCounter as text
      tell current application to delay 0.1
      keystroke return
      if not bypass then
      my ADDHeaderFooter(TempAttachmentName, PreserveFileName & " " & CountOfPages, PageCounter)
      end if
      end try
      end tell
      end repeat
    end tell
    on ADDHeaderFooter(The_String1, The_String2, currentPage)
      tell application "Adobe Acrobat Pro"
      activate
      set myDocument to document 1
      tell myDocument
      tell page currentPage
      set cbox to crop box
      set item 2 of cbox to (item 2 of cbox) + 44
      set item 4 of cbox to (item 4 of cbox) - 44
      set media box to cbox
      set crop box to cbox
      set theResult1 to my Add_WaterMarkText(The_String1, "IDAutomationHC39M", 12, 1, 1, 1, 0, 3, 10, 3, 0)
      do script theResult1
      set theResult2 to my Add_WaterMarkText(The_String2, "Times", 16, 1, 1, 1, 0, 4, 10, -6, 0)
      do script theResult2
      end tell
      end tell
      end tell
    end ADDHeaderFooter
    on Add_WaterMarkText(cText, cFont, nFontSize, nS, nE, nTA, nHA, nVA, nHV, nVV, nR)
      set Params to "cText: '" & cText & "'," & return
      set Params to Params & "cFont: '" & cFont & "'," & return
      set Params to Params & "nFontSize: '" & nFontSize & "'," & return
      if class of nS is integer then set Params to Params & "nStart: " & (nS - 1) & "," & return
      if class of nE is integer then set Params to Params & "nEnd: " & (nE - 1) & "," & return
      -- 0 = left, 1 = centre, 2 = right
      if class of nHA is integer then set Params to Params & "nHorizAlign: " & nHA & "," & return
      -- 3 = top, 4 = bottom
      if class of nVA is integer then set Params to Params & "nVertAlign: " & nVA & "," & return
      -- offset in points
      if class of nHV is integer then set Params to Params & "nHorizValue: " & nHV & "," & return
      -- offset in points
      if class of nVV is integer then set Params to Params & "nVertValue: " & nVV & "," & return
      if class of nR is integer then set Params to Params & "nRotation: " & nR & "," & return
      set javascript to "this.addWatermarkFromText({" & Params & "});"
      return javascript
    end Add_WaterMarkText

    G'day
    Unfortunately I don't have the API. My Adobe Reader installation updating to version XI failed, and subsequent attempts to fall back on the X version are blocked by the partial install of XI. Damn Adobe stuff.
    Could someone please post the relevant part of the API to give me some pointers, please.
    I ha mucked about with some information I found on the Web, and come up with the following, which fails because I can't work out how to address the current document with the variable myDoc.
    Regards, Brian
    set Params to Params & "var myDoc = this;" & return
    set TempAttachmentName to "(20140717121212Z)"
    set PreserveFileName to "This is a test"
    set bypass to false
    tell application "Adobe Acrobat Pro"
      activate
      set CountOfPages to count of pages
      repeat with PageCounter from 1 to 1 # CountOfPages
      tell application "System Events" to tell process "AdobeAcrobat"
      try
      click menu item "Page..." of menu 1 of menu item "Go To" of menu 1 of menu bar item "View" of menu bar 1
      tell current application to delay 0.1
      keystroke PageCounter as text
      tell current application to delay 0.1
      keystroke return
      if not bypass then
      my ADDHeaderFooter(TempAttachmentName, PreserveFileName & " " & CountOfPages, PageCounter)
      end if
      end try
      end tell
      end repeat
    end tell
    on ADDHeaderFooter(The_String1, The_String2, currentPage)
      tell application "Adobe Acrobat Pro"
      activate
      set myDoc to document 1
      tell myDoc
      tell page currentPage
      set cbox to crop box
      set item 2 of cbox to (item 2 of cbox) + 44
      set item 4 of cbox to (item 4 of cbox) - 44
      set media box to cbox
      set crop box to cbox
      set theResult1 to my Add_WaterMarkText(The_String1, "IDAutomationHC39M", 12, 1, 1, 1, 0, 3, 10, 3, 0, myDoc)
      do script theResult1
      set theResult2 to my Add_WaterMarkText(The_String2, "Times", 16, 1, 1, 1, 0, 4, 10, -6, 0, myDoc)
      do script theResult2
      end tell
      end tell
      end tell
    end ADDHeaderFooter
    on Add_WaterMarkText(cText, cFont, nFontSize, nS, nE, nTA, nHA, nVA, nHV, nVV, nR, myDoc2)
      #set Params to "var myDoc = app.newDoc();" & return
      set Params to ""
      set Params to Params & "var myDoc = this;" & return
      set Params to Params & "var inch = 72;" & return
      set Params to Params & "var Bbox = this.getPageBox(" & "\"Crop\"" & ");" & return
      set Params to Params & "var f = myDoc.addField(" & "\"Text1\"" & ", " & "\"" & cText & "\"" & ", 0, [72, Bbox[1]-inch, Bbox[2]-2*inch, Bbox[1]-2*inch ] );" & return
      set Params to Params & "f.strokecolor = color.black;" & return
      set Params to Params & "f.richText = true;" & return
      set javascript to Params
      return javascript
    end Add_WaterMarkText

  • Can't make comments editable on template child pages

    Is there a way to make comments editable on template child pages. When making editable regions, comments are not included. I need to make comments editable on child pages. How do I do this.
    Thank you,
    Jim

    Open your Template.dwt file.  Add an editable region around your comments section.
    <!-- TemplateBeginEditable name="comments" -->
    <p>Comments go inside here...</p>
    <p>Comments go inside here...</p>
    <!-- TemplateEndEditable -->
    Save your template.  Allow DW to update your child pages.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Can I add Live Chat funtionality to iWeb page?

    Hey Guys
    I've done a bit of googling and everything I find doesn't work anymore; can I add a live chat funtionality to my iWeb website?
    Something like this http://www.designimportance.com/ in teh top right corner.
    Thanks
    Angela

    See this topic :
    https://discussions.apple.com/message/19253704

  • How can I modify a custom, existing template in Pages '09?

    I've created a template in Pages '09 that I'm able to use under My Templates. However, there is does not seem to be a way to modify it--I've tried getting to the file directly and then open, but Pages '09 creates a new file.
    Is there a way to modify the template AFTER it has been created, or should I just open the file that is created, and then re-save as a template?

    JEstrada wrote:
    Roger, Peter,
    Thx for the response. It is somewhat unusual but if that's the way it is...
    What is unusual ?
    When we open a template, we don't get a template but a standard document.
    The only official way to keep the changes in a template is to save the modified document as a template.
    The unofficial one is to save it as a standard document then change its extension name. xxx.pages renamed xxx.template will be a neat template.
    Yvan KOENIG (from FRANCE lundi 20 avril 2009 19:09:44)

  • Can't add spry widget to page created from dreamweaver template

    Please help! I have created a template in Dreamweaver and
    from that template I have created an html page. I want to add
    different tabbed and/or accordion spry widgets to multiple pages
    however I keep getting an error when I try to add a widget to an
    editable region. I can add the widgets to the dwt file, but I do
    not want the same widget on all pages created from that template.
    Please advise!
    Thanks
    cycleguy

    If that's all that's on the child page you are in trouble.
    Anyhow, it appears to me that the template has not been
    properly created
    since I do not also see an editable region around the
    <title> tag in your
    code. Please read my previous post and follow the
    instructions.
    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
    ==================
    "cycleguy" <[email protected]> wrote in
    message
    news:fu01pk$s7k$[email protected]..
    > Thank you for your reply.
    > I started with one of the built-in templates offered in
    Dreamweaver then
    > added
    > additional div's and formatting then saved it as a dwt
    file and created my
    > html
    > page from that template. I did not start the page from
    scratch. Below is
    > my
    > source code from the child page.
    >
    > <!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/DankaConnectionPortalTemplate.dwt"
    > codeOutsideHTMLIsLocked="false" -->
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > <!--
    > body {
    >

  • Can I add specific text to Template via pop up text box on opening file?

    In most word processors it is possible to create a template that asks you for specific text when you open it, so that you can have the letter three quarters written within the template, and only need to replace names, addresses, date and so on.
    In Lotus WordPro for instance, before I even see the file, I have to fill in a dialogue box with the persons name, the subject of the letter, and four or five specifics unique to them. The WP then adds this info into the letter, and all I need do is to occasionally write a further full paragraph.
    How do I do this in Pages? I can't seem to find anyway to do it at all. I have a suspicion I might need Apple Script, but I'm not sure how I can do that. I have a book of how to code, but I don't know where to store the macro, nor to write it yet - the book's just there if I need it.
    I want to open the file, and then be asked one item at a time for the personalised answers to questions that occur in every report/letter.
    Any ideas?
    TIA
    Mac

    Thanks for your suggestions, Magnus, you really have had a good think for me - I appreciate that!
    What I am doing is report writing in which 90% of the report is the same for everyone. Except the cover page with Name and Address details, and Report title; the initial section which is the same for everyone except for specifics such as amount to invest, reason for investment, term to invest over, things like that.
    The end of the report is the recommendations section which is where I use freetext to create a bespoke solution - this cannot be automated.
    Just automating the cover page and the intro section save me huge amounts of time which I can then use on research and fund analysis, leaving the principles of investment section pretty much the same for everyone, as here I'm describing the principle and theory.
    After I created this Report Template my average report creation time went down from about 3 to 4 hours, to about 45 minutes. I guess the automation itself doesn't save as much time as the templating does, but it allows me to concentrate on the important bit and not worry if I have left something out - or in - that changes the overall thrust of the report.
    I cannot load Lotus WorpPro on Parallels, nor on Virtual PC, so the lack of automation really is a pain here. I see it as a weakness of Apple products for business, as I am sure Microsoft do which is why they have dropped VBA support for Office 2008.
    I have got NeoOffice as well as OpenOffice for Mac on my system, but really they aren't atable enough to use, and the formatting is pretty flaky. It certainly isn't completely consistent with Office itself.
    So, I am left with the conclusion that progress only means a reduction in features!
    But maybe I'm missing something?
    Mac

  • How can I add text to a field based on XML tagging?

    I'm fairly new to using XML in InDesign layouts, and I'm currently facing an issue getting a bunch of content from database records formatted in a print document (text that flows over dozens of pages). I've figured out how to create an InDesign template, but I need to be able to add text between some of the XML elements in two different scenarios:
    1. Add text or line breaks before or after an XML element that always appears in the document. For example: Adding "Description:" before the XML-tagged description content, or adding a return after the last element in a list.
    2. Add text before or after an XML element only if it appears in the document. For example: If there's a second phone number, tagged "Phone2" in the XML, then I want " or " to appear before it in the layout. Otherwise there's just one phone number and it continues on to the next piece of content.
    I have tried inserting this text into the InDesign template, but keeping them means having to also keep parts of the template that aren't used on every import--so I have a bunch of "or Phone2" bits of text to find and replace afterward. That's OK, but I'd like a more elegant solution that doesn't leave potential mistakes in my layout.
    In my preliminary research so far, it looks like an XSLT or scripting might be able to handle this, but I don't know where to start. Can someone tell me if what I'm looking for is possible and suggest the best way to do it? I'm going to have to trial-and-error a solution for this myself.
    I am using ID CS6 on a Mac. Thanks in advance for your help.

    Thanks for your reply. The line that you mention is added at the top of the message, and includes the original sender's email. I would like my name to appear, next to each line I add in the text of the original mail.
    For example:
    Assuming my name is Joe Smith, what I would like to have as the final reply is described below.
    The lines that start with "[Joe Smith]" are my replies, to the original items in the original mail.
    On 21 Feb 2013, at 09:03, Jon Doe wrote:
    We need an effort estimation for thenew feature
    [Joe Smith] It will be about 2 days
    and additional resources needed
    [Joe Smith] 2 new icons

Maybe you are looking for

  • Delivery Notes keep getting generated

    Hi All I have a really challenging issue... I have a number of Purchase Orders that were set up in 1999 and have been invoiced and Goods receipted. For some reason delivery notes keep getting generated for these PO's - one last night dated 19/05/2010

  • Word Wrap in ipad email

    My email consistently is seen by my recipients in a long line, without word wrap.  How can I change  this?  I'm using Yahoo, but it doesn't happen with any other mail client beyond my ipad.

  • Memory leak in NSUserDefaults

    Hi, I have a iphone photography App. In my app, user may open many images. Each time user opens a new image, I will save the image to NSUserDefault so that next time user starts my app, the last image will be loaded. Here is my code, (I call this met

  • Access Bidder Tab Details when PUBLISH button is clicked

    Hi All, I've few requirements to enhance the functionality of PUBLISH button in Rfx Creation. One fo them is to trigger notification mails to all bidders when RFx is re-PUBLISHed by clicking PUBLISH button. I need to fetch all the bidder list from Bi

  • What happened to iTunes on my Mac?

    I just updated my MacBook Air to OSX Maveric and to my surprise I see that I cannot sync my contact with my iPhone anymore. Apple wants to force me to use iCloud. Well NO WAY EVER I will do that! So Apple did just give me the perfect excuse to ditch