You are here

README.txt in Fasttoggle 5

Same filename and directory in other branches
  1. 8.3 README.txt
  2. 6 README.txt
  3. 7 README.txt
fasttoggle.module
=================

This module is a result of SoC 2006 from the Administration usability project.
It adds "fast toggling" capabilities to Drupal so that you can perform common
tasks a lot quicker because they are managed via AJAX callbacks instead of
loading new pages every time you unpublish a node for example.

Currently, fasttoggle.module has these functionalites:

* Add publish/unpublish, sticky/not sticky and promoted/not promoted links to
  each node
* Add publish/unpublish links to the content listing in the administration
  section
* Add block/unblock links to the user listing in the administration section


CUSTOMIZING LABELS
==================
In addition to selecting a different predefined set of labels that show
actions instead of the current state, you can also define your own set of
labels. In your settings.php, you can add:

$conf = array(
  'fasttoggle_labels' => array(
    'node_status' => array(0 => 'show', 1 => 'hide'),
  ),
);

to change the label for toggling the node status. The fasttoggle options this
module ships with by default are:
    - node_status
    - node_sticky
    - node_promote
    - comment_admin
    - user_status
    - comment_status

For further details on the syntax, see the fasttoggle_fasttoggle_labels()
function. Additionally, you can write modules that override these strings by
implementing hook_fasttoggle_labels().

After you added your custom strings, make sure to select them on the
configuration page.

File

README.txt
View source
  1. fasttoggle.module
  2. =================
  3. This module is a result of SoC 2006 from the Administration usability project.
  4. It adds "fast toggling" capabilities to Drupal so that you can perform common
  5. tasks a lot quicker because they are managed via AJAX callbacks instead of
  6. loading new pages every time you unpublish a node for example.
  7. Currently, fasttoggle.module has these functionalites:
  8. * Add publish/unpublish, sticky/not sticky and promoted/not promoted links to
  9. each node
  10. * Add publish/unpublish links to the content listing in the administration
  11. section
  12. * Add block/unblock links to the user listing in the administration section
  13. CUSTOMIZING LABELS
  14. ==================
  15. In addition to selecting a different predefined set of labels that show
  16. actions instead of the current state, you can also define your own set of
  17. labels. In your settings.php, you can add:
  18. $conf = array(
  19. 'fasttoggle_labels' => array(
  20. 'node_status' => array(0 => 'show', 1 => 'hide'),
  21. ),
  22. );
  23. to change the label for toggling the node status. The fasttoggle options this
  24. module ships with by default are:
  25. - node_status
  26. - node_sticky
  27. - node_promote
  28. - comment_admin
  29. - user_status
  30. - comment_status
  31. For further details on the syntax, see the fasttoggle_fasttoggle_labels()
  32. function. Additionally, you can write modules that override these strings by
  33. implementing hook_fasttoggle_labels().
  34. After you added your custom strings, make sure to select them on the
  35. configuration page.