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

… Fixing broken URL Aliases on a Drupal 6 -> Drupal 8 migration Submitted by John Locke on … map to get the correct nid in Drupal 8. However, the upgrade_d6_url_alias does not deal in nids -- it simply adds …

… by John Locke on Tue, 10/07/2014 - 10:04 One of our clients wanted to regularly update a list of dealers along … and to prevent automated spam submissions. … One of our clients wanted to regularly update a list of dealers along …

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

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

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

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

… 26 participating institutions . Melissa Hendel at Oregon Health and Science University led the development of the … this data. In the case of Eagle-I, the domain is health care research. Ontology Classes , or more generally just …

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

… `migrate_map_upgrade_/g" site-mm.sql &#13; sed -i "s/^LOCK TABLES `migrate_message_/LOCK TABLES `migrate_message_upgrade_/g" site-mm.sql &#13; …

… API, ability to debug, custom filters. Midlevel: Bulk node operations, data synchronization, Rules components, … views handlers, Services, drush scripting. Advanced: node.js, dojo toolkit widgets/AMD, query altering, core … > Here are some skill sets > http://groups.drupal.org/node/67763&#13 ; > http://groups.drupal.org/node/172434&#13 ; …

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

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

… we want more of the Unix approach of doing one step, then feeding the result into the next. Async/await allows us to … we want more of the Unix approach of doing one step, then feeding the result into the next. Async/await allows us to …

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