Edit

Error message

  • Notice: Undefined variable: monthCounts in include() (line 12 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Notice: Trying to access array offset on value of type null in include() (line 12 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Notice: Undefined variable: monthCounts in include() (line 14 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Warning: array_reverse() expects parameter 1 to be array, null given in include() (line 14 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Warning: Invalid argument supplied for foreach() in include() (line 21 of /homepages/21/d93015512/htdocs/library/organic_connectivity/date_overview.tpl.php).
  • Notice: Undefined offset: 0 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 1 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 2 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 3 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 4 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 5 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 6 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 7 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 8 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 9 in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 42 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 0 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 1 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 2 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 3 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 4 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 5 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 6 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 7 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 8 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).
  • Notice: Undefined offset: 9 in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Notice: Trying to get property 'connections' of non-object in include() (line 150 of /homepages/21/d93015512/htdocs/library/organic_connectivity/items_map.tpl.php).
  • Warning: Invalid argument supplied for foreach() in search_for_attribute() (line 641 of /homepages/21/d93015512/htdocs/library/organic_connectivity/io.php).

Items

Items

112

Per Page

/ 12

Subject Attribute

Nodes Posts Things

Blocks

items_blocks.tpl.php

Nodes

items_nodes.tpl.php

  • Wordpress

    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Images: 
  • Rename stuck field names

    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    <?php
    
    $fields = array(
        'field_inspirational_imagery' => 'field_images',
    );
     
    // Loop through each of the fields/tables with the old name and change them
    foreach($fields as $field_name => $new_field_name) {
     
        // First check that field_name exists
        if(!db_table_exists('field_data_' . $field_name)) {
            // If we cannot find a data table then just continue.
            continue;
        }
     
        // Define some things...
        $data_table_name = 'field_data_' . $field_name;
        $revision_table_name = 'field_revision_' . $field_name;
        $field_info = field_info_field($field_name);
        $storage_details = $field_info['storage']['details'];
     
        // The storage for each field has unique configuration. Must follow.
        foreach($storage_details['sql']['FIELD_LOAD_CURRENT'] as $field) {
            // Change the field names.
            foreach($field as $key => $value) {
     
                // Rename the field table columns and preserve existing spec. Let
                // features take care of any configuration changes.
                $spec = $field_info['columns'][$key];
                db_change_field($data_table_name, $value, $new_field_name . "_" . $key, $spec);
                db_change_field($revision_table_name, $value, $new_field_name . "_" . $key, $spec);
     
            }
        }
     
        // Change the field storage table names.
        db_rename_table($data_table_name, 'field_data_' . $new_field_name);
        db_rename_table($revision_table_name, 'field_revision_' . $new_field_name);
     
        // Change the field names int he field_config and
        // field_instance_config tables
     
        db_update('field_config')
            ->fields(
                array(
                    'field_name' => $new_field_name,
                )
            )
            ->condition('field_name', $field_name, '=')
        ->execute();
     
        db_update('field_config_instance')
            ->fields(
                array(
                    'field_name' => $new_field_name,
                )
            )
            ->condition('field_name', $field_name, '=')
        ->execute();
    
    } /// end foreach loop on fields... whew.
    
    ?>
  • OSX Virtual Web Host Config

    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics

    add line to /etc/hosts

    127.0.0.1 amniot.localhost

    add lines to /etc/apache2/httpd.conf

    NameVirtualHost 127.0.0.1:80
    
    <VirtualHost amniot.localhost:80>
    
    <Directory "/Library/Webserver/Documents_AMNIOT">
        Options FollowSymLinks Indexes
        AllowOverride All
        Order deny,allow
        allow from All
    </Directory>
    ServerName amniot.localhost
    DocumentRoot "/Library/Webserver/Documents_AMNIOT"
    
    </VirtualHost>
  • MySQL Basics

    Context: 
    Connection: 
    Attribute Type: 
    Types

    add export PATH=$PATH:/usr/local/mysql/bin to ~/.bash_profile or /etc/profile

    Backup database to text file

    mysqldump database_name > database_name.sql

    Remove database

    mysql> drop database database_name;

    Create database

    mysql> CREATE DATABASE database_name;
  • Manually reset Drupal admin password

    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    45
    Attribute Type: 
    Topics
    <?php
    define('DRUPAL_ROOT', getcwd());
    require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
    drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
    require_once DRUPAL_ROOT . '/includes/password.inc';
    if (isset($_GET['pass']) && !empty($_GET['pass'])) {
      $newhash =  user_hash_password($_GET['pass']);
    }
    else {
      die('Retry with ?pass=PASSWORD set in the URL');
    }
    $updatepass = db_update('users')
      ->fields(array(
        'pass' => $newhash,
    // Uncomment the following lines to reset the administrative username and/or email address, if necessary.
    //    'name' => 'admin',
    //    'mail' => 'yourmail@example.com'
      ))
      ->condition('uid', '1', '=')
      ->execute();
    print "Done. Please delete this file immediately!";
    drupal_exit();
    ?>
  • PHP

    Context: 
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    45
    Attribute Type: 
    Topics
    Images: 
  • JQuery

    Context: 
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    45
    Attribute Type: 
    Topics
    Images: 
  • Nested-query approach to mining field_collection data and relationship

    Context: 
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    <?php
    
    function get_species_country($id_country) {
        $inner = new EntityFieldQuery();
        $inner_r = $inner->entityCondition('entity_type', 'field_collection_item')
                         ->fieldCondition('field_species_country', 'target_id', $id_country, '=')
                         ->execute();
        if(!empty($inner_r['field_collection_item'])) {
            $keys = array_keys($inner_r['field_collection_item']);
            $query = new EntityFieldQuery();
            $species_r = $query->entityCondition('entity_type', 'node')
                          ->entityCondition('bundle', self::$bundle)
                          ->fieldCondition('field_species_countries', 'value', $keys)
                          ->execute();
            if(!empty($species_r['node'])) {
                $ret = node_load_multiple(array_keys($species_r['node']));
            }
        }
        return $ret;
    }
    
    ?>
  • Create symlinks

    Context: 
    Connection: 
    Attribute Type: 
    Types
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    <?php
    
    symlink('/homepages/21/d93015512/htdocs/library/organic_connectivity',
            '/homepages/21/d93015512/htdocs/drupal/sites/all/modules/organic_connectivity/lib');
    
    ?>
  • Trauma Informed Care

    Subtitle: 
    Information &amp; Blog
    Context: 
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Connection: 
    Attribute Type: 
    Types
    Connection: 
    Weight: 
    100
    Attribute Type: 
    Topics
    Installation URL: 
    http://www.traumainformedhawaii.net
    Images: 

Table

items_table.tpl.php

ID Images/Body Types Title Subjects Attributes Edit
112 WordpressInformation & Blog
EDIT
111 <?php $fields = array( 'field_inspirational_imagery' => 'field_images', ); // Loop through each of the fields/tables with the old name and change them foreach($fields as $field_name => $new_field_name) { // First check that field_name exists if(!db_table_exists('field_data_' . $field_name)) { // If we cannot find a data table then just continue. continue; } // Define some things... $data_table_name = 'field_data_' . $field_name; $revision_table_name = 'field_revision_' . $f Rename stuck field namesInformation & Blog
EDIT
110 add line to /etc/hosts 127.0.0.1 amniot.localhost add lines to /etc/apache2/httpd.conf NameVirtualHost 127.0.0.1:80 <VirtualHost amniot.localhost:80> <Directory "/Library/Webserver/Documents_AMNIOT"> Options FollowSymLinks Indexes AllowOverride All Order deny,allow allow from All </Directory> ServerName amniot.localhost DocumentRoot "/Library/Webserver/Documents_AMNIOT" </VirtualHost> OSX Virtual Web Host ConfigInformation & Blog
EDIT
109 add export PATH=$PATH:/usr/local/mysql/bin to ~/.bash_profile or /etc/profile Backup database to text file mysqldump database_name > database_name.sql Remove database mysql> drop database database_name; Create database mysql> CREATE DATABASE database_name; MySQL BasicsInformation & Blog
EDIT
108 <?php define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); require_once DRUPAL_ROOT . '/includes/password.inc'; if (isset($_GET['pass']) && !empty($_GET['pass'])) { $newhash = user_hash_password($_GET['pass']); } else { die('Retry with ?pass=PASSWORD set in the URL'); } $updatepass = db_update('users') ->fields(array( 'pass' => $newhash, // Uncomment the following lines to reset the administrative username and/or email address, if nec Manually reset Drupal admin passwordInformation & Blog
EDIT
106 PHPInformation & Blog
EDIT
105 JQueryInformation & Blog
EDIT
104 <?php function get_species_country($id_country) { $inner = new EntityFieldQuery(); $inner_r = $inner->entityCondition('entity_type', 'field_collection_item') ->fieldCondition('field_species_country', 'target_id', $id_country, '=') ->execute(); if(!empty($inner_r['field_collection_item'])) { $keys = array_keys($inner_r['field_collection_item']); $query = new EntityFieldQuery(); $species_r = $query->entityCondition('entity_type', 'node') Nested-query approach to mining field_collection data and relationshipInformation & Blog
EDIT
103 <?php symlink('/homepages/21/d93015512/htdocs/library/organic_connectivity', '/homepages/21/d93015512/htdocs/drupal/sites/all/modules/organic_connectivity/lib'); ?> Create symlinksInformation & Blog
EDIT
102 Trauma Informed CareInformation & Blog
EDIT

Rotator

items_cinema.tpl.php

Calendar

date_overview.tpl.php

Start date

  • After Christ (Era Vulgaris)
  • New Aeon
Total Items

RSS

items_syndicate.tpl.php




    

        Organic Interfaces

        http://interfaces.orgnsm.org/syndicate

        Recent Web Design & Info Code

        en

        Mon, 28 Apr 2014 19:08:21 -1000

        


 Wordpress
 http://interfaces.orgnsm.org/node/112
 
  ]]>
 112
 Mon, 28 Apr 2014 19:08:21 -1000
 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/wordpress-logo-notext-rgb.png?itok=kbCsVk7S



 Rename stuck field names
 http://interfaces.orgnsm.org/node/111
 <?php

$fields = array(
    'field_inspirational_imagery' => 'field_images',
);
 
// Loop through each of the fields/tables with the old name and change them
foreach($fields as $field_name => $new_field_name) {
 
    // First check that field_name exists
    if(!db_table_exists('field_data_' . $field_name)) {
        // If we cannot find a data table then just continue.
        continue;
    }
 
    // Define some things...
    $data_table_name = 'field_data_' . $field_name;
    $revision_table_name = 'field_revision_' . $field_name;
    $field_info = field_info_field($field_name);
    $storage_details = $field_info['storage']['details'];
 
    // The storage for each field has unique configuration. Must follow.
    foreach($storage_details['sql']['FIELD_LOAD_CURRENT'] as $field) {
        // Change the field names.
        foreach($field as $key => $value) {
 
            // Rename the field table columns and preserve existing spec. Let
            // features take care of any configuration changes.
            $spec = $field_info['columns'][$key];
            db_change_field($data_table_name, $value, $new_field_name . "_" . $key, $spec);
            db_change_field($revision_table_name, $value, $new_field_name . "_" . $key, $spec);
 
        }
    }
 
    // Change the field storage table names.
    db_rename_table($data_table_name, 'field_data_' . $new_field_name);
    db_rename_table($revision_table_name, 'field_revision_' . $new_field_name);
 
    // Change the field names int he field_config and
    // field_instance_config tables
 
    db_update('field_config')
        ->fields(
            array(
                'field_name' => $new_field_name,
            )
        )
        ->condition('field_name', $field_name, '=')
    ->execute();
 
    db_update('field_config_instance')
        ->fields(
            array(
                'field_name' => $new_field_name,
            )
        )
        ->condition('field_name', $field_name, '=')
    ->execute();

} /// end foreach loop on fields... whew.

?>
]]> 111 Fri, 21 Feb 2014 15:11:51 -1000 OSX Virtual Web Host Config http://interfaces.orgnsm.org/node/110 add line to /etc/hosts
127.0.0.1 amniot.localhost

add lines to /etc/apache2/httpd.conf

NameVirtualHost 127.0.0.1:80

<VirtualHost amniot.localhost:80>

<Directory "/Library/Webserver/Documents_AMNIOT">
    Options FollowSymLinks Indexes
    AllowOverride All
    Order deny,allow
    allow from All
</Directory>
ServerName amniot.localhost
DocumentRoot "/Library/Webserver/Documents_AMNIOT"

</VirtualHost>
]]>
110 Thu, 20 Feb 2014 15:47:56 -1000
MySQL Basics http://interfaces.orgnsm.org/node/109 add export PATH=$PATH:/usr/local/mysql/bin to ~/.bash_profile or /etc/profile

