Drupal 7 Module Development phần 4 doc
... chapter. In Drupal 6, drupal_ get_form() returned a fully rendered HTML form. This has been changed in Drupal 7 in order to allow more exibility in theming and easier form manipulation. drupal_ get_form() ... the form elements dened by Drupal as well as the properties each one implements, visit: http://api .drupal. org/api /drupal/ developer topics forms_api_reference.html /7...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 5 doc
... replacement. In Chapter 7, Creating New Fields, we will begin examining Drupal 7& apos;s new Field API, the core implementation of what was formerly the CCK module. Chapter 6 [ 171 ] Submit callback The ... Save the new artwork. drupal_ write_record('artwork', $artwork); Building an Admin Interface [ 144 ] Implementing hook_mail() In the last section, when we called drupal...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 8 doc
... exception handling, in Drupal 7 we can write a simple extension module that will modify the behavior of the parent module. • • Chapter 10 [ 301 ] Drupal specific JavaScript Within Drupal there are ... Access The Devel Node Access module is part of the Devel module suite (http:/ /drupal. org/project/devel ). The module is maintained by salvis (http:/ /drupal. org/ user/829...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 9 docx
... see the following site: http:/ /drupal. org/node/ 344 806 Temporary le storage is typically only used by Drupal for internal operations. When les are rst saved by Drupal, they are rst written ... effect will be available for use in Image Styles, the Drupal 7 implementation of the Imagecache module. Files in Drupal When you installed Drupal for the rst time, you probably...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 1 pdf
... a module 339 Summary 342 Chapter 12: Installation Profiles 343 Introducing installation profiles 343 Drupal distributions 344 Setting up a distribution 344 Standard and minimal profiles 344 Creating ... directory 344 Profile modules and themes 345 Creating profiles 345 Enabling modules 3 47 The install task system 348 Choosing an install task or using hook_install 348 Anatomy...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 2 pptx
... Block API is documented in the ofcial Drupal 7 API documentation, and even includes an example module: http://api .drupal. org/api /drupal/ developer examples block_example .module /7. To keep our ... for use by developers. Doc blocks in action: api .drupal. org Drupal& apos;s doc blocks are used to generate the denitive source of Drupal API documentation at http://api .d...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 3 potx
... item_list theme hook. Drupal s Theme Layer [ 76 ] A similar problem troubled module developers in Drupal 6. It was impossible to call drupal_ add_css() or drupal_ add_js() in a MODULE_ preprocess_page() ... template_preprocesss_HOOK() 3. MODULE_ preprocess() 4. MODULE_ preprocess_HOOK() 5. THEME_preprocess() 6. THEME_preprocess_HOOK() 7. template_process() 8. template_processs_HO...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 6 potx
... that you understand the basics of Drupal& apos;s user access system, we can explore how modules can extend that system. First, a little history lesson. Until Drupal 7, hook_permission() was known ... search'), ), ); } The module declares three separate permissions in a manner typical to Drupal modules. The rst permission is for administrative conguration of the module. T...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 7 pdf
... name="form_build_id" id="form- 049 070 cff46eabd3b069f980066b7ad4" value="form- 049 070 cff46eabd3b069f980066b7ad4" /> <input type="hidden" name="form_token" ... access rules. In Drupal 7, any module may declare node access rules. This is a change from the earlier versions, and it provides some of the most powerful tools for...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 10 pps
... function 377 ltering about 376 guidelines 377 tools 377 versus escaping 376 ltering tools, Drupal about 377 check_markup() 377 check_plain() 377 lter_xss() 377 lter_xss_admin() 377 rst_block_info() ... 23 dimeld .module 185 distributions, Drupal about 344 modules, bundling 345 prole directory 344 setting up 344 themes 345 doc block 36 documentation block. See doc...
Ngày tải lên: 14/08/2014, 11:20