Drupal development
Jump to navigation
Jump to search
Themes
- Structure of the .info file
- Default .info values
- Assigning content to regions
- Creating a sub-theme
- JavaScript and jQuery
Templates
Core templates
Forms
For beyond basic content types field layouts;
- http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/7 - programmer's reference to the Drupal Form API
function milk_form_alter(&$form, &$form_state, $form_id) { if ($form_id == 'contact_node_form') { $form['actions']['submit'] = array( '#type' => 'submit', '#value' => t('Send'), ); } }
JavaScript
- Adding JavaScript to your theme or module
- http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_js/7
<?php drupal_add_js(drupal_get_path('theme', 'mytheme') .'/my_js_file.js', 'theme'); ?>
Other
*1*3*5*7*9*11*14*17*20*23*26*29*32*35*38*41*44*47*50*53*56*59*62*65*68
71*74*77*80*83*86*89*92*95*98*101*105*109*113*117*121*125*129*133*137*141*145*149*153