Announcement

Collapse
No announcement yet.

T&C pop-up not popping up

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    T&C pop-up not popping up

    On one of my sites the T&C popup on the first page of the checkout doesn't work. If you click on the link it just displays an "error on page" warning in the bottom left corner (in IE) - but no pop-up.

    The offending code is -
    Code:
    Click <A HREF="javascript:ShowPopUp('http://www.mydomain.co.uk/infopopup%2ehtml',650,450);">here</A> to view the Terms and Conditions
    I have confirmed that:
    1. The page referred to does actually exist, and
    2. the code above is identical to the code on one of my other sites that does work as expected

    So, firstly, any ideas what the problem might be, and secondly, where exactly is that code because I can't find it anywhere in any of the templates so I can't even replace it with a direct link.
    John

    #2
    not editting out the domain name would have been helpful so someone could have taken a look.
    Tracey

    Comment


      #3
      www.dymo-label-printers.co.uk
      John

      Comment


        #4
        I'm wondering if the problem is due to the fact that you've removed the acatalog folder and it's confused Actinic?
        Is the other site (the one that works) the same?
        Tracey

        Comment


          #5
          all of my sites are like that (I have a lot), and this is the only one with this problem.
          John

          Comment


            #6
            yeh..I can see that now
            Firefox is giving some errors in the error console including
            Error: ShowPopUp is not defined
            Source File: javascript:ShowPopUp('http://www.dymo-label-printers.co.uk/acatalog/infopopup%2ehtml',650,450);
            Line: 1
            but, as you're using V7, I'm going to leave it to someone with more knowledge in V7 to see if that can advise how to resolve it
            Tracey

            Comment


              #7
              hmm... maybe something further up has been deleted... how do you access the error console in firefox just out of interest?

              thanks.
              John

              Comment


                #8
                Error: ShowPopUp is not defined
                Source File: javascript:ShowPopUp('http://www.dymo-label-printers.co.uk/acatalog/infopopup%2ehtml',650,450);
                Line: 1
                If this is the reported error, then isn't the /acatalog/ bit going to cause a problem if you've removed that from the website.

                Mike
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

                -----------------------------------------

                Comment


                  #9
                  ah, found the console - hey that's useful, and the page is full of errors...

                  But when I look at the error log it is not displaying the /acatalog part of the path. Are you definately seeing that?

                  But the error itself suggests that it is the showpopup that is the problem as it hasn't been defined - so where is that defined normally? Having looked at the (final) code of both pages they both have -

                  Code:
                  		<script type="text/javascript" language="JavaScript" src="actiniccore.js"></script>
                  		<script type="text/javascript" language="JavaScript" src="actinicextras.js"></script>
                  so not sure where else it would be defined?
                  John

                  Comment


                    #10
                    Originally posted by jxm28788 View Post
                    hmm... maybe something further up has been deleted... how do you access the error console in firefox just out of interest?

                    thanks.
                    I'm not sure if it's bundled in with Firebug? (have never used FF without Firebug lol)
                    Above right of my browser window, I have 2 green ticks (not sure why 2, they're both the same!) if a page is error-free and red crosses, if there are errors on the page. Clicking on them lists the errors
                    Tracey

                    Comment


                      #11
                      odd, I just C&Ped the error from the console

                      weird, just checked it again and no acatalog
                      how strange!
                      I didn't edit it in first time! LOL
                      Tracey

                      Comment


                        #12
                        hmm, that's odd I get the error without (see attachment). Don't think I'm using firebug thought, I just found the error console in the tools menu... But bizarre that they give different paths...???
                        Attached Files
                        John

                        Comment


                          #13
                          Originally posted by olderscot View Post
                          If this is the reported error, then isn't the /acatalog/ bit going to cause a problem if you've removed that from the website.
                          ok, so that leads me back to my other question, which was where the heck is it? If I could just find the code I could replace it with something hardcoded instead of relying on actinic to generate it.
                          John

                          Comment


                            #14
                            If it is not in the template for that checkout page, then it must be a layout in the template manager, can only be one of those two areas surely. If your other sites work perfect, can you not wind the cogs back and recall what you did on those?

                            Comment


                              #15
                              well you'd think so... but buggered if I can find it. It's not in the template for that page (Act_Order00.html), that just contains this variable which is hiding the code - NETQUOTEVAR:INFOPANELS.

                              I've also gone into explorer and searched on all act*.html files containing the word showpopup - and there are none...

                              I guess I'll have to experiment with the INFOPANELS variable - ie. take it out and see it it translates into that one line or is there a bunch of other code in there as well...
                              John

                              Comment

                              Working...
                              X