Announcement

Collapse
No announcement yet.

Which one is the active Framework?

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

    Which one is the active Framework?

    So how do you tell which framework that has been applied, is the active framework? Do you go by the most recent Last Applied Date? Yeah, I have a number of different frameworks in a dev store and I'm trying to figure out which once to save before I upload another one
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Which one is the active Framework?

    Hi Leslie

    I have added a bug for this issue. You can go by the date in the last applied column, but as that column doesn’t have a time attached if you apply more than one in the same day it doesn’t help much.

    -Eric
    Eric Foresman
    Software Tester
    Miva Merchant
    http://www.mivamerchant.com/
    [email protected]

    Comment


      #3
      Re: Which one is the active Framework?

      can you add that this be a query accessible from modules please!!!
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment


        #4
        Re: Which one is the active Framework?

        Hi Bruce

        Can’t you query for the framework column of the stores table? That will have the code of the last applied framework to that store in it.

        -Eric
        Eric Foresman
        Software Tester
        Miva Merchant
        http://www.mivamerchant.com/
        [email protected]

        Comment


          #5
          Re: Which one is the active Framework?

          sure...but we REALLY don't like using non-api functions against the standard databases.
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


            #6
            Re: Which one is the active Framework?

            I have to second that request of what Bruce said about wanting to use an API function before a direct query.

            When you query the table directly, and it's not a table I control, AKA, a native Miva standard table, when that table changes, My direct query may become invalid. Troubleshooting this scenario becomes difficult and potentially becomes a lousy experience for a store owner because the 3rd party module no longer works.

            I haven't looked, but is there a such thing as a database/table version that could be queried? Having a trigger to not use an older query method could be useful. I thought about using the API version, but that isn't specific to a database/table change.

            Thanks,

            Scott
            Need to offer Shipping Insurance?
            Interactive Design Solutions https://www.myids.net
            MivaMerchant Business Partner | Certified MivaMerchant Web Developer
            Competitive Rates, Custom Modules and Integrations, Store Integration
            AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
            My T-shirt Collection is mostly MivaCon T-shirts!!

            Comment


              #7
              Re: Which one is the active Framework?

              What about using library functions such as Store_Load_ID?
              Kent Multer
              Magic Metal Productions
              http://TheMagicM.com
              * Web developer/designer
              * E-commerce and Miva
              * Author, The Official Miva Web Scripting Book -- available on-line:
              http://www.amazon.com/exec/obidos/IS...icmetalproducA

              Comment


                #8
                Re: Which one is the active Framework?

                Store_load_code or Store-load_id should do it! Thanks Kent.

                Scott
                Need to offer Shipping Insurance?
                Interactive Design Solutions https://www.myids.net
                MivaMerchant Business Partner | Certified MivaMerchant Web Developer
                Competitive Rates, Custom Modules and Integrations, Store Integration
                AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
                My T-shirt Collection is mostly MivaCon T-shirts!!

                Comment

                Working...
                X