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 = …
… I added to my little helper class. Once I re-loaded that config, I reran the migration with the --update flag, and it … I added to my little helper class. Once I re-loaded that config, I reran the migration with the --update flag, and it …
… 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 …
… 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 …
… getting gateway timeouts. Drupal 8 results - Nginx, PHP7.0, MariaDB - 83 requests per second Curious, I pointed … the same infrastructure, the only other difference being PHP7. And kept throwing more and more requests at it -- the …
… The custom blocks have been successfully exported. > drush config:export [notice] Differences of the active config to the export directory: …
… 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 …
… staff were further interested in setting up an Eagle-I node, and migrating all of these resources into the Eagle-I … a Drupal content type serves as the metadata wrapper for a node, or piece of content, we are mapping the content type to … type to “text properties” on the ontology class, and node and taxonomy references to “linked resources” on the …
… 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. ### Step 2: Save your config The config by default is stored under sites/default/files -- we … to whatever path you would like: ``` $config_directories['sync'] = 'config/sync'; ``` …
… a fair amount of overlap between these roles, but when I'm hiring, I'm looking to find somebody who can become a strong … E-Commerce Drupal Drupal Planet Web Development Skills hiring Submitted by John Locke on Fri, 06/29/2012 - 17:14 … a fair amount of overlap between these roles, but when I'm hiring, I'm looking to find somebody who can become a strong …
… pattern. An ad consultant had provided a CSV file with the old codes in one column, and the new replacement in the … you can see is that, as in the picture above, some of the old strings were substrings of other old strings -- if we were doing these in order, and there was …
… 16:32 Well, we finally put the foot down with some of our clients who are clinging to their aging Zen Cart sites this … sales tax, and unfortunately none of our Zen Cart clients were willing to fund the development it would take in … on Wed, 01/20/2010 - 22:02 Permalink I plan to upgrade one client I plan to upgrade one client to Ubercart soon so this …
… 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 …