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

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

… directly, and does not have a title field. So if you store the user's name in the title and biography in the body, … directly, and does not have a title field. So if you store the user's name in the title and biography in the body, …

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

… addresses turn into links automatically. Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> …

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

… addresses turn into links automatically. Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> …

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

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

… would like a UI to map content types, please contact us ! Industry Business Education Health Care Medical Publishing …

… 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 brand new migration in the config, and a module ready to store this config. Assuming your module is in … a brand new migration in the config, and a module ready to store this config. Assuming your module is in …

… in Drupal? Submitted by John Locke on Tue, 09/09/2014 - 10:36 Joaquin asks: Sorry, John. But when it comes to adding …

… addresses turn into links automatically. Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> …

… code and configuration changes from a development site to production, getting content up there is not so simple. Even … up, you get a "Broken or missing block" text on production, leading to deployment gyrations to get new … code and configuration changes from a development site to production, getting content up there is not so simple. Even …

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

… addresses turn into links automatically. Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> …

… ad slot codes that appeared multiple times in a text file. The problem: do all the replacements from a CSV file, in a different file The file in question was a Javascript file, and the ad …