Displaying 1 - 20 of 45
… Copying a node to a new type Submitted by John Locke on Thu, 10/21/2010 - 08:55 … your web site, but one change is difficult: changing the content type of a node after you've created it. In general, …
… | 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 …
… in the UK. Now the Champaign-Urbana Community Wireless Network has released an open source mesh networking … node and your home computer plugs into that. The wireless network up on the rooftops serves a similar purpose as the …
… Submitted by John Locke on Wed, 04/11/2012 - 16:57 The rest of my team may not agree with me, but I greatly prefer … hundreds of hours I've spent learning and re-learning the API as it continues to evolve. But I like it because they're …
… D8 upgrade projects, we had a mess to clean up in the menu system. This provided an excellent oppportunity to get … Drupal Console to create your own tools How much the menu system has changed How to load and save just about any entity …
… Watney is written in Javascript, and uses the matrix-js-sdk library to interact with Matrix. For this reminder … Watney is written in Javascript, and uses the matrix-js-sdk library to interact with Matrix. For this reminder …
… 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 …
… URLs. You can use either an internal URL or an alias in block visibility settings. Aliases are particularly useful, … use a wild card to apply it to a lot of pages. URLs for block visibility So why is all of this important? Besides … for more than just which page of content to retrieve. The block system relies heavily on URLs, and can use either an …
… 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 her team at Harvard set about creating a REST API for the Eagle-I ontology, allowing web services to …
… We also use it to manage much of the content in the site admin area. The complexity of the site really allowed us to … We also use it to manage much of the content in the site admin area. The complexity of the site really allowed us to …
… 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 In particular, we wanted node references migrated to D8 entity references: [Add …
… taking a design, picking a base theme, implementing the CSS/HTML/templates, considering mobile/responsive design, … messaging/notifications, SOLR, etc. Themer: basic: HTML, CSS, grid-based designs. Midlevel: Sprites, responsive …
… 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 …
… 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... …
… 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 …