Apply a template to a page with A LOT of Javascript

I am trying to apply a template to this
page
for use in another website. When I do this, the javascript no
longer works. How do I work around this?
Thanks,
Melissa

* Spawn a child from the template.
* Copy content from this page and paste it into the new child
page you just
spawned until you have completed the content.
* Copy everything in the head of this page from the first
<csactions> tag
down through the </csactiondict> tag, and paste it into
the EDITABLE region
called "head" in the head of the page you just spawned.
You should be fine now.
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
==================
"Melliska" <[email protected]> wrote in
message
news:gabs1n$de4$[email protected]..
>I am trying to apply a template to this
http://mysticalartprints.com/
> for use in another website. When I do this, the
javascript no longer
> works. How do I work around this?
>
> Thanks,
> Melissa
>
>
>

Similar Messages

  • I applied a template to a page with SWFs and now that page does not play the SWFs. Why?

    I applied a template to a page with SWFs and now that page does not play the SWFs (just a blank area where the SWF should be). When I detach the template it will play the flash file. This site will eventually be updated via Adobe Contribute. And I just discovered that when applying a template to a page that uses HTML datasets (Master/Detail),it no longer reads the Master/detail regions and displays a blank. Any thoughts?
    [Moved to Dreamweaver forum by moderator]

    Firstly, you shouldn't really 'apply' a template to a page, you should create a child page by going to FILE>NEW>Page from Template.  Too many things can happen when applying a template the way you are doing it. eg:; editable and non-editable regions not matching up and being asked where to place these regions and in all likelihood, you end up with 2 or more of the same region.
    When a swf file is inserted into a page, a corresponding Scripts folder is written automatically is stored in the root of the site - it is also linked to in the head of the document. What I believe is happening is that when you apply a template to the page, the Template has no idea that there is a swf file on the page and is not aware of the correct link to the Scripts folder.  If you do a test and add the swf file to the template page itself, I bet that the links to the swf and the scripts folder are correct - because DW knows the correct path to the script file.   Hence the reason the page probably works when you detach it from a template.

  • After applying a template to a page design view is blank - I can only edit in code view.

    When I apply a template to a page everything is fine. I can see the page elements in design view and code view. I can edit the page and upload it and all is fine. However, when I save the page with a new name or close the page and then reopen the design view is empty, the code view is normal. I would like to be able to see the page in the design view and cannot. I don't know what to do. I hope someone has an idea for me. Thank you.
    I am using DW CS5 and pages are ASP.

    When you say "template" are you talking about the .dwt Template file from DW?
    If so, you may be using it incorrectly. Once you create the .dwt, all of your new pages need to be created via File > New > Create Page From Template and then saved to your site. If you are using the .dwt file and doing "Save As" to create more pages, you're going to run into all sorts of problems.
    Do you have a link we could look at?

  • When using Safari on my IPhone 4S videos in Tumblr all seem to autoplay causing the app to crash if there is a page with a lot of videos.

    This started one day out of the blue before I updated to ios 8.0.  The videos used to pull up with the "play" arrow, and you would click on it to play.  Then, one day they all seemed to all load and start playing by themselves.  If it is a page with a lot of videos, I get an error that says "a problem occured with this page so it was reloaded".  It then reloads over and over and over, then the app shuts down and goes back to the home screen.
    I never changed any settings or anything.  It just changed one day.  I updated to ios 8.1 thinking this might fix it, but it didn't.  I even did a restore, and still nothing.
    Any ideas?

    I'm pretty sure this is a new feature of their site - videos autoplay on modern browsers now.  Download the Google Chrome app and see if the issue persists. My guess is it will and there's nothing you can do. It's not an issue with your phone.
    ~Lyssa

  • Applying a New Template to a Page with Tabs

    Hi,
    We use page templates for our pages. We know that you cannot add a region to a page based on a template, but supposedly you can add tabs to a page based on a template.
    One template we have has a single tab on it. The web designers have been adding content to pages built on that template. When they need another tab, they add it and add content to the new region on the tab. They may do this until there are 4 tabs on the page (the original tab that is in the template, plus three additional tabs). We use this for example to collect links to memos and to divide the links onto 4 tabs representing calendar quarters.
    One of the problems with this process is that the web designers have not been consistent in using uniform definitions for the region on each tab causing an inconsistent look-and-feel from one tab to the next.
    I have created a new template with 4 tabs already defined and with the region properties already defined. The web designers can then add content as needed and if a tab is not required it can be marked as hidden.
    The problem that I am running into is that if I try to apply the new template to an existing page, I get the following error message:
    Error: ORA-00001: unique constraint (PORTAL.WWV_THINGS_NAME_UK) violated
    Also, consistently the content from the original first tab is lost and there is no corresponding tab on the reformatted page. Content on the second tab appears to be OK, but content on the third tab is missing. Content on the fourth tab appears to be OK.
    Can anyone tell me 1. what is specifically causing the error message, and 2. is it possible to do what I want to do or will all of these pages have to be recreated manually instead of changing the templates.?
    Thanks,
    Peter

    You should be able to do what you are trying to do. You seem to be running into a bug. Please file this with support if possible. Based on the error message, you seem to be running into a case of duplicate names, on either items or tabs. What you might try doing is renaming the tabs, ensuring uniqueness, before changing templates. By "renaming", I mean changing the NAME of the tab, not the Display Name, by clicking Edit Tab in edit mode. Does this help at all?

  • How to apply a template to a page uploaded using sftp?

    I would like to upload the .html document with the appropriate template using sftp instead of applying the template using BC's back end.

    Hi,
    You cannot apply/assign a template to a page via sftp.  You'll need to action this via back-end or using DW.  Since you prefer not doing this in the back-end DW extension would be the alternative. 
    - http://tv.adobe.com/watch/introducing-business-catalyst/getting-started-with-business-cata lyst-and-dreamweaver-cs6-creating-and-publishing-sites/
    Kind regards,
    -Sidney

  • Templates for existing pages

    If I have an index.shtml page, that has some flash, and
    dropdown menus, and on the left, a menu created in fireworks that I
    exported into DW. The middle portion is the only area that changes
    from page to page.
    I want to make a template. These are the steps I have taken:
    1. Open index.shtml
    2. Save as template
    3. Make the region in the middle "Editable"
    Then apply template to page "Index"
    Once I do this I can't edit anything, its locked?
    Where am I going wrong. s it the way I have my layout tables
    and cells.
    I can't figure it out/
    Thanks,
    Greg

    You have the wrong procedure. Never apply a template to a
    page with
    existing content (well, if you can avoid it, and it sounds
    like you can).
    Spawn the child page first, and then add your content to the
    child page.
    > 1. I cannot see my text once I apply the template to the
    text html page.
    > Shouldn't the "editable region" still be editable even
    when the template
    > is
    > applied. How can I edit the html in the future (Not the
    main template) if
    > I
    > can't see it.
    Sure editable regions should be editable. If you can't see
    your content,
    then something is wrong with your method or your code or
    both.
    > 2. The template appearance looks correct when previewed,
    but when I apply
    > the
    > template to the page, the "editable area" text or
    pictures all shifts down
    > quite a bit when previewed.
    We'd need to see the page to comment on this.
    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
    ==================
    "gtp08" <[email protected]> wrote in message
    news:fvg3q1$6v4$[email protected]..
    >I think I almost got it. I cteated the page and put in an
    editable region
    >and
    > saved as temples. I open a new html page and create my
    content, and then
    > apply
    > the template. Two things happen:
    >
    > 1. I cannot see my text once I apply the template to the
    text html page.
    > Shouldn't the "editable region" still be editable even
    when the template
    > is
    > applied. How can I edit the html in the future (Not the
    main template) if
    > I
    > can't see it.
    >
    > 2. The template appearance looks correct when previewed,
    but when I apply
    > the
    > template to the page, the "editable area" text or
    pictures all shifts down
    > quite a bit when previewed.
    >
    > Any suggestions
    >

  • InDesign CS5.5 crashes while applying Template to a page

    Hi,
    We installed Adobe InDesign CS5.5. on 10 Windows XP SP3 32-bit workstations with 2 GB RAM. On every computer, when a user tries to apply a template to a page in a .indd document, InDesign immediately shuts down without displaying any error messages. Using the Sysinternals Tools and Dr.Watson, I think that the faulty plugin might be this one: C:\Program Files\Adobe\Adobe InDesign CS5.5\Plug-Ins\Layout\PAGES PANEL.APLN.
    Here's a part of the drwtsn32.log file (the full log can be made available upon request):
    Une exception d'application s'est produite :
            App : C:\Program Files\Adobe\Adobe InDesign CS5.5\InDesign.exe (pid=2844)
            Lorsque : 2012-08-13 @ 14:32:37.017
            Numéro d'exception : c0000005 (violation d'accès)
    *----> Liste des tâches <----*
       0 System Process
       4 Error 0xD0000022
    452 Error 0xD0000022
    508 Error 0xD0000022
    532 Error 0xD0000022
    576 Error 0xD0000022
    588 Error 0xD0000022
    764 Error 0xD0000022
    *----> Suivi arrière de la pile <----*
    WARNING: Stack unwind information not available. Following frames may be wrong.
    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Adobe\Adobe InDesign CS5.5\Required\LAYOUT.RPLN -
    ChildEBP RetAddr  Args to Child             
    06606b88 0625bf00 00020002 0408010b 0a8b1984 CJKGRID+0x20b55
    0aa2915c 0aa1f130 0aa21a50 0aa1cb90 0aa1ba60 0x625bf00
    0aa1d060 8108244c 000132f9 8b157500 c985044e LAYOUT+0xf130
    8bf18b56 00000000 00000000 00000000 00000000 0x8108244c
    Has anybody ever experienced this issue ? Are there known workarounds ?
    Let me know if you need additionnal information.
    Thank you in advance !
    LR

    Hi,
    I am not sure if this is a "Master Page since we use a French version (the functionnality is  named "Gabarit" in French), so here is a printscreen which shows what our users try to do:
    Immediately after the drop is completed, InDesign shuts down without further notice as described before.
    I fully patched one machine to 7.5.3, rebooted it and it still does not work.
    I know 2 GB is a little bit short, but since this is currently a corporate standard in my customer's organization, I will need to be sure that this is the direct and only cause before any upgrade request can be made.
    Thank you for your help.

  • Apply template to html pages in dreamweaver 2004

    How do I apply a template to html pages in dreamweaver 2004?
    The template has editable regoins. Will this effect it?
    Why do I get an orphan message when I try to apply the
    template to new pages?

    You don't want to apply templates to pages. Instead use FILE
    | New > Page
    from Template > site name > template name, spawn a new
    page, and use this
    page for the content. THis is not really an issue for a brand
    new page, but
    if the page already has content when you apply the template,
    you'll see what
    I mean.
    You are being confused by a) not understanding root relative
    vs document
    relative links, and b) not understanding how DW previews
    files.
    If I have a document with a link to an image that looks like
    this -
    <img src="/images/foo.gif"...
    That's what's called a root relative link.
    If I preview that document in DW, then the browser gets the
    document, sees
    the leading "/" and reads that as the root of the hard drive,
    since the
    browser has no idea where the root of the site is. Thus, the
    image is
    broken in the preview.
    If I have temp files enabled, then DW will secretly convert
    the file being
    previewed into a temporary file, and hand that to the
    browser. This temp
    file has had all root relative links converted to document
    relative links
    (as you will see by looking at the code in the browser), and
    has had all
    include files actually embedded in the page, and has had all
    external CSS
    and js markup embedded in the page. In other words, DW has
    made the
    document into a stand-alone page.
    If you do not have temp files enabled, all of these links
    would be broken on
    preview.
    Now - if you are using root relative links, AND you have temp
    files enabled,
    AND you click away from the previewed document, then all of
    your links will
    be broken, since DW has not made that linked file into a temp
    file. This is
    what you are seeing.
    So - if you want to click away on preview, then you must use
    document
    relative links for the site -
    <img src="../images/foo.gif"... (for example)
    These will still work on preview since the browser knows how
    to determine
    the current file's location and how to follow that path.
    GEDDIT?
    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
    ==================
    "happydreamweaver" <[email protected]> wrote
    in message
    news:[email protected]...
    > How can I apply a template to new pages? I have done the
    following:
    > Apply the template to the pages as follows:1 Select File
    > Open.
    > 2 Browse to and select index.html.
    > 3 Select Modify > Templates > Apply Template to
    Page.
    > 4 Type the title of the page in the Banner Editable
    Region. Type or insert
    > text in the Body Editable Region.
    > 5 Select File > Save.
    >
    > Then when I preview the broswer, I see the html page as
    I should, put when
    > I
    > click to a new page, the new new doesn't have the
    template.
    >
    > Also, when I went to apply the template to a new page, a
    message said that
    > I
    > had orphaned stuff. What does that mean and how can I
    get the template
    > show
    > apply without the hassle.
    >

  • Applying templates to new pages

    Is there anyway to apply a template to a page when it is copied?  for example, a new user registers, and their folder is created with index.php, wihch was copied from a source, which had a template applied to it.  I don't understand why the template wouldn't also be applied to the index.php? I want to be able to update these pages all at once, instead of having to individually update each one.
    thanks.

    Your Files panel (F8) should look like this:
    site - YourSiteName (C:\YourSiteName)
         index.html
         -OtherPages
              page1.html
              page2.html
         -Templates
              template.dwt
    If your .dwt file is located in any location other than the Templates folder, it won't work.
    Templates are not a server-side technology.  Templates only work on local files in Dreamweaver.
    I suggest you open your template and examine the code to ensure it is valid and that the Editable Regions are properly defined.
    http://validator.w3.org/
    Then open a child page made from that template to ensure it is pointing to the correct Template.dwt file in your Templates folder.
    Nancy O.

  • Apply template to a page already created

    Is there a correct way to apply a template once a page has been created ?
    I have done it several time modifying the source of the page, but when it has binding that can lead to problems.
    What is your recommendation ?

    Hi,
    here's the tag documentation
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_pageTemplate.html
    which also contains an example for how to add this manually:
    <af:pageTemplate id="weather"
      viewid="pagefragments_weatherBox_jspx">
      <f:attribute name="zip" value="94065"/>
      <f:attribute name="description" value="Redwood Shores, CA"/>
      <f:facet name="forecastSummary">
        <af:outputText value="Partly Cloudy"/>
      </f:facet>
      <f:facet name="forecastDetail">
        <af:panelGroupLayout layout="vertical">
          <af:outputText value="72'F"/>
          <af:outputText value="Partly Cloudy"/>
          <af:outputText value="Wind: W at 16 mph"/>
          <af:outputText value="Humidity: 46%"/>
        </af:panelGroupLayout>
      </f:facet>
    </af:pageTemplate>So you add the reference to the templates and then - assuming the template has attributes - add attribute and facet references
    Frank

  • RH11 applied template to every page

    I opened my online help this morning, and RH11 has applied the template to every page in the file, so I now have a duplicate template when I generate. I need to fix this fast as I have a deadline - I don't know how this happened, but how do I fix it? (IE10, Responsive HTML5).
    Here's a small shot of what it is doing:

    That's a new one! Haven't seen it happen in the northern hemisphere.
    Have you modified the layout in any way? If you have, go to Screen Layouts in Project Setup and create a new Responsive Layout and do not modfiy it. Also create a new SSL layout and use the new Responsive Layout in that. Does the problem still occur?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Is there are a way to delay the display of a page with iweb 08?

    I have a page with a lot of content (SportsOutreachOnline.com -> Sports). The page takes a little while to load and look very unprofessional while doing it. It loads each piece and displays it piece of the website one at a time. I would like it to load like 70-90% of the way before displaying any content.
    In other words, I would like the page to load most of the way before displaying itself. Is this possible to do with iweb 08?

    I'm sorry, but I guess I don't really understand your answer. I added an HTML snipet which made an invisible frame in the page and i typed in.
    "<script type="text/javascript">
    parent.document.body.style.visibility = "hidden";
    fucntion showBody()
    parent.document.body.style.visibility = "visible";
    setTimeout("showBody()", 5000);
    </script>"
    I'm sure I'm doing something wrong, but I just don't know what.

  • Computer crashes on pages with adobe flash.

    Went on the YouTube home page and the dark night advert, running adobe flash player, crashed my computer and it rebooted.   It rebooted asking if I wanted to go into safe mode. I was using the Google chrome web browser and I just checked that I do have the latest adobe flash version and the same problem occurred in internet explorer. I just ran a hardware diagnostics tool and no problems were reported.  This has not just been happening with the youtube homepage advert but from time to time with pages with a lot of adobe flash content.  Playing videos usinf flash player is fine.  Any ideas whats the causing the problem and how to fix it? Thanks in advance.

    What is your display adapter, device driver version & date?  See http://forums.adobe.com/thread/945765

  • Create a custom web template using VS 2012 with web features,site features sections applied

    hi,
     Want to create a  custom web template using VS 2012  in my SP 2013 environment.  i know "Vesku" has posted a great artice on this [  based on prev. version of SP].
    here -
    http://blogs.msdn.com/b/vesku/archive/2010/10/14/sharepoint-2010-and-web-templates.aspx
    i am  looking for a code based article  which has step by step process which provides how to add the site features, web features and attach the eventreceivers etc etc on sitecollection creation when i apply this template from central admin. 
    can anyone provide me any links / any source how to create a custom web template with one / two  custom features -  site features element and web features element , / master page etc ....
    I am stuck with this. as part of my reqmnt, i need to create a webtemplate with all the customlistinstances, custompagelayouts, custom masterpages, custom appln pages, custom web parts.
    help is appreciated !
    Das

    The problem is that Web Templates are deployed to a gallery in a site collection and aren't available in Central Admin when creating a new site collection.  YOu have to create the site collection without choosing a template and then choose your web
    template when you first access the root site in the site collection.  Here's an article that discusses that process here:
    http://sharepointchick.com/archive/2011/02/10/using-web-templates-to-create-site-collections.aspx
    Other than that Vesa's article is still the best one and works essentially the same in 2013 as it does in 2010.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

Maybe you are looking for

  • ITunes updated to latest version doesn't work correctly

    So, I updated my iTunes to the latest version last night. Now every time I try to sync ANY iOS device all it does it freeze. Won't react anymore. I can't even download it again on the Apple homepage because there is no download button when I'm on the

  • What are the features of Evernote?

    Why is evernote so good as oppsoed to microsoft word??

  • No .DS_Store created in my folder?

    Hi all, I have a folder who have one .DS_Store file and hold at least one folder who do not have one. I copy one image file in that folder, open the folder: no .DS_Store. I added one folder in that one, copy the image file, check and saw one .DS_Stor

  • Why does Adobe say to close Safari when i have nothing open?

    I'm trying to update Adobe Flash Player on my Mac and it's almost done downloading but it says "please close the following programs to continue" and says Safari under that. I don't have anything open (except just now 'cause I have a question) so I do

  • Cell Editor Problem in JTable

    I have a problem using JTable. I have a requirement like each specified cell will have different editors like JtextField or Jcombobox as per some condition. I am building the rows at run time. Number of rows may vary as per condition. can anyone guid