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

泄露秘密 提交于 2019-12-13 11:15:50

问题


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



来源:https://stackoverflow.com/questions/13644650/how-to-add-my-own-php-code-in-drupal

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!