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 …

… platforms like Comet and Persevere, and now Node.js. Dojo also has a lot of uptake among Rails developers, and … platforms like Comet and Persevere, and now Node.js. Dojo also has a lot of uptake among Rails developers, and … mobile devices: phones, tablets, etc. Your mention of Node.js as the goto framework - do you feel it is still the …

… an easy one: links on the menu were going to internal "node" paths instead of the aliased "friendly URL". For example, a link on a submenu went to "/node/494" instead of "/about/accreditation". In this … along the way, the menu system ended up with links to the node/[nid] path, and not the friendly URLs, even though the …

… achieved this functionality through php in a field or in templates. Fortunately, the current versions of Views include … achieved this functionality through php in a field or in templates. Fortunately, the current versions of Views include …

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

… aliased URLs. The internal path to any item of content is node/<node id>. Add the domain name in front of this, and you've …

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

… to interface with a Resource Description Framework (RDF/XML) to get data in, and something like SPARQL Protocol and … Use Case The mapping itself is accomplished via a custom XML file and accompanying schema to designate which content …

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

… widgets/AMD, query altering, core development System admin: basic: Linux shell, server management, drush, git, … widgets/AMD, query altering, core development System admin: basic: Linux shell, server management, drush, git, …

… Deploying blocks and content to other site environments Submitted by John Locke on … they are getting new designs in place, new messaging, new content. And they would like to launch the new design, and … | | structure_sync.data | Create | …

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

… with the Proper Timezone Handling definition of how date data should get stored -- the only sane way is using UTC, and … module is actually fixed -- this is mainly an issue of data not getting properly updated. Fix the date field So... …

… Using modern Javascript for quick utility scripts - bulk search and replace Submitted by John Locke on … so that's where I went. The Solution: Write a command-line script in Javascript Turning to my shell, first I grabbed a … Done! … Using modern Javascript for quick utility scripts - bulk search and replace …

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