function

119 - To install the PECL uploadprogress library

IThe report of drupal site says that the upload progress module gives you an error.

The error is the following:

"Upload progress Not trained Your server is capable of displaying file upload progress,
but does not have the required libraries.
It is recommended to install the PECL uploadprogress library (prefered) or to install APC."

You need to install the PHP developer package.

$ sudo apt-get install php5-dev

011 - The t() Function

t() is the translation function. It is used to provide multi-language support and also provide a standard method of string substitution. When t() is called, Drupal will check to see if the user's preference language is other than the default(US English). If the user prefers another language, and that language is supported, then Drupal will attempt to translate the string into the user's preferred language.

Example:

007 - Drupal functions for development

The following functions are used for drupal module development.
You should change "hook" of function name to the module name you are creating.

* hook_menu()

* hook_user()

* hook_nodeapi()

* hook_install()

* hook_uninstall()

* hook_schema()

* hook_action_info()

* hook_block()

* hook_help()

* {form_function name}_submit($form, $form_state)

Syndicate content