| Commit | Line | Data |
|---|---|---|
| 65404a61 EM |
1 | CHANGES DURING D6 UPDATE TO PANELS 3 |
| 2 | ||
| 3 | ALL PLUGINS | |
| 4 | =========== | |
| 5 | ||
| 6 | Function to advertise directory for plugins: | |
| 7 | hook_ctools_plugin_directory($module, $plugin) | |
| 365a20fd EM |
8 | |
| 9 | LAYOUTS | |
| 10 | ======= | |
| 11 | ||
| 12 | All layouts should use templates | |
| 13 | 'icon' now uses the defined path and should no longer have path built in. | |
| 14 | 'css' now uses defined path and should no longer have path built in. | |
| 15 | DOCUMENTATION NOTE: You can just copy any layout css file directly to your theme. It should no longer be in theme/layouts directory. | |
| dc7d6cfc | 16 | administrative view of a layout can now have its own theme function. |
| 365a20fd EM |
17 | |
| 18 | CONTENT TYPES | |
| 19 | ============= | |
| 20 | ||
| 21 | panels_node_legacy module renamed to panels_node_content.module | |
| dcc5ebb8 EM |
22 | -- NEED UPDATE TO RENAME IN SYSTEM TABLE. |
| 23 | ||
| d57d6d9d EM |
24 | 'title callback' now has $subtype as the first argument. |
| 25 | 'render' now has $subtype as the first argument. | |
| dc7d6cfc EM |
26 | 'content_types' now 'content types'. |
| 27 | New 'content type' to fetch information a single content type so we don't have | |
| 28 | to load all of them all the time. | |
| c8ba159b EM |
29 | New 'defaults' array in either the type or subtype declaration to provide |
| 30 | defaults for the add form. | |
| d57d6d9d | 31 | |
| dcc5ebb8 EM |
32 | CONTEXTS |
| 33 | ======== | |
| 34 | ||
| 35 | Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state) | |
| dc7d6cfc | 36 | Moved to CTOOLS |
| dcc5ebb8 EM |
37 | |
| 38 | RELATIONSHIPS | |
| 39 | ======== | |
| 40 | ||
| 41 | Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state) | |
| dc7d6cfc | 42 | Moved to CTOOLS |
| dcc5ebb8 EM |
43 | |
| 44 | ARGUMENTS | |
| 45 | ======== | |
| 46 | ||
| 47 | Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state) | |
| dc7d6cfc | 48 | Moved to CTOOLS |
| a4930cbe SB |
49 | |
| 50 | When argument plugins fail to load a context at runtime, they must now return | |
| 51 | error codes instead of FALSE or NULL (previously the practice). The error codes, | |
| 52 | and their respective documentation, can be found at the top of panels.module. |