Announcement

Collapse
No announcement yet.

Extended Info Popup is small

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

    Extended Info Popup is small

    Dear all,

    I just changed my extended info window size in 'Settings > Site Options > Extended Information' - it currently reads 'Use Parent (=450)'.

    After I changed it to 'Use Parent (=550)' all the popups now open about 100px wide which is useless!

    Any help much appreciated, site is:
    http://www.mulberrytreegallery.co.uk...talogBody.html
    Harry

    Webmaster and Art Consultant
    http://www.mulberrytreegallery.co.uk

    #2
    Confused. There are two settings:- Pop-Up Window Height with default of 350, and Pop-Up Window Width with default of 400. What settings did you change and what are they now?

    I see your popup pages on http://www.mulberrytreegallery.co.uk...ard_Adams.html currently have a width of 400 and a height of 0.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi Norman

      I changed both height and width in Site Settings to 650, just did a site update, but it hasn't made any difference. You are right - the width is around 400px, and the height is less than that.

      I can't understand why changing the default site settings for the extended information has had this effect.

      Thanks,
      Harry
      Harry

      Webmaster and Art Consultant
      http://www.mulberrytreegallery.co.uk

      Comment


        #4
        Again looking at http://www.mulberrytreegallery.co.uk...ard_Adams.html, I see all popups with a width of 400 and a height of 0. This does not match up with what you way you've set in site options.

        Look at a product from that page in the Content Tree, select the Extended Info tab, and report what you see for Pop-Up Window Height and Pop-Up Window Width.

        It could be that you've got different settings for that Section or a parent Section and these are overriding the Site Options.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          OK, checked there and got the following:

          Pop-up window Height: Use Parent (=Use Parent (=650))
          Pop-up window Width: 400
          Type of Extended Information Page: Use Parent(=Open in a pop-up window)

          So it looks like it should be setting the height to 650, but it clearly isn't!

          Thanks for helping with this..
          Harry

          Webmaster and Art Consultant
          http://www.mulberrytreegallery.co.uk

          Comment


            #6
            The popup opened by clicking the product image comes from code in Design / Library / Layouts / Product Image / Standard Product Image. The first few lines should be:
            Code:
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e">
               <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20a%20Pop%2dUp%20Window%22">
                  <a href="<actinic:variable name=ExtendedInfoPageEncoded />" target="ActPopup" onclick="return ShowPopUp('<actinic:variable name=ExtendedInfoPageEncoded />',<actinic:variable name="ExtInfoWindowWidth" />,<actinic:variable name="ExtInfoWindowHeight" />);">
               </actinic:block>
               <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20the%20Same%20Window%22" >
                  <a href="<actinic:variable name="ExtendedInfoPageName" />">
               </actinic:block>
            </actinic:block>
            Post what you've got there.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Code is as below:

              <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e">
              <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20a%20Pop%2dUp%20Window%22">
              <a href="<actinic:variable name=ExtendedInfoPageEncoded />" target="ActPopup" onclick="return ShowPopUp('<actinic:variable name=ExtendedInfoPageEncoded />',<actinic:variable name="ExtInfoWindowWidth" />,<actinic:variable name="ExtInfoWindowHeight" />);">
              </actinic:block>
              <actinic:block if="%3cactinic%3avariable%20name%3d%22ExtendedInformationType%22%20%2f%3e%20%3d%3d%20%22Opens%20in%20the%20Same%20Window%22" >
              <a href="<actinic:variable name="ExtendedInfoPageName" />">
              </actinic:block>
              </actinic:block>

              <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductImageDisplayed%22%20%2f%3e">
              <img src="<actinic:variable name="ProductImageFileName" />"
              border="0"
              width="<actinic:variable name="ProductImageWidth" />"
              height="<actinic:variable name="ProductImageHeight" />"
              alt="<actinic:variable name="ProductName" encoding="strip"/>" />
              </actinic:block>

              <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductImageDisplayed%22%20%2f%3e%20%3d%3d%20False">
              <img src="<actinic:variable name="DefaultProductImage" />"
              border="0"
              alt="<actinic:variable name="ProductName" encoding="strip"/>" />
              </actinic:block>

              <actinic:block if="%3cactinic%3avariable%20name%3d%22IsPopUpDisplayedByImage%22%20%2f%3e">
              </a>
              </actinic:block>
              Harry

              Webmaster and Art Consultant
              http://www.mulberrytreegallery.co.uk

              Comment


                #8
                That code is fine. However you seem to be saying that a product extended info parameters has Pop-up window Height: 650 and Pop-up window Width: 400. And the code that's being generated is using 0 and 400. Afraid I don't know how this can be happening.

                You could always verify this by editing Design / Library / Layouts / Product Image / Standard Product Image and putting the following at the top:
                Code:
                Popup Width: <actinic:variable name="ExtInfoWindowWidth" />px
                <br />
                Popup Height: <actinic:variable name="ExtInfoWindowHeight" />px
                <br />
                And see what displays.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Hi Norman

                  I've tried that and it simply prints :

                  Popup Width: px
                  Popup Height: px

                  above the image. Any other ideas?

                  Much appreciated (as an aside, since I 'broke' this, we haven't had any orders from our webshop (could be a coincidence, but....)
                  Harry

                  Webmaster and Art Consultant
                  http://www.mulberrytreegallery.co.uk

                  Comment


                    #10
                    Found a temporary fix..

                    Edited actiniccore.js and changed 'window.open' statement replacing +height and +width with 650 and 600.

                    Not ideal, but...

                    Thanks,
                    Harry

                    Webmaster and Art Consultant
                    http://www.mulberrytreegallery.co.uk

                    Comment


                      #11
                      If you're happy editing actiniccore.js, there's another small (only 8 bytes long) tweak worth doing.
                      Look for the line:
                      Code:
                      	window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable');
                      And add .focus() to the end of function call. E.g:
                      Code:
                      	window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable').focus();
                      Now you won't have to worry about popups invisibly re-opening under the current product window if prior ones aren't closed.

                      Note that a patched actiniccore.js will be replaced with a clean version every time you update Actinic to a new version. So note down and be prepared to re-do tweaks.
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        Hi Norman

                        Thank-you so much for your support - I'll definately add that to the script.

                        I'll no doubt forget, so will likely re-visit this post in another year or so after running an upgrade, having completely forgotten it all!

                        Had 2 web orders yesterday.....

                        Thanks again,
                        Harry
                        Harry

                        Webmaster and Art Consultant
                        http://www.mulberrytreegallery.co.uk

                        Comment

                        Working...
                        X