Wersja 1.7 (checked in on 2007/10/05 at 18:12:12 by drewish)
This is an example outlining how a module can be used to extend existing content types.
We will add the ability for each node to have a "rating," which will be a number from one to five.
| Nazwa | Opis | |
|---|---|---|
| nodeapi_example_form_alter | Implementation of hook_form_alter(). | |
| nodeapi_example_nodeapi | Implementation of hook_nodeapi(). | |
| nodeapi_example_theme | Implementation of hook_theme(). | |
| theme_nodeapi_example_rating | A custom theme function. | Niestandardowa funkcja themująca. |