Skip to main content

Home/ Drupal for Developers/ Group items tagged example

Rss Feed Group items tagged

Daniel Gregoire

Example Varnish VCL for a Drupal / Pressflow site | Drupal - 1 views

  •  
    Example Varnish configuration, used for optimizing site performance with file and database caching.
Scott Blackburn

Example: My Recent Posts Block | drupal.org - 0 views

Daniel Gregoire

Batch API | drupal.org - 0 views

  •  
    Another Batch API example, handbook
Daniel Gregoire

file_save_upload problem saving into destination folder | drupal.org - 0 views

  •  
    Simple, clean example of adding a file field and saving the file permanently.
Daniel Gregoire

Configuring settings using drupal_execute | drupal.org - 0 views

  •  
    Tagged for D5, but has D6 examples. Using drupal_execute (to be called drupal_form_submit in D7) to set site settings programmatically.
Daniel Gregoire

node_example.module | Drupal API - 0 views

  •  
    Basic creation of programmatic custom content type
Fabola smith

Drupal Web development ,Drupal theming,Drupal Services Blogs | Ebizon NetInfo - 0 views

  •  
    This post enlists the benefits associated with adapting the Drupal technology and also shares examples of popular drupal powered websites on the internet.
Scott Blackburn

Litenode | Development Seed - 0 views

  •  
    Litenode is a new module that uses Views to replace multiple node_loads() on a page. The concept is simple: Views already knows how to grab any of the fields in a single go that many modules load independently in their hook_nodeapi('load'). Why not have Views grab them all at once (as you would do in a table view, for example) and then have a style plugin map the Views fields to all the places where modules expect them to be on a loaded node?
Scott Blackburn

Best Drupal CDN module? | groups.drupal.org - 4 views

  •  
    This is the best and most up-to-date thread concerning CDN integration that I've found. The discussion contains a few examples of what others are doing for their projects.
Leandro Ardissone

Creating a Compound Field Module for CCK in Drupal 6.x, from Poplar ProductivityWare Ar... - 8 views

  •  
    Create a new CCK field.
  • ...1 more comment...
  •  
    This is a nice foray into defining your own custom field types in CCK. Thanks for sharing. However, as regards "multi-groups" in CCK, I've used CCK version 6.x-3.x-dev and it's worth a look.
  •  
    Oh, really? I'm just needing to use multi-groups. Well, multiple-fields field group, or whatever. For example a recipe with ingredients where you can enter: amount (textfield), unit (option field), ingredient name (textfield). Thanks.
  •  
    when your ready to go to drupal 7 here is the article for that http://www.phase2technology.com/node/1495
Daniel Gregoire

drupal_execute | DrupalContrib - 0 views

  •  
    Actual documentation for drupal_execute
Daniel Gregoire

Programmatically Create, Insert, and Update CCK Nodes | doug | CivicActions - 2 views

  • Always use content_database_info to get the database info. For example:   $field1 = content_database_info(content_fields('yourfield1', 'yourtable'));  $table1 = $field1['table'];  $column1 = $field1['columns']['value']['column'];  $field2 = content_database_info(content_fields('yourfield2', 'yourtable'));  $table2 = $field2['table'];  $column2 = $field2['columns']['value']['column'];  if ($table1 == $table2) {    $sql = "SELECT n.*, t1.$column1, t1.$column2 FROM {node} n ";    $sql .= " INNER JOIN {$table1} t1 ON t1.nid = n.nid AND t1.vid = n.vid";  }  else {    $sql = "SELECT n.*, t1.$column1, t2.$column2 FROM {node} n ";    $sql .= " INNER JOIN {$table1} t1 ON t1.nid = n.nid AND t1.vid = n.vid";    $sql .= " INNER JOIN {$table2} t2 ON t2.nid = n.nid AND t2.vid = n.vid";  }  $sql .= " WHERE n.nid = %d";
  •  
    Important point: Using special functions to let CCK get the proper name of the field (allowing users to make CCK changes in the UI and let your code continue to work).
1 - 13 of 13
Showing 20 items per page