Announcement

Collapse
No announcement yet.

Extended Info Print Product - help please

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

    Extended Info Print Product - help please

    I have taken over looking after this website - www.hamradio.co.uk - but there has been a lot of customisation. One problem I have found which I am hoping someone can help me with is:

    On most of the products there are Extended Information options. On the top bar of a product there are options to E-Mail friend, Print Product and More Info.

    On some of the products the e-mail friend option works and others print product works, but not all of them work all the time and I am getting frustrated trying to work out what is happening.

    I don't know if this is something that Actinic produces (which is what it looks like) or if these have to be manually made up.

    This is the code in the product layout

    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpPageGenerated%22%20%2f%3e" >
       <actinic:variable name="ExtendedInfoPageDesign"/>
    </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e%20OR%20%3cactinic%3avariable%20name%3d%22IsPopUpPageDisplayedByButton%22%20%2f%3e" >
    <tr>
    	<td colspan="2" class="lnks">	
    	<actinic:block if="%3cactinic%3avariable%20name%3d%22PrintThisPage%22%20%2f%3e" >
    		<actinic:variable name="Email Page" />
    		<a href="#a<actinic:variable name="ProductID" />" onclick="javascript:mailUp(&quot;http://www.hamradio.co.uk/friend.php?num=<actinic:variable name="ProductID" />&quot;);">
    			<img src="emailfriend.gif" alt="E-mail Friend" width="99" height="16">
    		</a>&nbsp;
    	</actinic:block>  
    
    	<actinic:block if="%3cactinic%3avariable%20name%3d%22PrintThisPage%22%20%2f%3e" >
    		<actinic:variable name="Print Page" />
    		<a href="#a<actinic:variable name="ProductID" />" onclick="javascript:popUp(&quot;print_<actinic:variable name="ProductID" />.html&quot;);">
    			<img src="printproduct.gif" alt="Print Product" width="91" height="16">
    		</a>&nbsp;
    	</actinic:block>
    
    		<a href="javascript:ShowPopUp('<actinic:variable name="ExtendedInfoPageEncoded"/>','<actinic:variable name="ExtInfoWindowWidth"/>','<actinic:variable name="ExtInfoWindowHeight"/>');"><img src="<actinic:variable name="ExtInfoButtonImageFileName" />" border="0" /></a>
    	</td>
    </tr>
    </actinic:block>
    And this is the code for the Print Product page (the e-mail friend being similar):

    Code:
    <html><head>
    	<title>ML&amp;S - <Actinic:Variable Name="ProductName"/> - Print Page</title>
       <meta name="ACTINICTITLE" content="NETQUOTEVAR:PAGEHEADER">
       <meta HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
       <link rel="stylesheet" href="http://www.hamradio.co.uk/web.css">
       <script language="JavaScript"> window.print(); </script>
    </head><body>
    <body bgcolor="#FFFFFF" text="#000000">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
    	<tr><td height="38" valign="top"><table width="100%" height=38 border="0" cellspacing="0" cellpadding="0" bgcolor="000000">
    		<tr><td><img src="http://www.hamradio.co.uk/images/logo.gif" width="317" height="56"></td></tr>
    	</table></td></tr>
    	<tr><td align="center" valign="top"><table width="100%" border="0" cellspacing="3" cellpadding="3">
    	<tr><td valign=top><table border=0 cellpadding="5" cellspacing="0">
    	<tr><td valign="top"><strong style="font-size: 16px"><Actinic:Variable Name="ProductName"/></strong></td></tr>
    	<tr><td align="left" valign="top"><actinic:variable name="ExtendedInformationImage" value="Standard Extended Information Image" /></td></tr>
    	<tr><td valign="top"></td></tr>
    	<tr><td valign="top"><actinic:variable name="ProductDescription"/></td></tr>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInfoText%22%20%2f%3e" > 
    	<tr><td valign="top"><hr style="color: #FF9900" /><br/><strong style="font-size: 14px">Additional Information:</strong><br/><Actinic:Variable Name="ExtendedInfoText"/></td></tr>
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22RelatedProdsListIsEnabled%22%20%2f%3e" >
    	<tr><td valign="top"><hr style="color: #FF9900" /><br/><strong style="font-size: 14px">Accessories:</strong><br/><actinic:variable name="ProductRelatedProductsList" /></td></tr>
    </actinic:block>
    	<tr><td valign="top"><hr style="color: #FF9900" /><br/></tr></td>
    	<tr><td valign="top"><br/><actinic:variable name="PriceListRetail" /></td></tr>
    	<tr><td valign="top"><br/><a href="javascript:window.close();">Close Window</a></td></tr>
    </table></td></tr></table></td></tr></table>
    </body></html>
    I would really appreciate some help with this to stop me from going insane!

    Thanks

    Louise
    Last edited by ASMO; 05-Nov-2007, 09:51 PM. Reason: Putting in code markers as requested
    www.asmailorder.com www.asmailorder.co.uk

    #2
    It would help if you could post such huge lumps of code between [H T M L] and [/ H T M L] tags or [C O D E] and [/ C O D E] tags (type them without the spaces).

    Also post an URL of a page and a note regarding a faulty product there.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks. I have amended my post to reflect your comments regarding code.

      As for URLs
      http://www.hamradio.co.uk/acatalog/A...om.html#a1!447 is a product where the E-mail friend option runs the php popup but does not insert anything into the e-mail. The Print Product does not work at all, it comes up with a 404 error.

      http://www.hamradio.co.uk/acatalog/A...kPwr.html#a819. This runs the E-mail friend option correctly, but Print Product does not work - 404 error.
      On these products I have also been bounced back to the Sections page

      http://www.hamradio.co.uk/acatalog/A...com.html#a2454. Both options work ok on this product

      I am not that hot on HTML so I am finding this difficult to work out.
      www.asmailorder.com www.asmailorder.co.uk

      Comment


        #4
        aww Bless you Louise, you made me smile, not many do that.
        You need to close the [/CODE] as well as open it [CODE]

        Code:
        It will then show a bit like this

        Comment


          #5
          Why thank you leehack.
          As I said above I know naff all about HTML. I'm bashing about in the dark, but trying to learn as I go. When I took this job on, the chap said it was just maintaining the Actinic Shop. Since then I have been immersed in trying to work my way round html and javascript and someone's idea of customised layouts! Not much maintenance going on!
          I appreciate your instruction and sense of humour and will try harder next time.

          Does anyone have an answer to my query?

          Louise
          www.asmailorder.com www.asmailorder.co.uk

          Comment


            #6
            Does anyone have an idea on this one.

            Can anyone tell me if these pages are made up by Actinic (which is what it looks like to me, but what do I know!), or do I have to make them up. I can see where some of them are in the sites directory.

            Thanks for your help.

            Louise
            www.asmailorder.com www.asmailorder.co.uk

            Comment


              #7
              Louise I just tried the pages below with problems and all functions worked for me. I noticed that Firefox is reporting an error regarding the YahooSections, maybe that is contributing to what you are experiencing, but it seems fine this end. Which browser are you using?

              Comment

              Working...
              X