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

… management tools installed (minimum shell access, git and wp-cli), or a supported managed host (currently Pantheon or … management tools installed (minimum shell access, git and wp-cli), or a supported managed host (currently Pantheon or …

… | pid  | src       | dst                                         | … nodepath ... And the class, in modules/custom/site_migrate/src/MigrateUtil.php: <?php namespace Drupal\site_migrate; use …

… Importing foreign key references with Migrate Submitted by John Locke on Tue, … to work: Get sourceMigration mapping to work with multiple keys Make a migration with an entityreference target Source … in the code as:    * @param mixed $source_keys    *   Key(s) to be looked up against the source migration(s). This …

… Migrating content profiles to Profile2 Submitted by John Locke on Tue, … site upgrade from Drupal 6 to Drupal 7, we had a bunch of content profiles to clean up. Content Profile is a Drupal 6 …

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

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

… that it's not module dependent... Thanks ! 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 …

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

… items, one at a time. This can include nodes, paragraphs, users, any kind of content entity. This module was originally … this is how we've done it: Set content to be owned by user 1. (If you don't, it will export the author's user … items, one at a time. This can include nodes, paragraphs, users, any kind of content entity. This module was originally …

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

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

… how Freelock can help with your own project, feel free to contact us! Good luck and good travels! Industry Tourism CCK … how Freelock can help with your own project, feel free to contact us! Good luck and good travels! … Making a Tourism …

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

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

… Using modern Javascript for quick utility scripts - bulk search and replace Submitted by John … these days, I'm starting to do more and more quick one-off utilities in Javascript. Yesterday I had such a task: update … <dd> <h1> <h2 id> <h3 id> <h4 id> <h5 id> <p> <br> <img src alt height width> Lines and paragraphs break …

… and has the id needed to figure out the next 3), product_attributes (which products have which attirbutes), product_options (to get the names of the options), and … (mapping which options and attributes are on which product). After exporting those to a CSV file, I setup a …

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