Specific themes instructions

To make work the picture module in Omega 4 theme the order of breakpoint change:

; ========================================
; Breakpoints
; ========================================

breakpoints[tv] = only screen and (min-width: 3456px)
breakpoints[wide] = (min-width: 1220px)
breakpoints[normal] = (min-width: 980px)
breakpoints[narrow] = (min-width: 740px)
breakpoints[mobile] = (min-width: 0px)

MigrateDestinationNodeRevision

To migrate content into Drupal node revisions, use the MigrateDestinationNodeRevision class (assuming you've already migrated the nodes previously using the MigrateDestinationNode class):

$this->destination = new MigrateDestinationNodeRevision('article');
$this->addFieldMapping('title', 'source_title');
$this->addFieldMapping('body', 'source_body');
...

The first argument is the bundle (content type) you wish to migrate source content revisions into.

Importing data from a comma separated value (CSV) file into one multi-value field.

Feed Import is a module that allows you to import content into entities from various file types (like XML, HTML, CSV). Sometimes you need to import data for a multivalue field like a multiselect node reference field, or term reference, or any field having multiselect enabled. In that case Feed Tamper allows you to import multivalue field data where that data is delimited by any separator (such as a comma).

Donation

The redhen_donation module provides a UI for the simple creation of single-page Donation forms integrated with Drupal Commerce.
Configuration: admin/structure/redhen/donation_types

Links to specific content types tagged with certain terms

  $query = new EntityFieldQuery();                                                 
  $entities = $query->EntityCondition('entity_type', 'node')                       
  ->entityCondition('bundle', 'your_content_type_machine_name');                              
  // We only care about terms 1 and 2                                              
  $terms = array(1, 2);                                                            
  foreach ($terms as $term) {                                                      

drupaldev-nginx

So far so good with this -
Note: this a new section and I haven't completely tested drupaldev-nginx but after a few problems to overcome, it's looking promising and I recommend you give it a spin and get back to me on here as to how you got on and any tips.

Once I've tested and been able to rerun these steps on fresh systems successfully I'll reflect those findings here so that folks know that if they endeavour to use this they are reassured that they are not going to use up more time than expected getting it going. Cheers!

Pages

Subscribe with RSS Subscribe to RSS - Needs technical review