Drupal 7 Module Development phần 3 potx
... template_preprocesss_HOOK() 3. MODULE_ preprocess() 4. MODULE_ preprocess_HOOK() 5. THEME_preprocess() 6. THEME_preprocess_HOOK() 7. template_process() 8. template_processs_HOOK() 9. MODULE_ process() 10. MODULE_ process_HOOK() 11. ... blog module, and re-purpose it for a single blog that uses Drupal& apos;s default article content type. If you try out this chapter's code, you...
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 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 ... of Drupal, tokens were implemented using the contributed module named, not surprisingly, Token. This functionality proved to be so popular and widely used that it was included...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 7 pdf
... 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 Drupal development. In this ... 235 ] Handling AJAX callbacks securely Drupal 7 comes with an enhanced AJAX framework that makes it easy to build interactive display elements for pages and forms. The security proble...
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 [ 30 1 ] Drupal specific JavaScript Within Drupal there are ... be an h3 tag instead of an h2 tag? This is where Drupal JavaScript theming comes in. A module should provide a theming function within the Drupal. theme.prototype namespace...
Ngày tải lên: 14/08/2014, 11:20
Drupal 7 Module Development phần 9 docx
... 11 [ 33 3 ] This is where you can start adding new manipulations (or, in Drupal parlance, 'effects') to your image. As you can see from the drop-down menu shown, all of the standard Drupal ... 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 prob...
Ngày tải lên: 14/08/2014, 11:20