Displaying 1 - 20 of 45
… over to the new type while keeping certain fields on the old type. And I came up with a quick way of accomplishing … above snippet will save all fields that are in both the old and the new content type, and ignore the data of any … over to the new type while keeping certain fields on the old type. And I came up with a quick way of accomplishing …
… 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] = …
… profiles set up. Profile2 does not let you add the old body fields directly, and does not have a title field. So … check out the Drupal 2 Drupal migration module to migrate old content profile fields to native Drupal 7 user fields. … It would make the code easier to follow if the old profile and the new profile had different names (eg …
… There is an ethernet jack on the wireless node and your home computer plugs into that. The wireless network up on the … There is an ethernet jack on the wireless node and your home computer plugs into that. The wireless network up on 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, …
… Links to content you don't have access to are always hidden as well. The Drupal 8 Menu System Drupal 8 changes … Links to content you don't have access to are always hidden as well. The Drupal 8 Menu System Drupal 8 changes …
… needs to return a value of ‘0’ if you want the content hidden. In Drupal 6 the easiest path is to create an integer … uses Taxonomy: Create a Vocabulary with two terms, "Hidden" and "Display" Create a new integer field for 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 …
… 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 …
… 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 …
… view only uses a single content type, select it under "Filter by plugin". Next, add a Contextual Filter of "Parent Group". Finally, under "When the filter …
… addresses turn into links automatically. Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> …
… 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 In particular, we wanted node references migrated to D8 entity references: [Add …
… basic: Form API, Database API, Schema API, ability to debug, custom filters. Midlevel: Bulk node operations, data … basic: Form API, Database API, Schema API, ability to debug, custom filters. Midlevel: Bulk node operations, data …
… 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 …
… 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 …
… me think it was a timezone offset problem. Looking in the database, the field in question was storing time in a MySQL … using UTC, and it should get converted in and out of the database to whichever local time the admin desires. And … time in the editing screen and display, and UTC in the database. However, now we have 651 nodes with the wrong time. …
… 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 …