官术网_书友最值得收藏!

Summary

In this chapter we created our first module. We created our first .info and .module files. We implemented our first two hooks, hook_block() and hook_help(). We installed our module, and then went on to extend the module to access an outside XML source for content.

We also looked at several important Drupal functions, with t(), l(), watchdog(), and check_plain() being the most important functions of the bunch.

In the coming chapters, we will build on the concepts covered in this chapter. Next, we will turn to the theming system to learn how to cleanly separate layout and styling information from the rest of the code.

主站蜘蛛池模板: 泾阳县| 萍乡市| 鄂伦春自治旗| 东光县| 昌宁县| 方正县| 赣州市| 昌都县| 保山市| 洪江市| 泰兴市| 加查县| 正宁县| 绥德县| 大冶市| 略阳县| 江阴市| 香格里拉县| 内黄县| 青州市| 永济市| 新民市| 广安市| 金山区| 荔波县| 延长县| 闽清县| 水富县| 承德县| 息烽县| 元谋县| 冕宁县| 西贡区| 敦化市| 潞城市| 阆中市| 新沂市| 三穗县| 鹤山市| 讷河市| 张家川|