You are here

Files in Examples for Developers 6

Primary tabs

File namesort descending Location Namespace Description
ahah_example.css ahah_example/ahah_example.css /* hide the next button when not degrading to non-javascript browser */ html.js .next-button { display: none; } /* Make the next/choose button align to the right of the select control */ #edit-master-dropdown-wrapper { display: inline-block; }
ahah_example.info ahah_example/ahah_example.info name = AHAH example description = Demonstrates how to define AHAH forms. core = 6.x package = Example modules
ahah_example.module ahah_example/ahah_example.module Demo of some varieties of AHAH in Drupal 6. A tutorial based on this module is at http://randyfay.com/ahah.
ahah_example_autocheckboxes.inc ahah_example/ahah_example_autocheckboxes.inc A Self-configure a form based on a select control. Add the number of checkboxes specified in the select.
ahah_example_autotextfields.inc ahah_example/ahah_example_autotextfields.inc Show/hide textfields based on checkbox clicks.
ahah_example_dependent_dropdown.inc ahah_example/ahah_example_dependent_dropdown.inc Show/hide textfields based on checkbox clicks.
ahah_example_simplest_ahah.inc ahah_example/ahah_example_simplest_ahah.inc A Hello-world AHAH. Just swaps out a markup section on submit.
ahah_example_simple_validation.inc ahah_example/ahah_example_simple_validation.inc Demonstrate validation of a textfield using AHAH. This approach allows 'live' validation of a field which degrades gracefully when JavaScript is not available.
batch_example.info batch_example/batch_example.info name = Batch example description = Demonstrates how to define batch operations. core = 6.x package = Example modules
batch_example.install batch_example/batch_example.install Batch example module's install and uninstall code.
batch_example.module batch_example/batch_example.module This is an example outlining how a module can define batches.
block_example.info block_example/block_example.info name = Block example description = Demonstrates how to define blocks. core = 6.x package = Example modules
block_example.install block_example/block_example.install Install, update and uninstall functions for the block_example module.
block_example.module block_example/block_example.module This is an example outlining how a module can define blocks to be displayed on each page.
email_example.info email_example/email_example.info name = E-mail example description = Demonstrates how to use Drupal's e-mail API. core = 6.x package = Example modules
email_example.module email_example/email_example.module Example of how to use Drupal's mail API.
email_example.test email_example/email_example.test Simpletest case for email_example module.
examples.info examples.info name = Examples For Developers description = A variety of example code for you to learn from and hack upon. package = Example modules core = 6.x
examples.module examples.module This file serves as a stub file for the many Examples modules in the Examples for Developers Project which you can download and experiment with.
filter_example.info filter_example/filter_example.info name = Filter example description = Demonstrates how to define filters. core = 6.x package = Example modules
filter_example.module filter_example/filter_example.module This is an example outlining how a module can be used to define a filter to be run on user-submitted content before it is output to the browser.
form_example.info form_example/form_example.info name = Form example description = Demonstrates how to use Drupal's form API. core = 6.x package = Example modules
form_example.module form_example/form_example.module Examples demonstrating the Drupal Form API.
form_example.test form_example/form_example.test test file for form_example module.
form_example_elements.inc form_example/form_example_elements.inc This is an example demonstrating how a module can define custom form elements.
form_example_tutorial.inc form_example/form_example_tutorial.inc This is the Form API Tutorial from the handbook.
menu_example.info menu_example/menu_example.info name = Menu example description = Demonstrates how to use Drupal's menu API. core = 6.x package = Example modules
menu_example.module menu_example/menu_example.module Demonstrates uses of the Menu APIs in Drupal, including hook_menu(), hook_menu_alter(), and hook_menu_link_alter().
menu_example.test menu_example/menu_example.test Tests for menu example module.
nodeapi_example.info nodeapi_example/nodeapi_example.info name = NodeAPI example description = Demonstrates how to alterate existing content types. core = 6.x package = Example modules
nodeapi_example.install nodeapi_example/nodeapi_example.install Nodeapi example module's install and uninstall code.
nodeapi_example.module nodeapi_example/nodeapi_example.module This is an example outlining how a module can be used to extend existing content types.
nodeapi_example.test nodeapi_example/nodeapi_example.test Test case for Testing the node API example module.
node_access_example.info node_access_example/node_access_example.info name = Node access example description = Demonstrates how to restrict access to nodes. core = 6.x package = Example modules
node_access_example.install node_access_example/node_access_example.install Node access example module's install and uninstall code.
node_access_example.module node_access_example/node_access_example.module This is an example illustrating how to restrict access to nodes based on some criterion associated with the user.
node_example.info node_example/node_example.info name = Node example description = Demonstrates how to define content types. core = 6.x package = Example modules
node_example.install node_example/node_example.install Node example module's install and uninstall code.
node_example.module node_example/node_example.module This is an example outlining how a module can be used to define a new node type.
node_example.test node_example/node_example.test Simpletest case for node_example module.
page_example.info page_example/page_example.info name = Page example description = Demonstrates how to define pages. core = 6.x package = Example modules
page_example.module page_example/page_example.module This is an example outlining how a module can be used to display a custom page at a given URL.
page_example.test page_example/page_example.test Test case for Testing the page example module.
README.txt README.txt Examples for Developers http://drupal.org/project/examples This set of modules is intended to provide small working examples of Drupal's features and APIs. The modules strive to be simple, well documented and modification friendly to help…
simpletest_example.info simpletest_example/simpletest_example.info name = SimpleTest example description = Demonstrates how to define SimpleTest tests. core = 6.x package = Example modules
simpletest_example.module simpletest_example/simpletest_example.module An example of simpletest tests to accompany the tutorial at http://drupal.org/node/395012.
simpletest_example.test simpletest_example/simpletest_example.test An example of SimpleTest tests to accompany the tutorial at http://drupal.org/node/395012.
theming_example.info theming_example/theming_example.info name = Theming example description = An example module showing how to use theming. package = Example modules core = 6.x
theming_example.module theming_example/theming_example.module Explains how a module declares theme functions, preprocess functions, and templates.
theming_example.test theming_example/theming_example.test Test case for Testing the theming example module.

Pages

Other projects