Announcement

Collapse
No announcement yet.

Image Associated to Choice

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

    #16
    Have you a page where I can see this happening?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #17
      I see why you need this. Some of your radio lists are very long.

      Note that my Radio button patch allows you to lay these out in columns so you could probably fit 2 or 3 per row.

      Set ICONSPERLINE to 2 and TEXTUNDER to 1 and you'll get 2 across, showing the image, button and then the Choice text underneath these.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #18
        That helped but now on any list of radio buttons of an odd number the 'add to cart' button is being cut off by the site template...

        Comment


          #19
          There's a bit in the Dynamic Product Images ReadMe about fixing that.

          Did you try the TEXTUNDER as you might manage 3 across if you use that?
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #20
            There's something I'm missing obvious Norman, I have the VARIABLE set to textunder and all that happens with the ICONSPERLINE set to three is that whenever I have a final row of choices with one space left the 'add to cart' button is sliced in two being off the edge of the template.

            I tried changing <span class="actxsmall">NETQUOTEVAR:ATTRIBUTENAME</span><br> in the template but this had no effect.

            There's a workaround, I can make the add to cart button smaller... however I'd rather get this right as no doubt it will crawl out again in a year when all this information is hazy... which after the New Year is still blurry anyway!

            Comment


              #21
              In Act_CartButtonImage.html replace

              <P align=right>

              with

              <br clear=all><div align=right>

              and replace

              </P>

              with

              </div>
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #22
                Here's how to get as many products across as possible.
                In Design / Options / Site Defaults / Properties set

                BUTTONUNDER to 1
                and TEXTUNDER to 1
                and ICONSPERLINE to 3

                then in

                In dynamicimagesupport.js change the line
                Code:
                     document.write('<tr><td><img src="' + cpath + thisimage 			// first cell with image
                to
                Code:
                     document.write('<tr align=center><td><img src="' + cpath + thisimage 			// first cell with image
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #23
                  That's sorted that - thank you...

                  Just left with the annoying <p> between attribute and component now (nothing to do with the mod I know) which is generating a;

                  Select

                  Colour

                  I adapted the template from the instruction given earlier but this bug remains.

                  Comment


                    #24
                    That's coming from Act_VariantComponentName.html (which Actinic has rronously commented as being Act_VariantAttributeName.html).
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #25
                      PS Did you try my 3 column suggestion. It's just right for that page.
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #26
                        I'll try it now Norman.

                        PS - What should I change that template (above) to be as the original post by Jo has vanished...?

                        Comment


                          #27
                          Do you mean Act_VariantComponentName.html? That's nothing to do with this patch. It's where the <P> you were annoyed at is located. Change it for a <br> or whatever you need (and remove any </P>).
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment

                          Working...
                          X