CCK

query to translate to view relationship

  1. SELECT
  2. d.faculty_area, d.indicator_id,
  3. d1.faculty_area, d1.indicator_id,
  4. d2.faculty_area, d2.indicator_id,
  5. n.*
  6.  FROM `node` n
  7. LEFT JOIN qs_survey_data d ON (d.nid = n.nid)
  8. LEFT JOIN qs_surv

Fix for Fix for Making conditional fields with Drupal, CCK, and jQuery.

  1. Making conditional fields with Drupal, CCK, and jQuery.
  2.  
  3. by MatteusX
  4.  
  5. I'll be posting this as a handbook page at Drupal.org.
  6.  
  7. The Conditional Fields (http://drupal.org/project/conditional_fields

Fix for Insterting cck multiple value fields into a views list. hkhj

  1. ok i have this in my views.tpl.php file
  2.  
  3. <?php print $field_property_images_fid['views_image']['0']['view'] ?>
  4.  
  5. and i did a <?php print_r($field_property_images_fid); ?>
  6.  
  7. and when it printed it

Fix for Fix for Fix for Load array content into multi valued field

  1.     <?php
  2. /**
  3.  * @file
  4.  * isbn2node module
  5.  */
  6.  
  7. // Define the url's for fetching ISBN-data
  8. define('ISBN2NODE_ISBNDB_URL', 'http://isbndb.com/api/books.xml?access_key=%access_key&results=detail

Fix for Fix for Load array content into multi valued field

  1.     <?php
  2. /**
  3.  * @file
  4.  * isbn2node module
  5.  */
  6.  
  7. // Define the url's for fetching ISBN-data
  8. define('ISBN2NODE_ISBNDB_URL', 'http://isbndb.com/api/books.xml?access_key=%access_key&results=detail

Fix for Load array content into multi valued field

  1.          case 'isbn2node_author':
  2.             $authors_array = explode(',', $default_value);
  3.             sort($authors_array);
  4.    
  5.             $rows = 0;
  6.             for ($index = 0; $index < co

Load array content into multi valued field

  1.          case 'isbn2node_author':
  2.             $authors_array = explode(',', $default_value);
  3.             sort($authors_array);
  4.    
  5.             $rows = 0;
  6.             for ($index = 0; $index < co

Fix for looping through CCK Matrix to provide a view for each field

  1.   foreach (array(1,2,3,4) as $matrixrow) {
  2.     foreach (array(1,2) as $matrixcol) {
  3.       $matrixindex = $matrixrow.'_'.$matrixcol;
  4.       $table = array(
  5.         'name' => 'node_field_matrix_data'

Fix for Making conditional fields with Drupal, CCK, and jQuery.

  1. Making conditional fields with Drupal, CCK, and jQuery.
  2.  
  3. by MatteusX
  4.  
  5. I'll be posting this as a handbook page at Drupal.org.
  6.  
  7. The Conditional Fields (http://drupal.org/project/conditional_fields

field_body to replace node field views handler

  1. /**
  2.  * Implementation of hook_views_data_alter().
  3.  *
  4.  * Currently this code is not pulling in content_field_body when the body field is used,
  5.  * instead, it just tries to find node_revisions.field
Syndicate content