Announcement

Collapse
No announcement yet.

ShowPopUP Problem

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

    ShowPopUP Problem

    Hi Guys

    I have a problem with templates that is making me tear my hair out. Essentially I have the <A HREF...ShowPopUP> appearing between the BEGINXMLTEMPLATE and the PRODUCTIMAGE in the PRODUCTLINE template. This is the code I have:

    <tr>
    <td rowspan="2" valign="TOP" align="CENTER">
    NETQUOTEVAR:TEMPLATEBEGINXMLNETQUOTEVAR:PRODUCTIMAGE
    </td>

    BUT ...

    In the generated code just before the PRODUCT IMAGE template and after the reference for the template I get the full HTML:

    <A HREF="javascript(... ShowPopUp)

    Any ideas?

    Last edited by HoughtonCR; 13-Jun-2006, 08:31 PM. Reason: Mis Spelling
    Cheerio,
    Chris

    #2
    What settings do you have on the link tab (or extended info tab) of the product?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      That's what I'd expect to see if you'd defined an Extended Info Page and used Display By: / Clicking Product Image.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Checked It

        Hi Guys, thanks for coming back to me. I have checked it and it indeed puts the popup code when you tick the 'Image is clickable' check box, BUT...

        In the code it does not place the </a> and in the end it does not work anyway!

        Do you know what the NETQUOTEVAR variable is for the popup code so I can do it in the template myself and remove the need to check the box?

        Thanks again.
        Cheerio,
        Chris

        Comment


          #5
          It works for everyone else so something must be broken at your end.

          The popup link code is quite complex as it has to work around images, text links and as part of the onclick event of form buttons.

          See Design / Text / Goto / Phase -1, ID 1191 and 1192 for the opening and closing tags.

          However, it would be much better to fix it so it works as expected rather than using a workaround.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Ahh - can possibly see problem.

            I have a script underneath the image that shows a number of thumbnails that allows you to swap the thumbnail for the main image.

            The Act_ProductImage template has been changed to cater for this so the <a href /a> encompaseses all of my scripts as well.

            Since my customer will always a detailed image, can I not just manually put the <a href in the Act_ProductImage template using say:

            <A HREF="NETQUOTEVAR:LINK"><img ... etc. > </a>

            The trouble is I do not know the correct NETQUOTEVAR to be able to substitute the ShowPopUp etc.

            Am I barking?
            Cheerio,
            Chris

            Comment


              #7
              Sussed it!

              Hi All

              Thanks for your help. I have resolved it - with your help!!

              The A HREF does not work if it not immediately before the <IMG tag, so I have placed all of the extra code in the Product Line template before and after the NETQUOTEVAR:IMAGE variable.

              This now works fine and I have a main image, upto 6 minor images that are swappable and the main image brings out the extended info pop up - wicked!

              Thanks again.
              Cheerio,
              Chris

              Comment

              Working...
              X