Inserting javascript into template

What I would like to do is have the same slideshow play on the right sidebar on all the pages of the website.  This is Javascript.  The engine and data folders are already on the server.
www.wranglergirl.net
The directions say to upon publishing the slideshow, to take the html generated code and enter it in the Head and Body tags (where I want it displayed, which is the sidebar) respectively.  Now, I opened the .dwt file and removed the existing content from the sidebar, but after saving, the html pages still had the content there - I since removed it from each page, but don't want to keep doing that.
However, The Missing Manual says to.. Insert, HTML, Script Objects, Script.  Is doing that at the insertion point on the template correct?  Do I still have to enter the HTML code from the slideshow software?  Confused!
This is a free template I got from Adobe.
Amy

It does.  Editable regions are created for child pages.  If you create an editable region and insert content into it, when you create a new child page, the content will be there.  If you edit the content in the template that is in the editable region, the changes will not be made to the existing child pages.
So if you have a template, with an editable region, and you insert content into that editable region, any child pages that were previously made will not have this new contest inserted into them.
Gary

Similar Messages

  • Why does RoboHelp 8.0.2 randomly insert javascript into all WebHelp topics?

    RH can randomly insert javascript into your project (can be in the <head> tag or <body> tag in all topics in the project) which evidences itself with red boxes in the editing pane, and duplicate breadcrumb links in the WebHelp output. Even if you clear the Add Breadcrumbs Links checkbox while setting your project's properties, you will still have some breadcrumbs in various topics (RH randomly assigns breadcrumbs to topics with no logic that I can see). After deleting all instances of the red boxes, RH inserted javascript again in the next compile.
    When you click the HTML tab you will see something similar to the following (the javascript has been highlighted):
    I was able to recover to a previous version (without RH's random destruction) b/c I used SVN, but I now have zero confidence in RH's stability. I definitely did not insert the above javascript into my project. I kept the default setting for the compiled help to go to the subfolder of the help system (i.e., !SSL!, WebHelp). Does anyone know why this happened?

    I'm not sure if this is the same issue, but it sounds close enough that I'd like to post it here...
    Issue
    I was either getting topic breadcrumbs in all of my topics (when they shouldn't have been), or getting "double" breadcrumbs (one stacked on top of the other) when I only should have had one breadcrumb. However, I didn't want any!
    Background
    By the time I had inherited this RH project (WebHelp), it had been worked on by at least three people over five years, using older (pre-9.0) versions of RH. I had just loaded RH ver. 9 when I took it over.
    Solution
    I noticed that there was a "breadcrumb" placeholder in the master page (xxxxx.htt) of the project. In the Single Source tab, when I right-clicked on WebHelp (Primary Output), and did not check the "Add breadcrumbs links" under the Navigation pane, I only saw one breadcrumb link in my generated output. When I checked the "Add breadcrumbs links", I saw two breadcrumb links in my generated output. When I deleted the "breadcrumb" placeholder in the master page (xxxxx.htt) of the project and did not check the "Add breadcrumbs links" under the Navigation pane in the WebHelp (Primary Output), then I finally saw no breadcrumbs in my generated output. Likewise, when the "Add breadcrumbs links" was checked, one breadcrumb was generated in the topic.
    Lessons Learned
    I suspect that either an earlier version of RH did not have this "Add breadcrumbs links" under the Navigation pane when you generated output (which mean that an earlier RH author had to use the breadcrumbs via the "placeholder" feature on the master page), or someone just didn't know how to implement the "breadcrumbs" feature correctly. In either case, I'm a little wiser from all of this!

  • Does adobe have alternatives for inserting photos into templates?

    I have just downloaded this software in the hope that I can use some template files. They are eps and elements 13 doesn't support it.
    In addition to this the only other thing that I wanted elements for was to remove backgrounds. I can't find a tutorial on that. The only one listed is for CC.
    The only use I have for the software is to insert photos into a sublimation template. Do Adobe have an alternative that can do this?

    Please review this and get back with issues that need additional clarification:
    How to import my images into templates for sublimation blanks [was: inserts]? [was: HELP]
    As for EPS files, Irfanview will open them, and then you can save them as JPEG files and open them in PSE.
    Irfanview is a terrific program, free: www.irfanview.com

  • Inserting video into templates

    I am extremely new to AE. I have CS6 and am trying to learn it on my own... but it's very complicated.
    I have a template I am working with that I want to insert video clips into. The template has jpegs that say "insert photo or video here". How do I swap the jpeg with the video clip without losing the keyframes and effects? I'm not well-versed enough to just re-do them all. I am using the templates to learn the program but to also build a few videos for the non-profit I work for.
    Another thought I had was if it was possible to copy all the attributes/effects/keyframes from one media piece to another. So if I were to add the video clip to the composition and copy the attributes from the template photo to the video clip I just added and then make the template photo invisible. But I haven't been able to figure that out. :/
    Thanks!

    Welcome to the world of After Effects! As you've noticed, it can be pretty complicated. I highly recommend that you start here. That is a set of resources specifically curated to help people new to AE get started off on the right foot.
    To your question, this page in the AE help has what you need. It says to select the layer you want to replace in the Timeline panel then Alt-drag (Windows) or Option-drag (Mac OS) your new footage item from the Project panel onto the selected layer in the Timeline panel.

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

  • Insert javascript into folio problem

    Hi,
    I've tried to add some HTML code to rectangle object in Indesign (Object/Insert HTML):
    <script type="text/javascript">
        window.location = 'http://www.google.com/';
        alert("This is  Page");
    </script>
    then trying to see the result in Content Viewer -- but neither redirection nor alert message occurs.
    Could anyone tell me should I write full HTML code (<html> <head>...) to see the result?
    Where I'm wrong?
    Thanks

    Do you have several accounts?
    See this thread, it's the same question:
    http://forum.java.sun.com/thread.jspa?threadID=5143232
    Kaj

  • How to insert Javascript into LinkToURL component

    Hi all!
    I want to start several applications inside the intranet page.
    To do that in HTML I can access applications by a Javascript code, instantiating Windows Script Shell ActiveX.
    How to do that in LinkToURL component? Is there any other ways to do that?

    Hi,
    Same issue discussed & resolved in below link..
    Re: Procedure: Display of HTML stream using LinkToURL/LinkToAction UI  Elements
    Raja T
    Message was edited by:
            Armin Reichert

  • Can I insert comments into RTF Templates?

    I'm using Oracle XML Publisher Template Builder for Word, Version 5.6 Build 45.
    The RTF template I'm working on has grown to be quite complex, and I would like to include some documentation on the template, so that other people who might pick up the work after me know what was happening.
    Is there any way to insert comments into the template, in the same way as is possible for e.g. in SQL? I tried to insert a Word Comment, but that generates errors.
    I suppose the alternative is to document logic decisions etc. in a separate document.
    Thanks

    Hi,
    You can use the following xsl tag
    <xsl:comment>This is a comment!</xsl:comment>
    Sandesh

  • How to Improve inserts into Template table for Query Processing

    Hi guys!
    I need your advice. How can i improve inserts into template table (/BI0/0P00000010 for exemple)? In my scenario i forced to load data from cube C_X to cubes C_1, C_2 and C_3.
    To get a goal i created a transformations and a DTP process with delta upload to each of cubes (C_1, C_2, C3). And that proccess takes about 3 hours! (it doesn't matter 1.000 or 100.000 records). But when i tried to load data with full update (with a filter) a proccess get data takes about 1 minutes.
    I traced process and saw that inserting into template table (which create each time when proccess started) take the longest time. How can i improve it?

    Hi Mahendar,
    It will require some efforts to investigate it so I propose to open a support ticket with Microsoft (through portal).
    Your first question interest me and I am not sure if you are doing proactive or reactive real time reporting. You can try with
    HBase for storing and retrieving data. HBase known for providing good read and write speed. If you are not comfortable writing HBase syntax then you can add an abstraction layer i.e. HIVE. It might take little more time when you
    query HBase from Hive.
    If you are doing real time analytic, then you can choose from Strom and Microsoft Azure Stream Analytic.
    Thanks and Regards,  
    Sudhir Rawat

  • Use Spry to insert data into a database?

    I'm new to Spry, so I have a question:
    Can I use Spry to insert data into a MySQL database without
    reloading the site?
    Reading data from XML file works fine, but I don't know if
    writing is possible..

    I don't get it... I tried this:
    <script type="text/javascript" src="spry/xpath.js"
    /></script>
    <script type="text/javascript" src="spry/SpryData.js"
    /></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    function subscribe() {
    var subscribe;
    var info =
    document.getElementById("subscription_info").value;
    if (document.getElementsByName("subscription")[0].checked ==
    true) {
    subscribe = "ja";
    else {
    subscribe = "nein";
    var dsSubscribe = new
    Spry.Data.XMLDataSet("include/inc_subscribe.php?subscribe="+subscribe+"&info="+info+"&sit e=<?=$_GET['site'];?>",
    "subscription/ok");
    /* ]]> */
    </script>
    <div id="infos">
    <input type="radio" name="subscription" value="ja" />
    dabei
    <input type="radio" name="subscription" value="nein"
    /> nicht dabei
    <input type='text' class='text'
    id='subscription_info_text' />
    <input type='submit' id="subscription_submit"
    value='Eintragen' onClick="subscribe()" />
    </div>
    But the data isn't inserted into the mysql database. When I
    start the php script directly, it works, so I think it's not a php
    problem.

  • Inserting text into a field at the current cursor position

    Does anyone know how to insert text into a field at the current cursor position? I would like it to work similar to the Syntax Palette in Forms. I cannot figure out how to retrieve the current cursor position in order to manipulate the text.
    Any help would be great.
    Thanks.

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • Inserting paragraphs into a report based on a certain condition

    Hi, I need some advice on the best method to insert paragraphs of text into a report.
    I have +/- 100 paragraphs which are in text format, I need to insert these into the report based on certain conditions.
    I have tried entering them into the trailer section one after the other and using conditional formatting to display them if the the condition is met. This works well but I ran out of space in the trailer section.
    I then thought of saving the paragraphs somewhere on the server as seperate txt files and inserting them into the report using file links,
    or I could put these paragraphs into a table and then insert them from there, some of these paragraphs are longer than 4000 characters,
    Please advise on the best method
    Thank you
    Michael

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • CSS Help! Inserting flash into a div has caused layout change

    Hi,
    I am trying to insert flash into a div. I'm new to CSS so I
    think I must be doing something wrong. As soon as I insert the
    flash the layout goes wrong and all divs below it are pushed down
    out of my "main" div. I've now taken the flash.swf out and inserted
    an image again, but it's still wrong. It previews fine in the
    browser though.
    Any ideas!?
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <link href="style.css" rel="stylesheet"
    type="text/css">
    </head>
    <body background="images/newwall.jpg">
    <div id="wrap">
    <div id="main">
    <div id="flash"><img src="images/flash.gif">
    </div>
    <div id="strip"><img src="images/strip.gif">
    </div>
    <div id="middle">
    <div id="news">
    <div class="newstext">NEWS....
    </div>
    </div>
    </div>
    <div id="gap"><img src="images/gap.gif">
    <div id="subnav"><img
    src="images/wallpaper.gif">
    <div id="bottom"><img src="images/bottom.gif">
    </div>
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>

    And where is the CSS?
    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
    ==================
    "Dava" <[email protected]> wrote in message
    news:ei2526$mji$[email protected]..
    > Hi,
    > I am trying to insert flash into a div. I'm new to CSS
    so I think I must
    > be
    > doing something wrong. As soon as I insert the flash the
    layout goes wrong
    > and
    > all divs below it are pushed down out of my "main" div.
    I've now taken the
    > flash.swf out and inserted an image again, but it's
    still wrong. It
    > previews
    > fine in the browser though.
    >
    > Any ideas!?
    >
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    > <html>
    > <head>
    > <title>Untitled Document</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <link href="style.css" rel="stylesheet"
    type="text/css">
    > </head>
    >
    > <body background="images/newwall.jpg">
    > <div id="wrap">
    > <div id="main">
    > <div id="flash"><img src="images/flash.gif">
    > </div>
    > <div id="strip"><img src="images/strip.gif">
    > </div>
    > <div id="middle">
    > <div id="news">
    > <div class="newstext">NEWS....
    > </div>
    > </div>
    > </div>
    >
    > <div id="gap"><img src="images/gap.gif">
    > <div id="subnav"><img
    src="images/wallpaper.gif">
    > <div id="bottom"><img
    src="images/bottom.gif">
    >
    > </div>
    > </div>
    >
    > </div>
    > </div>
    > </div>
    >
    >
    >
    > </body>
    > </html>
    >
    >

  • Autconfig error : ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")

    Good day,
    I am running EBS 11.5.10  with DB 10.2.0.4. I applied patch 7429271 following the steps in  Doc Id. 233044.1.
    After restarting the application, I got a "node id does not exist for the current application" when the forms started.
    After purging fnd nodes (exec fnd_conc_clone.setup_clean) I ran autoconfig successfully on the dbtier but got the error below in the apps tier.
    I also noticed that the contents of my dbc file has been erased and replaced with the template data (all values are default). I tried restoring it but it just got over written again with default data.
    Hope my explanation was clear enough.
    Any suggestions?
    ---error from adconfig.log-----------
    Unique constraint error (00001) is OK if key already exists
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")
    ORA-06512: at "APPS.FND_CONCURRENT", line 1504
    ORA-06512: at "APPS.FND_APP_SERVER_PKG", line 163
    ORA-06512: at line 1
    - Database error modifying the server

    Logs after autoconfig and services started - not connection attempted to the application yet.
    -----access log--------
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    ----error log--------
    [Fri Oct 25 13:28:59 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    ----error log_pls----
    [Fri Oct 25 13:29:00 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    Logs after a connection attempt to the application
    -----access log-----
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    192.168.50.80 - - [25/Oct/2013:13:34:32 -0500] "GET / HTTP/1.1" 200 2589 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /apptitle.html HTTP/1.1" 200 1015 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /applist.html HTTP/1.1" 200 1602 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appdet.html HTTP/1.1" 200 1009 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appsmed3.gif HTTP/1.1" 200 1981 0
    192.168.50.80 - - [25/Oct/2013:13:34:36 -0500] "GET /aplogon.html HTTP/1.1" 200 1953 0
    192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/US/ICXINDEX_PROD_mobay.htm HTTP/1.1" 200 417 0
    192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/AppsLocalLogin.jsp HTTP/1.1" 200 411 0
    **the error logs remain unchanged.
    Regards,
    Shridath.

  • SQLite3 and BlobsI am having trouble learning how insert blobs into SQLite

    I am having trouble learning how insert blobs into SQLite for the iphone. Is there a way to insert a blob into sqlite3 from the command line? I know it was possible with sql using
    INSERT INTO temponly(name , pic) values( 'velan',
    load_file('e:/mysql/images/Click.gif')) ;
    but I don't think load_file is supported on sqlite.
    Also, I need to insert the blobs from my iphone app. I saw a C program called eatblob.c which goes through the following just to INSERT a blob into sqlite
    1. read the jpeg image file into memory , doing appropriate malloc based on size
    2. prepare an sqlite statement with ? values
    3. bind the malloc'd memory to the ?
    4. execute an sqlite step
    etc. etc. etc....
    This is quite a bit of work just to do an INSERT ???
    The reason I'm doing this is my iphone app has a lot of tiny (20x20) images that get downloaded to the phone periodically from the server. Plus, there are a number of images that come loaded with the application. I was going to save all of these in SQLite. So, I need the command line tool to load up the initial images that come with the app, then I need code to download the images from the server and load them into the database. Of course, reading them out is necessary!
    Please help if you can!? Its late..and I'm blurry eyed from googling SQLIte3 blobs...

    Thank you for your quick reply Liam! You know, I checked the web forms list when I got that error message and the form isn't there. I was having trouble the other day when another of my forms kept getting deleted.
    Sorry if this is a stupid question (I'm a BC newbie) but I want to be sure so I can get this project finished... The proper workflow would be to create this form myself in Web Forms then insert it into the Registration - Buy template using the modules toolbox?
    Thanks to you I may get this done on time still... if my PayPal set up works

Maybe you are looking for