Announcement

Collapse
No announcement yet.

Capatalize words script but how.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Post Act_Order01.html (zip and attach the file or copy it to Act_Order01.txt) so I can look at it.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #47
      .txt Attached
      Attached Files
      David

      Comment


        #48
        That page works just fine here, either with the Upper Case mod, or the Capitalize one in use.

        However I see a lot of other code to do with Coupons that's not standard in Actinic 6.

        I tested using 6.1.5.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #49
          Thats because I am now using V 7.01
          David

          Comment


            #50
            Grrr....!!! I've been testing using V6 as this is the V6 Forum.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #51
              Ooops

              I was the only capitalization stuff i found when I did a search

              Sorry
              David

              Comment


                #52
                Well it still works fine for me in V7.0.1. Both with upper case and the capitalization script.

                I suggest making some obvious change to Act_Order01.html and making sure you can see this on the Site, to be sure that you're using an up-to-date page.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #53
                  I have dine this by increasing the maxlength="201" instead of 200

                  I can check that it is updated by doing a 'veiw scorce' on the page. It does indeed show that the new max length is now 201.

                  However the county part is not cached and the onchange="this.value=this.value.toUpperCase();"> does not show up



                  too weird
                  David

                  Comment


                    #54
                    Why not use a pristine Act_Order01.html and see if you still have problems with the caching of the County data. This will let you see if the problems in that Template or in the Actinic scripts.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #55
                      I will give it a try, along with another Act_Order02.html that also wont work
                      David

                      Comment


                        #56
                        well, managed to do that OK

                        definatly rules out anything to do with Act_Order01.html or Act_Order02.html

                        I substituted a vigin script which operated OK then added the capitals mod and it still would not work with the county line

                        I think the clue lies with the fact it will not cache this line too

                        Will have to think of what else could have control ???
                        David

                        Comment


                          #57
                          Actinic keeps pulling the county from the locations table whenever you select the order. I don't know why but I use Mole End's product to capitalize the address, but if I select the order customer information again the country is back to mixed case and stored that way again.

                          With all this pain and suffering, would it make more sense to capitalize on the server? OrderScript.pl has many lines that look like this:

                          Code:
                          $::g_BillContact{'ADDRESS1'} 		= $::g_InputHash{'INVOICEADDRESS1'};
                          You can add the uc funtion to each line so they would like like this:
                          Code:
                          $::g_BillContact{'ADDRESS1'} 		= uc $::g_InputHash{'INVOICEADDRESS1'};
                          But even with this, selecting the order customer information would still mix case the country. You would have to edit the locations table with all caps countries.
                          Bob Ladden

                          Comment


                            #58
                            Thanks for your reply Bob

                            I have to say that it is more the mystery of the Act_Order01.html, that I am using, not actually appearing properly which bugs me

                            I Know that there might be other ways of doing this but if Norman can get it to work on his cart then I want to find out where my problem lies.

                            It also must be annoying for my customers that never have their county cached and always have to re type it.
                            David

                            Comment


                              #59
                              Hi,

                              Just to say have just implemented rmladdens script change which works perfectly EXCEPT (and rather strangely) the delivery postcode which for some reason will not convert to uppercase!

                              Any suggestions anybody? Code below:-

                              $::g_ShipContact{'SALUTATION'} = uc $::g_InputHash{'DELIVERSALUTATION'};
                              $::g_ShipContact{'NAME'} = uc $::g_InputHash{'DELIVERNAME'};
                              $::g_ShipContact{'JOBTITLE'} = uc $::g_InputHash{'DELIVERJOBTITLE'};
                              $::g_ShipContact{'COMPANY'} = uc $::g_InputHash{'DELIVERCOMPANY'};
                              $::g_ShipContact{'ADDRESS1'} = uc $::g_InputHash{'DELIVERADDRESS1'};
                              $::g_ShipContact{'ADDRESS2'} = uc $::g_InputHash{'DELIVERADDRESS2'};
                              $::g_ShipContact{'ADDRESS3'} = uc $::g_InputHash{'DELIVERADDRESS3'};
                              $::g_ShipContact{'ADDRESS4'} = uc $::g_InputHash{'DELIVERADDRESS4'};
                              $::g_ShipContact{'POSTALCODE'} = uc $::g_InputHash{'DELIVERPOSTALCODE'};
                              $::g_ShipContact{'COUNTRY'} = uc $::g_InputHash{'DELIVERCOUNTRY'};
                              $::g_ShipContact{'PHONE'} = $::g_InputHash{'DELIVERPHONE'};
                              $::g_ShipContact{'FAX'} = $::g_InputHash{'DELIVERFAX'};
                              $::g_ShipContact{'EMAIL'} = $::g_InputHash{'DELIVEREMAIL'};
                              $::g_ShipContact{'USERDEFINED'} = uc $::g_InputHash{'DELIVERUSERDEFINED'};

                              Dave
                              Cheers

                              David
                              Located in Edinburgh UK

                              http://twitter.com/mcfinster

                              Comment


                                #60
                                Dave,

                                You might be better opening a new thread in the V7 forum regarding your problems. V7 bugs are being fixed so you'll get a better response there.

                                Also this is now the longest thread on the Forum so it may be a bit hard for others to follow.
                                Norman - www.drillpine.biz
                                Edinburgh, U K / Bitez, Turkey

                                Comment

                                Working...
                                X