You are here

D6UPDATE.txt in Panels 6.3

Same filename and directory in other branches
  1. 6.2 D6UPDATE.txt
CHANGES DURING D6 UPDATE TO PANELS 3

ALL PLUGINS
===========

Function to advertise directory for plugins:
  hook_ctools_plugin_directory($module, $plugin)

LAYOUTS
=======

All layouts should use templates
'icon' now uses the defined path and should no longer have path built in.
'css' now uses defined path and should no longer have path built in.
DOCUMENTATION NOTE: You can just copy any layout css file directly to your theme. It should no longer be in theme/layouts directory.
administrative view of a layout can now have its own theme function.

CONTENT TYPES
=============

panels_node_legacy module renamed to panels_node_content.module
-- NEED UPDATE TO RENAME IN SYSTEM TABLE.

'title callback' now has $subtype as the first argument.
'render' now has $subtype as the first argument.
'content_types' now 'content types'.
New 'content type' to fetch information a single content type so we don't have
to load all of them all the time.
New 'defaults' array in either the type or subtype declaration to provide
defaults for the add form.

CONTEXTS
========

Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state)
Moved to CTOOLS

RELATIONSHIPS
========

Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state)
Moved to CTOOLS

ARGUMENTS
========

Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state)
Moved to CTOOLS

When argument plugins fail to load a context at runtime, they must now return
error codes instead of FALSE or NULL (previously the practice). The error codes,
and their respective documentation, can be found at the top of panels.module.

File

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