Announcement

Collapse
No announcement yet.

Music To Your Ears

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

    #31
    Now that looks bloomin' excellent Mr C!!!!!

    Comment


      #32
      Ah, price bands not quite right, doesn't have a from and to. But the way it works is really good.

      Comment


        #33
        However, the prices display thus:



        But the client wants this:



        How can I make it so?
        Jonathan Chappell
        Website Designer
        SellerDeck Website Designer
        Actinic to SellerDeck upgrades
        Graphicz Limited - www.graphicz.co.uk

        Comment


          #34
          Just revert those two layouts to factory settings. Though getting the "Under ..." may take a bit of work.

          But I'm a little confused...

          When you contacted Support in April wanting to show just the minimum value in the price ranges (which lead to these changes), it seems that you were working on Joel's site as you said it "worked like a charm" and gave a link to "...acatalog/Beyerdynamic.html" which appears to be one of his pages.

          I guess that's your right to vary the spec, Joel
          Hugh Gibson
          CTO - Sellerdeck, part of ClearCourse

          Comment


            #35
            Hi Hugh,

            No, this has always been what I wanted on how the filtering worked. It doesn't make sense to not have a from and to value.

            Joel

            Comment


              #36
              But I'm a little confused...
              It did/does work like a charm in its non-javascript existance as was (and in page preview)
              Now we have sorted out the filtering so the Javascript cuts in correctly the label codes no longer apply.
              Jonathan Chappell
              Website Designer
              SellerDeck Website Designer
              Actinic to SellerDeck upgrades
              Graphicz Limited - www.graphicz.co.uk

              Comment


                #37
                Restoring layouts to factory defaults gets us almost to where we want as in post #36 above.

                I have tried various ways to display 'Under - ' when the minimum value is '£0.00'.

                I have basically tried a BlockIf in the layouts that seem to be involved as follows:

                Filter Price Band Array


                Filter Price Band Range:


                I have tried various == and != in the blockif:

                FilterPriceBandMin == '£0.00' and FilterPriceBandMin != '£0.00'
                FilterPriceBandMin == '0.00' and FilterPriceBandMin != '0.00'
                FilterPriceBandMin == 'True' and FilterPriceBandMin != 'True'

                Without success

                Can anyone help me with a suggestion as to how to word the Conditional?

                Thanks
                Jonathan Chappell
                Website Designer
                SellerDeck Website Designer
                Actinic to SellerDeck upgrades
                Graphicz Limited - www.graphicz.co.uk

                Comment


                  #38
                  The labels come from var pg_arrayPriceBandRange from Filter Price Band Range layout. Optionally you may wish to change Checkbox Filter Price Band layout used when Javascript is not enabled.
                  Peblaco

                  Comment


                    #39
                    http://www.graphicz.gb.com/mtyez/cgi...&Action=Search

                    Thanks so much Louise

                    It obviously needed that expert touch.

                    Best wishes
                    Jonathan Chappell
                    Website Designer
                    SellerDeck Website Designer
                    Actinic to SellerDeck upgrades
                    Graphicz Limited - www.graphicz.co.uk

                    Comment


                      #40
                      You could also use the variable PriceBandMinJS and compare it with 0.0:

                      Code:
                      <actinic:variable name="FilterPriceBandMinJS" /> == 0.0
                      This is independent of the currency formatting so is more general.
                      Hugh Gibson
                      CTO - Sellerdeck, part of ClearCourse

                      Comment

                      Working...
                      X