如何在Drupal中添加我自己的PHP代码 [英] How to add my own PHP code in Drupal
问题描述
该模块将获取用户的姓名和电子邮件ID作为输入,系统将生成一个密钥,并将密钥发送给用户提供的电子邮件ID。这个模块已经实现了,我只想把它放在drupal站点上。
提前感谢
查看模块开发人员指南:
http://drupal.org/developing/modules
和drupal安装模块页面:
http://drupal.org/documentation/install/modules-themes
您还可以将代码添加到主题的输出中使用template.php我的主题目录:
http://drupal.org/node/173880
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.
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
这篇关于如何在Drupal中添加我自己的PHP代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!