Announcement

Collapse
No announcement yet.

Same code, different template - different look?

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

    Same code, different template - different look?

    Hi,

    I've got the same code on both Act_Primary.html & Act_PrimaryCheckout.html.

    Code from Primary: -

    Code:
    		<table cellSpacing=0 cellPadding=0 width=770 align=center border=0 background="bar.gif">
    			<tr>
    			<td colspan="4" background="bar.gif" height="25"></td>
    			
    			<td>
    				<form name=simplesearch action="http://trials.actinic.com/cgi-bin/ss100023.pl" METHOD="GET">
    					<td width="135" height="25" valign="middle" align="right">
    						<input class="searchbox" name="SS" size="15" maxsize="125" value="Product Search..." onFocus="this.value='';this.style.background='#ffffff'">
    					</td>
    			<td width="19" height="25" align="center">
            		<input type="image" border="0" name="ACTION" src="searchbar.gif" height="23" alt="Go!">
            		<input TYPE=HIDDEN NAME="PR" VALUE="-1">
            		<input TYPE=HIDDEN NAME="TB" VALUE="A">
            		<input TYPE=HIDDEN NAME="SHOP" VALUE="trlshop14629">
    			</td>
    			  </form>
    			</td>
    			<td align="right"><font color="#a9c098">
    				<B><A HREF="index.html" TARGET="_parent" onMouseOver="SwapImage('hnavb_home','home2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Home</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="About.html" TARGET="_self" onMouseOver="SwapImage('button8','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">About Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="News.html" TARGET="_self" onMouseOver="SwapImage('button9','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">News</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=shop.html&SHOP=trlshop14629&NOLOGIN=1" TARGET="_self" onMouseOver="SwapImage('button7','shop2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Online Store</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="http://trials.actinic.com/cgi-bin/mf100023.pl?ACTION=SHOWFORM" TARGET="_self" onMouseOver="SwapImage('hnavb_mail','mail2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Contact Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=index.html&SHOP=trlshop14629" TARGET="_self" onMouseOver="SwapImage('hnavb_login','login2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Login</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				&nbsp;</font></td>
    			</tr>
    		</table>
    Code from PrimaryCheckout: -

    Code:
    		<table cellSpacing=0 cellPadding=0 width=770 align=center border=0 background="bar.gif">
    			<tr>
    			<td colspan="4" background="bar.gif" height="25"></td>
    			
    			<td>
    				<form name=simplesearch action="http://trials.actinic.com/cgi-bin/ss100023.pl" METHOD="GET">
    					<td width="135" height="25" valign="middle" align="right">
    						<input class="searchbox" name="SS" size="15" maxsize="125" value="Product Search..." onFocus="this.value='';this.style.background='#ffffff'">
    					</td>
    			<td width="19" height="25" align="center">
            		<input type="image" border="0" name="ACTION" src="searchbar.gif" height="23" alt="Go!">
            		<input TYPE=HIDDEN NAME="PR" VALUE="-1">
            		<input TYPE=HIDDEN NAME="TB" VALUE="A">
            		<input TYPE=HIDDEN NAME="SHOP" VALUE="trlshop14629">
    			</td>
    			  </form>
    			</td>
    			<td align="right"><font color="#a9c098">
    				<B><A HREF="index.html" TARGET="_parent" onMouseOver="SwapImage('hnavb_home','home2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Home</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="About.html" TARGET="_self" onMouseOver="SwapImage('button8','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">About Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="News.html" TARGET="_self" onMouseOver="SwapImage('button9','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">News</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=shop.html&SHOP=trlshop14629&NOLOGIN=1" TARGET="_self" onMouseOver="SwapImage('button7','shop2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Online Store</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="http://trials.actinic.com/cgi-bin/mf100023.pl?ACTION=SHOWFORM" TARGET="_self" onMouseOver="SwapImage('hnavb_mail','mail2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Contact Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=index.html&SHOP=trlshop14629" TARGET="_self" onMouseOver="SwapImage('hnavb_login','login2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Login</span></A>&nbsp;&nbsp;|&nbsp;</B>
    				&nbsp;</font>
    			</td>
    			</tr>
    		</table>
    The problem is that when viewed the Search on the PrimaryChechout pages doesn't appear the same as it does on Primary pages, or any other where I have the same code?

    I've attached a shot to show what I mean. The top nav bar show the results on a Primary page the one below the view on a PrimaryCheckout page.

    I've looked and looked, and cut and pasted 'till the cows come home, but can not find what the cause is.

    Has anyone got any ideas where to look, or can see where the problem lies?

    Regards,

    Andrew
    Attached Files

    #2
    Do both templates refer to the same CSS file in the HEAD area?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks for the reply.

      Yes, both reference the same CSS.

      Regards,

      Andrew

      Comment


        #4
        The checkout pages come via the Perl in cgi-bin. Perhaps your CSS isn't being referenced correctly there. Posting an URL would, of course, help a lot.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Norman,

          The site is visable here... http://trials.actinic.com/trials/trial14629/

          Thanks & Regards,

          Andrew

          Comment


            #6
            I see major differences between the generated HTML from the View Cart and a normal Product page. VIEW CART
            Code:
            		<table cellSpacing=0 cellPadding=0 width=770 align=center border=0 background="bar.gif">
            			<tr>
            			<td colspan="4" background="bar.gif" height="25"></td>
            			
            			<td>
              <form name=simplesearch action="http://trials.actinic.com/cgi-bin/ca100023.pl" METHOD="GET"><INPUT TYPE=HIDDEN NAME=REFPAGE VALUE="http://trials.actinic.com/trials/trial14629/Essential_Oils.html">
            
                <!-- <tr> 
                  <td width="100%" valign="middle" align="center" colspan="2"> 
            	  	<input class="searchbox" name="SS" size="15" maxsize="125" value="NETQUOTEVAR:QUICKSEARCHLABEL" onFocus="this.value='';this.style.background='#ffffff'">
                    <!-- <input type="TEXT" style="border:0px; border-top-color:#95B37F; border-color:#95B37F; background-color:#d1dec7" name="SS" size="20" maxsize="125" value="NETQUOTEVAR:QUICKSEARCHLABEL" onFocus="this.value='';this.style.background='#d1dec7'">
                    </td>
                  <!-- <td valign=bottom noWrap align=left> 
                    <!-- <input type=SUBMIT name=ACTION value="NETQUOTEVAR:QUICKSEARCHBUTTONTEXT">
                    <input type="image" border="0" name="ACTION" src="search-go.gif" alt="NETQUOTEVAR:QUICKSEARCHBUTTONTEXT">
                    <input TYPE=HIDDEN NAME="PR" VALUE="-1">
                    <input TYPE=HIDDEN NAME="TB" VALUE="A">
                    <input TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOPID">
                  </td>
                </tr> -->
            	<!-- <tr> -->
            		<td width="135" height="25" valign="middle" align="right">
            		<!-- <b><span class="actnavside"><font color="#486036">Search</font></span></b> -->
            		<input class="searchbox" name="SS" size="15" maxsize="125" value="Product Search..." onFocus="this.value='';this.style.background='#ffffff'">		
            		</td>
            		<td width="19" height="25" align="center">
                    	<input type="image" border="0" name="ACTION" src="searchbar.gif" height="23" alt="Go!">
                    	<input TYPE=HIDDEN NAME="PR" VALUE="-1">
                    	<input TYPE=HIDDEN NAME="TB" VALUE="A">
                    	<input TYPE=HIDDEN NAME="SHOP" VALUE="trlshop14629">	
            		</td>
            	<!-- </tr> -->
              </form>
            			</td>
            			<td align="right"><font color="#a9c098">
            				<B><A HREF="http://trials.actinic.com/trials/trial14629/index.html" TARGET="_parent" onMouseOver="SwapImage('hnavb_home','home2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Home</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/trials/trial14629/About.html" TARGET="_self" onMouseOver="SwapImage('button8','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">About Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/trials/trial14629/News.html" TARGET="_self" onMouseOver="SwapImage('button9','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">News</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=shop.html&SHOP=trlshop14629&NOLOGIN=1" TARGET="_self" onMouseOver="SwapImage('button7','shop2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Online Store</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/cgi-bin/mf100023.pl?ACTION=SHOWFORM&REFPAGE=http%3a%2f%2ftrials%2eactinic%2ecom%2ftrials%2ftrial14629%2fEssential_Oils%2ehtml" TARGET="_self" onMouseOver="SwapImage('hnavb_mail','mail2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Contact Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=index.html&SHOP=trlshop14629" TARGET="_self" onMouseOver="SwapImage('hnavb_login','login2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Login</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				&nbsp;</font>
            			</td>
            			</tr>
            		</table>
            NORMAL
            Code:
            		<table cellSpacing=0 cellPadding=0 width=770 align=center border=0 background="bar.gif">
            			<tr>
            			<td colspan="4" background="bar.gif" height="25"></td>
            			
            			<td>
            				<form name=simplesearch action="http://trials.actinic.com/cgi-bin/ss100023.pl" METHOD="GET">
            					<td width="135" height="25" valign="middle" align="right">
            						<input class="searchbox" name="SS" size="15" maxsize="125" value="Product Search..." onFocus="this.value='';this.style.background='#ffffff'">
            					</td>
            			<td width="19" height="25" align="center">
                    		<input type="image" border="0" name="ACTION" src="searchbar.gif" height="23" alt="Go!">
                    		<input TYPE=HIDDEN NAME="PR" VALUE="-1">
                    		<input TYPE=HIDDEN NAME="TB" VALUE="A">
                    		<input TYPE=HIDDEN NAME="SHOP" VALUE="trlshop14629">
            			</td>
            			  </form>
            			</td>
            			<td align="right"><font color="#a9c098">
            				<B><A HREF="index.html" TARGET="_parent" onMouseOver="SwapImage('hnavb_home','home2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Home</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="About.html" TARGET="_self" onMouseOver="SwapImage('button8','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">About Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="News.html" TARGET="_self" onMouseOver="SwapImage('button9','brochurebutton2.gif')" onMouseOut="RestoreImage()"><span class="actnav">News</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=shop.html&SHOP=trlshop14629&NOLOGIN=1" TARGET="_self" onMouseOver="SwapImage('button7','shop2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Online Store</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/cgi-bin/mf100023.pl?ACTION=SHOWFORM" TARGET="_self" onMouseOver="SwapImage('hnavb_mail','mail2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Contact Us</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				<B><A HREF="http://trials.actinic.com/cgi-bin/ss100023.pl?SECTIONID=index.html&SHOP=trlshop14629" TARGET="_self" onMouseOver="SwapImage('hnavb_login','login2.gif')" onMouseOut="RestoreImage()"><span class="actnav">Login</span></A>&nbsp;&nbsp;|&nbsp;</B>
            				&nbsp;</font></td>
            			</tr>
            		</table>
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Thanks for the reply.

              The major differences you're seeing I think is just where there is code commented out in one but not the other?

              I'll update the trial site so they're the same, but the problem is still there.

              Regards,

              Andrew

              Comment

              Working...
              X