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

… will be applied on production sites in a timely manner. b. Test sites may or may not be maintained. Quantity SKU … will be applied on production sites in a timely manner. b. Test sites may or may not be maintained. … General Site …

… imported from Drupal 6 did not get rewritten with new node ids, after the migration had started using a map. The … | 2208 | node/1850 | wisconsin-state-refund-policy               | | 2210 | node/1852 | what-does-it-cost-0                         | | …

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

… 7, we had a bunch of content profiles to clean up. Content Profile is a Drupal 6 module that allows you to create … PHP script" The following snippet migrates data from an "employee" content profile to an "employee" profile2, and it …

… 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 … of running pre-production, unstable code... 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 …

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

… Added reminders to our Matrix bot Submitted by John Locke on Mon, 05/22/2017 - … me to respond to Bill in 2 hours For the past year, our Watney bot has alerted the release manager at the time …

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

… is basically a shared vocabulary within a specified domain: we're defining the machine language so that the … cell cultures and pipettes, moreover scientists have names, phone numbers, etc. Many of these classes that are …

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

… do this all on a test copy! Before starting: Gather your tools, backups Before doing anything, I would recommend backing up your database. And make sure your tools are up to date. Here are the tools I use for this process: drush 8.x drupal console 1.0.0 …

… front-end/theming, and typically our clients provide that. Testing/QA could probably be another role -- but we're making … everybody's job description for the time being, to create test cases relevant to their areas (and then actually doing …

… to hear more about whether this is a better fit, please comment below if you have hands on experience with these! … not be shown publicly. Homepage Subject Notify me when new comments are posted All comments Replies to my comment Comment About text formats Filtered HTML Web page …

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

… my index.js file, I required these libraries, as well as Node.js's filesystem library: #!/usr/bin/env node const program = require('commander'); const fs = …