Search Content

Displaying 1 - 20 of 46

… Copying a node to a new type Submitted by John Locke on Thu, 10/21/2010 … one change is difficult: changing the content type of a node after you've created it. In general, once you create an … change: unset ($object->nid); // this makes a copy of each node, instead of updating the existing one $object->type = …

… List price $599.00 Quantity Price $349.00 SKU MP-DPP-520 … Maintenance Plans … Perfect for simple Drupal sites and …

… imported from Drupal 6 did not get rewritten with new node ids, after the migration had started using a map. The … | 2208 | node/1850 | wisconsin-state-refund-policy               | | 2210 | node/1852 | what-does-it-cost-0                         | | …

… which we'll discuss next, is that our destination is not a node, but an entityreference field. So our destination class …           ),         );         node_save($node);         $model_array[$row->BvItemNo] = …

… EntityFieldQuery(); $query->entityCondition('entity_type','node') ->entityCondition('bundle','employee') … $result = $query->execute(); if ($result && $result['node']) { $item = array_pop($result['node']); $node = node_load($item->nid); if (!$newprofile) { …

… Open-Source Mesh Networks Submitted by John Locke on Fri, … Community Wireless Network has released an open source mesh networking distribution, that automatically …

… Javascript platforms like Comet and Persevere, and now Node.js. Dojo also has a lot of uptake among Rails … than the standard Drupal one for use with a specific node reference with associated data. At the moment, …

… load children * @param $io - Drupal Console io object, to print results * @param $parent - The parent menu link to set … uri = 'entity:node/' . $nid ; $entity -> save (); // Now print the change: $io -> block ( $link -> getTitle () . '(' . … load children * @param $io - Drupal Console io object, to print results * @param $parent - The parent menu link to set …

… functionality, we leveraged the easypattern , sugar , and node-schedule modules from npm, and borrowed a lot of the … the room state, in addition to keeping them in RAM using node-schedule. When Watney restarts, it reloads each future reminder into node-schedule. When reminders trigger, it updates the state …

… export individual items, one at a time. This can include nodes, paragraphs, users, any kind of content entity. This … "Export References" option, when you point it at a single node, it will export all related entities at the same time! … already exists). drush default-content:export-references node <nid> --folder=content to export a particular node, to a …

… this does is it creates a URL structure based on how you tag an individual story. For example, you might have one … this does is it creates a URL structure based on how you tag an individual story. For example, you might have one …

… doesn't help with this... Cheers, John Reply Add new comment You must have JavaScript enabled to use this form. … me when new comments are posted All comments Replies to my comment Comment About text formats Filtered HTML Web page …

… and her team at Harvard set about creating a REST API for the Eagle-I ontology, allowing web services to …

… the nodes within a set amount of miles from the current node being displayed. You can see an example of this use in … a custom module that allowed flagged nodes to be set as a Node Reference in a new content type called Itinerary. The …

… snapshots at each step.&#13; &#13; ### Step 2: Save your config&#13; &#13; The config by default is stored under sites/default/files -- we … to whatever path you would like:&#13; &#13; ```&#13; $config_directories['sync'] = 'config/sync';&#13; ```&#13; …

… taking a design, picking a base theme, implementing the CSS/HTML/templates, considering mobile/responsive design, … messaging/notifications, SOLR, etc. Themer: basic: HTML, CSS, grid-based designs. Midlevel: Sprites, responsive …

… will still need to get converted to a string). And we will print the final result from a variable called "final". The … result which gets returned to "final" (which is what we're printing at the end of the .action function). The starting … will still need to get converted to a string). And we will print the final result from a variable called "final". The …

… with every product, including options. From there I used Node Import to import the list into Drupal/Ubercart. … were still tagged with the option prices. Now, ideally node import would do that little import CSV magic …

… all of these ended up 7 - 8 hours off -- when you edit the node, it shows up with the correct time, and when you display the node, it's off by 8 hours. 8 hours happens to be our current … all of these ended up 7 - 8 hours off -- when you edit the node, it shows up with the correct time, and when you display …