Announcement

Collapse
No announcement yet.

A weird problem...missing </head> tag

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

    A weird problem...missing </head> tag

    Hi All

    Can anyone check http://www.thegretschgrotto.co.uk and see if you can see the </head> tag as I'm blowed if I can find it....would e much appreciated

    Many thanks

    Boz
    Neil Bosley
    The Ink Depot
    http://www.theinkdepot.co.uk
    nb@theinkdepot.co.uk

    #2
    not quite sure why you're looking but it's there, right before the opening <body> tag (and I doubt the site would work properly, if it wasn't!)
    Tracey

    Comment


      #3
      Hi Tracey

      I'm looking because I'm trying to setup PROTX on a site I've done for a client and now the site is live the PSP Bounce page isnt redirecting and there's no next button....apparently I need to add some code before the </head> and I havent been able to find it...

      Many thanks

      Neil
      Neil Bosley
      The Ink Depot
      http://www.theinkdepot.co.uk
      nb@theinkdepot.co.uk

      Comment


        #4
        There is a thread here about protx bounce issues

        what you need is <body onload="<actinic:variable name="OnLoadScript" value="PreloadImages" />">

        your <body> tag is wrong in your layout, also might be worth adding the button to the bounce page incase it miss behaves then the customer can click it to continue

        D

        Comment


          #5
          Hi Darren

          I saw the thread thanks and its exactly the problem we're having....whats wrong with the <body> tag? and where would I add your solution? I tried adding the button back yesterday as described on the PROTX site but it didnt work.

          And I still cant find the </head> when I view the code in actinic or dreamweaver

          Many thanks

          Neil
          Neil Bosley
          The Ink Depot
          http://www.theinkdepot.co.uk
          nb@theinkdepot.co.uk

          Comment


            #6
            the </head tag is there, online
            i can see it,

            you need to navigate to the design window in actinic, then change the body tag there then upload, the button needs to be added to the protx template file found under your site folder under commonOCC folder

            Comment


              #7
              do you mean this is wrong?
              Code:
              <body bgcolor="#E6E3EA" topmargin="0">
              I can see a closing body tag either...dont know whats going on here

              Many thanks

              Neil
              Neil Bosley
              The Ink Depot
              http://www.theinkdepot.co.uk
              nb@theinkdepot.co.uk

              Comment


                #8
                yes its wrong - as in you need the code i posted, why dont you put the bg color and margin in your css.

                Comment


                  #9
                  I've just checked the CSS file and those settings are in there, so I've added your body tag like so:

                  Code:
                  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                  <html>
                  <head>
                  <title>Welcome to The Gretsch Grotto</title>
                  
                     
                     
                        <Actinic:BASEHREF VALUE="http://thegretschgrotto.co.uk/" FORCED=1 />
                     
                  
                   
                  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                  <meta http-equiv="MSThemeCompatible" content="yes" />
                        
                    
                  <link href="acatalog/actinic.css" rel="stylesheet" type="text/css" />
                  <link rel="stylesheet" href="acatalog/TGG_style.css" type="text/css">
                  <script language="javascript" type="text/javascript" src="acatalog/actiniccore.js"></script>
                  <script language="javascript" type="text/javascript" src="acatalog/actinicextras.js"></script>
                  <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
                  <Actinic:COOKIECHECK /> 
                  <script language="javascript" type="text/javascript">
                  <!-- 
                    saveReferrer();
                  // -->
                  </script>
                  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                  <link href="acatalog/theme.css" rel="stylesheet" type="text/css">
                  <body onload="<actinic:variable name="OnLoadScript" value="PreloadImages" />"> 
                  <table border="0" align="center" cellpadding="0" cellspacing="0" id="Main_Container">
                    <tr>
                      <td width="766" bgcolor="#FFFFFF">&nbsp;</td>
                      <td width="15"><img src="acatalog/TGG_trshadow.gif" width="15" height="20"></td>
                    </tr>
                  Is that a I need to do for the bounce to work correctly?

                  And you can see there's no </head> tag

                  Many thanks

                  Neil
                  Neil Bosley
                  The Ink Depot
                  http://www.theinkdepot.co.uk
                  nb@theinkdepot.co.uk

                  Comment


                    #10
                    There is no closing HEAD tag in the source for the page. The confusion is that FF with FBug adds the closing tags. Does it show in the outer layout in Design? It needs to be there otherwise some browsers may compain.

                    Comment


                      #11
                      The confusion is that FF with FBug adds the closing tags
                      well i never knew that, thanks Duncan

                      In that case
                      add </head> before <body onload="<actinic:variable name="OnLoadScript" value="PreloadImages" />">

                      sometimes its worth trying stuff to see what happens, go on dare ya to have a ago.

                      Comment


                        #12
                        I didn't know that either!
                        Certainly doesn't help for de-bugging, in that respect then, eh?

                        *commits that to memory and hopes she remembers, if she ever needs to!*
                        Tracey

                        Comment


                          #13
                          do I need to add anything else Darren for the bounce to work?

                          Duncan..No there is no closing </head> in the html at all...where should I put it? Also should there be a closing body tag?

                          Many thanks

                          Neil
                          Neil Bosley
                          The Ink Depot
                          http://www.theinkdepot.co.uk
                          nb@theinkdepot.co.uk

                          Comment


                            #14
                            The closing HEAD tag should go just before the opening BODY tag. The closing BODY tag should go just before the closing HTML tag at the end of the page.

                            Comment


                              #15
                              Neil

                              Code:
                              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                              "http://www.w3.org/TR/html4/loose.dtd">
                              <html>
                              <head>
                              <title>Welcome to The Gretsch Grotto</title>
                              
                                 
                                 
                                    <Actinic:BASEHREF VALUE="http://thegretschgrotto.co.uk/" FORCED=1 />
                                 
                              
                               
                              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                              <meta http-equiv="MSThemeCompatible" content="yes" />
                                    
                                
                              <link href="acatalog/actinic.css" rel="stylesheet" type="text/css" />
                              <link rel="stylesheet" href="acatalog/TGG_style.css" type="text/css">
                              <script language="javascript" type="text/javascript" src="acatalog/actiniccore.js"></script>
                              <script language="javascript" type="text/javascript" src="acatalog/actinicextras.js"></script>
                              <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
                              <Actinic:COOKIECHECK /> 
                              <script language="javascript" type="text/javascript">
                              <!-- 
                                saveReferrer();
                              // -->
                              </script>
                              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                              <link href="acatalog/theme.css" rel="stylesheet" type="text/css">
                              </head>
                              
                              <body onload="<actinic:variable name="OnLoadScript" value="PreloadImages" />"> 
                              <table border="0" align="center" cellpadding="0" cellspacing="0" id="Main_Container">
                                <tr>
                                  <td width="766" bgcolor="#FFFFFF">&nbsp;</td>
                                  <td width="15"><img src="acatalog/TGG_trshadow.gif" width="15" height="20"></td>
                                </tr>
                              </body>
                              </html>
                              Actinic templates have all the correct code already in it, if your going to mess in DW then make sure you dont change this. You can always revert the layouts to the factory default.

                              Comment

                              Working...
                              X