Skip to content
Sebastian G. Marinescu edited this page Feb 22, 2016 · 4 revisions

Notes on the CMP-Creation with MIGxDB:

  • in a custom CMP, if you want to use the trash-view (Actionbuttons -> toggletrash), make sure to use the Contextmenu: recall_remove_delete and not: remove. Also your schema needs to have a field "published" and this field has to be set up in the columns-tab (you can there hide it, but it is needed to work).

  • in fact every field you want to be able to influence in your grid must be set up as a column

  • when rendering out via migxLoopCollection, you must tell the snippet to drop unpublished items

&where=`{"published":"1"}`
  • when creating a migx-package via the migx-packagemanager you must take care of transfering the created files in /core/components/myPackage/* yourself and after transfering creating the tables (best also with the packagemanager) .... OR ... you could use https://github.com/Bruno17/migxElementsManager for this
Clone this wiki locally