Drupal 7 Module Development phần 9 docx

Drupal 7 Module Development phần 9 docx

Drupal 7 Module Development phần 9 docx

... 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 got the following ... http://api. drupal. org/api /drupal/ includes stream_wrappers.inc /7 Note that in our example we have dened our wrapper as STREAM_WRAPPERS_ READ_VISIBLE . This means it is read onl...

Ngày tải lên: 14/08/2014, 11:20

41 249 0
Drupal 7 Module Development phần 1 pdf

Drupal 7 Module Development phần 1 pdf

... First Module 25 Our goal: a module with a block 25 Creating a new module 26 Module names 27 Where does our module go? 27 Creating the module directory 29 Writing the .info file 29 Creating a module ... else? 89 Summary 90 Chapter 4: Theming a Module 91 Reusing a default theme implementation 91 Drupal blocks revisited 93 Theming a Drupal block 98 Render elemen...

Ngày tải lên: 14/08/2014, 11:20

42 397 0
Drupal 7 Module Development phần 2 pptx

Drupal 7 Module Development phần 2 pptx

... http:/ /drupal. org/project/devel Creating Your First Module [ 32 ] The next directive is the core directive: core = 7. x. This simply declares which main-line version of Drupal is required by the module. All Drupal 7 modules will have ... main module code is in MODULENAME/MODULENAME .module, a test should be in MODULENAME/MODULENAME.test. The testing framework will automatica...

Ngày tải lên: 14/08/2014, 11:20

41 399 0
Drupal 7 Module Development phần 3 potx

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_HOO...

Ngày tải lên: 14/08/2014, 11:20

41 450 0
Drupal 7 Module Development phần 4 doc

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 dened 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

41 350 0
Drupal 7 Module Development phần 5 doc

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

41 586 0
Drupal 7 Module Development phần 6 potx

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 conguration of the module. T...

Ngày tải lên: 14/08/2014, 11:20

41 256 0
Drupal 7 Module Development phần 7 pdf

Drupal 7 Module Development phần 7 pdf

... name="form_build_id" id="form-0 49 070 cff46eabd3b069f980066b7ad4" value="form-0 49 070 cff46eabd3b069f980066b7ad4" /> <input type="hidden" name="form_token" ... name="form_token" id="edit-aggregator-admin- remove-feed-form-token" value="48b0 294 050ef62b7d5 577 8cf 199 2f326" /> <input type=&q...

Ngày tải lên: 14/08/2014, 11:20

41 372 0
Drupal 7 Module Development phần 8 doc

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/8 29...

Ngày tải lên: 14/08/2014, 11:20

41 369 0
Drupal 7 Module Development phần 10 pps

Drupal 7 Module Development phần 10 pps

... tools, Drupal about 377 check_markup() 377 check_plain() 377 lter_xss() 377 lter_xss_admin() 377 rst_block_info() function 43 fopen() function 3 19, 324 foreach() loop 190 Form API about 126 drupal_ get_form() ... le_link 92 html_tag 92 image 92 image_style 92 item_list 93 links 93 more_link 93 pager 93 progress_bar 93 registering 1 07 table 93 user_list 93...

Ngày tải lên: 14/08/2014, 11:20

50 244 0
Từ khóa:
w