Search Content

Displaying 1 - 20 of 45

… 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 = …

… 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) { …

… or cable modem. There is an ethernet jack on the wireless node and your home computer plugs into that. The wireless … the telephone company's wires and poles: it connects your node to the Internet, but without any nasty wires between the … a cable or DSL modem, do double-duty: when you put a node at your house, you actually help to increase the …

… of this sounds useful to you, drop us a line or leave a comment below! Drupal Drupal Planet Dojo Submitted by Don … frontrunner for enabling drupal sites to do mobile well? Reply Submitted by John Locke on Wed, 03/19/2014 - 16:50 In …

… you will see most migrated links listed with a link__uri value beginning with "internal:/" followed by the … out, it's pretty simple: just set the link item's link->uri to either 'base:node/[nid]' to get an unrouted link or to … ; $entity -> menu_name = 'main' ; $entity -> link -> uri = 'entity:node/' . $nid ; $entity -> save (); // Now …

… 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 …

… to the Purl tab and check the box to "Keep context of the node": ... if this option is set, then when you visit a node inside a group path, Purl keeps the group path active. Using our previous example, a node might be at https://bugs.freelock.com/group/2/node/234 …

… and the Semantic Web - Introducing the Eagle-I Drupal module Submitted by Aaron Lamb on Mon, 07/29/2013 - 14:28 If … Hendel at Oregon Health and Science University led the development of the ontology , while  Dr. Daniela …

… 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 …

… a couple of them are nearing launch, and were missing some node references, I set out to get the content updated from … auto-migration done in 8.0.x. The main gotcha here is that node content still isn't showing up as migrated -- but for … prep the destination&#13; &#13; In particular, we wanted node references migrated to D8 entity references: [Add …

… can we help solve your problem? Drop us a line or leave a comment below! (Most of this post I originally wrote for a … > https://cacoo.com/diagrams/Fu6NuballS0GgW0d#9B601&#13 ; Reply Submitted by Williams (not verified) on Thu, 01/16/2014 …

… my index.js file, I required these libraries, as well as Node.js's filesystem library: #!/usr/bin/env node const program = require('commander'); const fs = …

… web, I ended up abandoning that ship and returning to my phpmyadmin/openoffice spreadsheet world and doing a bit of … web, I ended up abandoning that ship and returning to my phpmyadmin/openoffice spreadsheet world and doing a bit of …

… Drupal Dates off by timezone offset, after upgrading date module Submitted by John Locke on Thu, 12/04/2014 - 17:41 … Date Module Drupal Drupal Planet Time zone Updates Development Add new comment You must have JavaScript enabled …

… and metadata from their Drupal CMS to the central eagle-I node. This led them to Freelock and the customization work we … website and copies the sites content to the local Eagle-I node which then hands the data along to Eagle-I central for … When we completed the project we posted the eagle-I node on Drupal.org . Additional information on this project …