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

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.

主站蜘蛛池模板: 清河县| 郴州市| 桦川县| 平江县| 临沭县| 江阴市| 德令哈市| 饶阳县| 丹寨县| 清流县| 琼中| 永寿县| 凤山市| 咸宁市| 凯里市| 滦平县| 札达县| 安吉县| 齐河县| 阿荣旗| 长岭县| 武夷山市| 吴川市| 都昌县| 禄丰县| 东乡县| 奉贤区| 曲松县| 郧西县| 乌拉特中旗| 十堰市| 晋宁县| 东港市| 东莞市| 甘孜县| 阿拉尔市| 安国市| 泰安市| 弋阳县| 浪卡子县| 阜平县|