Backup database to text file

mysqldump database_name > database_name.sql

Remove database

mysql> drop database database_name;

Create database

mysql> CREATE DATABASE database_name;
]]>
109 Wed, 12 Feb 2014 15:56:49 -1000
Manually reset Drupal admin password http://interfaces.orgnsm.org/node/108 <?php define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); require_once DRUPAL_ROOT . '/includes/password.inc'; if (isset($_GET['pass']) && !empty($_GET['pass'])) { $newhash = user_hash_password($_GET['pass']); } else { die('Retry with ?pass=PASSWORD set in the URL'); } $updatepass = db_update('users') ->fields(array( 'pass' => $newhash, // Uncomment the following lines to reset the administrative username and/or email address, if necessary. // 'name' => 'admin', // 'mail' => 'yourmail@example.com' )) ->condition('uid', '1', '=') ->execute(); print "Done. Please delete this file immediately!"; drupal_exit(); ?> ]]> 108 Wed, 12 Feb 2014 13:22:45 -1000 PHP http://interfaces.orgnsm.org/node/106 ]]> 106 Wed, 05 Feb 2014 16:09:09 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/icon_php.png?itok=147fsMIa JQuery http://interfaces.orgnsm.org/node/105 ]]> 105 Wed, 05 Feb 2014 15:20:21 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/icon_jquery.gif?itok=0IVQvzvR Nested-query approach to mining field_collection data and relationship http://interfaces.orgnsm.org/node/104 <?php function get_species_country($id_country) { $inner = new EntityFieldQuery(); $inner_r = $inner->entityCondition('entity_type', 'field_collection_item') ->fieldCondition('field_species_country', 'target_id', $id_country, '=') ->execute(); if(!empty($inner_r['field_collection_item'])) { $keys = array_keys($inner_r['field_collection_item']); $query = new EntityFieldQuery(); $species_r = $query->entityCondition('entity_type', 'node') ->entityCondition('bundle', self::$bundle) ->fieldCondition('field_species_countries', 'value', $keys) ->execute(); if(!empty($species_r['node'])) { $ret = node_load_multiple(array_keys($species_r['node'])); } } return $ret; } ?> ]]> 104 Wed, 05 Feb 2014 15:15:00 -1000 Create symlinks http://interfaces.orgnsm.org/node/103 <?php symlink('/homepages/21/d93015512/htdocs/library/organic_connectivity', '/homepages/21/d93015512/htdocs/drupal/sites/all/modules/organic_connectivity/lib'); ?> ]]> 103 Mon, 20 Jan 2014 14:39:51 -1000 Trauma Informed Care http://interfaces.orgnsm.org/node/102 ]]> 102 Wed, 18 Dec 2013 17:48:59 -1000 http://interfaces.orgnsm.org/sites/interfaces.orgnsm.org/files/styles/large-landscape-or-portrait/public/2013-12-22_1.png?itok=So61PE2q

Global

items_map.tpl.php