We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38705
    • 101 Posts
    Hi,

    When i try to create a custom CMP with migxdb i follow the next steps:

    - Go to MIGX,
    - Create package > files are created
    - Save XML > XML file is correct, correctly saved
    - Parse schema > succes message, schema files are correctly parsed
    - Create tables > succes message, NO tables are created....
    (so after some retries i create them by hand...)

    - Add CMP to the actions: migx - index + &config=jevenementen
    - After reloading the manager and clicking the menu item i get a screen like the attached image:
    no header and tabs; only: MIGX management and a completely empty "row"

    Can anybody tell me what i am doing wrong?

    This question has been answered by Bruno17. See the first response.

      Addict since 2012....
      • 4172
      • 5,888 Posts
      can you do an export of your MIGX-configuration and post it here, please?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 38705
        • 101 Posts
        I hope you mean this:

        {
          "formtabs":"[]",
          "contextmenus":"",
          "actionbuttons":"",
          "columnbuttons":"",
          "filters":"[]",
          "extended":{
            "migx_add":"Voeg een evenement toe",
            "formcaption":"",
            "update_win_title":"",
            "win_id":"jevenementen",
            "maxRecords":"",
            "addNewItemAt":"bottom",
            "multiple_formtabs":"",
            "extrahandlers":"",
            "packageName":"jevenementen",
            "classname":"JEvenementen",
            "task":"",
            "getlistsort":"",
            "getlistsortdir":"",
            "use_custom_prefix":"0",
            "prefix":"",
            "grid":"",
            "gridload_mode":1,
            "check_resid":1,
            "check_resid_TV":"",
            "join_alias":"",
            "has_jointable":"yes",
            "getlistwhere":"",
            "joins":"",
            "cmpmaincaption":"Evenementen",
            "cmptabcaption":"Evenementen",
            "cmptabdescription":"Evenementen toevoegen of bewerken",
            "cmptabcontroller":"",
            "winbuttons":"",
            "onsubmitsuccess":"",
            "submitparams":""
          },
          "columns":[
            {
              "MIGX_id":2,
              "header":"Nummer",
              "dataIndex":"ev_id",
              "width":100,
              "sortable":"false",
              "show_in_grid":1,
              "renderer":"",
              "clickaction":"",
              "selectorconfig":"",
              "renderchunktpl":"",
              "renderoptions":"[]"
            },
            {
              "MIGX_id":3,
              "header":"Jaar",
              "dataIndex":"ev_jaar",
              "width":100,
              "sortable":true,
              "show_in_grid":1,
              "renderer":"",
              "clickaction":"",
              "selectorconfig":"",
              "renderchunktpl":"",
              "renderoptions":"[]"
            },
            {
              "MIGX_id":1,
              "header":"Naam",
              "dataIndex":"ev_naam",
              "width":200,
              "sortable":true,
              "show_in_grid":1,
              "renderer":"",
              "clickaction":"",
              "selectorconfig":"",
              "renderchunktpl":"",
              "renderoptions":"[]"
            }
          ]
        }


        if not can you put me in the right direction?
          Addict since 2012....
          • 4172
          • 5,888 Posts
          the configuration seems to be ok.
          see screen
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 38705
            • 101 Posts
            That is the table i want but do not get :-(

            Wat could be wrong?
              Addict since 2012....
              • 4172
              • 5,888 Posts
              is this the name of your configuration: jevenementen ?

              what happens, when you go to the MIGX - CMP and you change

              &configs=packagemanager||migxconfigs||setup

              in the url to

              &configs=jevenementen
                -------------------------------

                you can buy me a beer, if you like MIGX

                http://webcmsolutions.de/migx.html

                Thanks!
                • 38705
                • 101 Posts
                Did what you said. And: Great, now we are a step further
                see the shot.
                  Addict since 2012....
                • discuss.answer
                  • 4172
                  • 5,888 Posts
                  seems 'jevenementen' is not the name of your MIGX-configuration, is it?
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 38705
                    • 101 Posts
                    Aha! That solved it! At formtab settings I used an other name as the package. Changed it to "jevenementen" and bingo...
                    Thanx Bruno!
                      Addict since 2012....
                      • 38705
                      • 101 Posts
                      However, still got a problem...

                      Whenever I click "create tables" button I get a succes message but no tables are created...
                        Addict since 2012....