How to add my own PHP code in Drupal [closed]

2019-09-21 18:49发布

问题:

First of all i would like to say that i dont know little bit of Drupal. But i have a requirement that i should integrate a particular module (its not a drupal module) from one stand alone website to drupal site.

The module will get name and email id as a input from the user and the system will generate one key and send the key to user's provided email id. This module already has been implemented i just wanted to place it on drupal site. How should I do that.

Thanks in advance.

回答1:

Check out the module developers guide: http://drupal.org/developing/modules

And the drupal "installing modules" pages: http://drupal.org/documentation/install/modules-themes

You can also add code to "theme" your output by using template.php i theme directory: http://drupal.org/node/173880



标签: php drupal