Announcement

Collapse
No announcement yet.

make images clickable

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

    make images clickable

    Is it possible to make the item images clickable in the mini new products layout on the homepage and sidebar and remove the more info link?



    Thanks,


    Gary

    #2
    Not at the moment- the request for this has been made before so chris may be able to say if it is a planned upgrade.

    Comment


      #3
      Yes you can....

      locate your best seller layout, I'm using Mini Bestseller Layout

      see the code that puts the a href around the text "find out more"

      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductReference" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">find out more</a></p>
      use this code and wrap it around the image instead

      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductReference" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>"><img src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" />" /></a>
      to remove the "Find out more" link put comment tags around it !!<all the stuff in the first quote>!!

      [EDIT] my reply is for bestsellers, please try the same principal for "Mini New Products Item" layout the code is the same, I've just noticed you asked for New products, see it working on both bestsellers and new products at test.pinbrook.net

      Comment


        #4
        Nice one jo

        Comment


          #5
          Just set it up on my own website and it works like a dream.

          Comment


            #6
            Another one for the AUG perhaps.....

            Comment


              #7
              Good stuff. I've made a note to add it to the AUG (http://community.actinic.com/showthr...488#post131488)

              Comment


                #8
                Why not make it a standard feature - people expect to be able to click images.

                Comment


                  #9
                  Nice one Jo,

                  I thought it a bit odd i did not work so thought i would put it on the things to look at list.

                  Now i suppose i am going to have to do it.

                  I agree this should be standard, nearly eavery website you go to the images are clickable, it is standard practice nowadays.

                  Cheers
                  Darren

                  Comment


                    #10
                    Yep - totally agree with all of this. Hopefully we will see a fix in a future release.

                    Comment


                      #11
                      hi, is there a way to remove the blue highlight box that explorer puts around the image now that it is clickable.I assume some css is needed.
                      Thanks
                      Wes
                      Treasure Island Sweets

                      Comment


                        #12
                        Are you on 04 as this seems to have been fixed.

                        Comment


                          #13
                          hi, am on v8.04
                          It didn't work so followed the work around above, saved it and it self defaulted back to the original script, now working ok.
                          Strange behaviour but it works!
                          Wes
                          Treasure Island Sweets

                          Comment


                            #14
                            I have the blue box, did you manage to get rid of it?

                            Cheers
                            Darren

                            Comment


                              #15
                              on the image add the code "border="0"

                              Comment

                              Working...
                              X