Drupal News

Subscribe to Drupal News feed
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 5 min 32 sec ago

Red Crackle: Managing Inventory

0 sec ago
We will go through the basic steps required to set up inventory management on your Drupal Commerce site. You will learn how to manage the quantity of products in your store.

frobiovox.com: Reflecting on Elixir and Phoenix

0 sec ago
The New Hotness I read a post recently that had the click bait title "Is Drupal Dying?" Ironically I read this while attending ElixirConf. The basis of that post was clients asking for the next thing --expecting Drupal to be old and busted in five years. I am at ElixirConf because I see great potential in Elixir, Erlang, and Phoenix. I expect it to be the next big thing and...

Jim Birch: Login Destination: Sending us where we need to go!

Thu, 10/08/2015 - 23:06

Rare is the site where the user who logs into the site, and needs to end up on their User page.  This is the default behavior of Drupal.  It makes sense if you are making a community or social media type website.  But for most of us, building publishing, marketing, and general business sites, we want to send our users to a specific place so they can start or continue their workflow.

The Drupal Login Destination module comes to our rescue.  With this module, we can redirect a user after logging in, after registering to the site, after using a one-time login link, or after logging out.  We can set rules based on the user's Role, and can direct users to internal or external links, keeping any variables needed.  It is a very powerful tool that you can use to help administrators on their way into their work, or help users into a conversion funnel of your design.

Installing Login Destination

Installation is simple, download to your modules folder and enable to the modules screen, or do so using drush:

Read more

flink: Leaflet 1.0.0 flies!

Thu, 10/08/2015 - 22:35
var rb = 'RegionBound | '; var cc = 'CC-BY-SA'; var attr1 = rb + 'Map data © OpenStreetMap contributors, ' + cc; var tileLayer1Options = { attribution: attr1 }; var tileLayer1 = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', tileLayer1Options); var attr2 = rb + 'Tiles © Esri'; var tileLayer2Options = { attribution: attr2 }; var tileLayer2 = L.tileLayer('http://services.arcgisonline.com/ArcGIS/rest/services/world_topo_map/MapServer/tile/{z}/{y}/{x}.png', tileLayer2Options); var flyMap; function flyTo(lat, lon, name) { flyMap.flyTo([lat, lon], 11); L.marker([lat, lon]).addTo(flyMap).bindPopup(name + "
International Airport
[" + lat + ", " + lon + "]") } img { max-width: none !important; } .main-container.container { min-height: 550px; margin-left: 0; margin-right: 0 !important; padding-left: 0; padding-right: 0; width: 100%; } h1 { color: green; font-family: courier, monospace; position: absolute; top: 37px; text-align: center; width: 100%; z-index: 999; } h1.page-header { border: none; } #map-with-flyto { height: 560px; position: absolute; top: 27px; width: 100%; } button { background-color: limegreen; border: 1px solid white; border-radius: 5px; color: white; display: -webkit-flex; /* Safari */ display: flex; font-family: courier, monospace; font-size: 14px; height: 30px; margin: 0 0 7px 10px; min-width: 35px; padding: 0 5px; position: relative; text-align: center; top: 125px; z-index: 999; } button#top { border: none; background: transparent; color: darkgreen; font-size: 15px; font-weight: bolder; top: 114px; } Fly
to: LHR JFK SFO GIG CAI CPT DME PVG MEL var mapOptions = { }; flyMap = L.map('map-with-flyto', mapOptions).locate({setView: true, maxZoom: 16}); tileLayer2.addTo(flyMap); var layers = { 'OSM': tileLayer1, 'Esri Topo': tileLayer2 }; L.control.layers(layers, {}).addTo(flyMap); flyMap.on('locationfound', function(e) { var radius = (e.accuracy / 2).toFixed(); L.circle(e.latlng, radius).addTo(flyMap).bindPopup("You are within this circle"); L.marker(e.latlng).addTo(flyMap).bindPopup("You are within " + radius + " meters of this marker."); }); flyMap.on('locationerror', function(e) { alert(e.message); }); File under:: Planet Drupal

Larry Garfield: Visiting other islands this fall

Thu, 10/08/2015 - 13:49

In case you hadn't heard yet, Drupal 8 RC 1 is out. And there has been much rejoicing! I'm going to save my own lengthy celebration-and-thank-you post for the 8.0.0 release, so for now I will just point everyone at Campbell Vertesi's post and say "what he said!".

But it's also a good time to consider the impact that Drupal 8 has had on the PHP community. The "off the island" movement has grown large, and people outside of Drupal are echoing the same message. In fact, not one but two conferences this fall are actively trying to build bridges between PHP sub-communities: ZendCon and php[world].

read more

Doug Vann: Bringing Drupal 8 to the Global Training Days

Thu, 10/08/2015 - 08:34

Drupal 8 is almost here! If you're ready to learn it, I'm ready to teach it!

Monday October 12th 1pm ET to 5pm ET REGISTER  [FREE bonus day not associated with 2015 Global Training Days]
Friday November 20th 1pm ET to 5pm ET REGISTER [This is part of the FREE 2015 Global Training Days]
Saturday November 21st 1pm ET to 5pm ET REGISTER [This is part of the FREE 2015 Global Training Days] 

Pick a day. Click the link. Get the skills!

For 4 hours, we're going to take a byte sized chunk of Drupal 8 as we wrap our minds around the NEW way of doing the old things and the NEW things we can do now!

We will be installing Drupal 8, creating content, creating pages, managing users, and finding out what all the fuss is about!
Big Thanks to PANTHEON for letting anyone launch a FREE Drupal 8 site with this link:  https://dashboard.pantheon.io/products/drupal8/spinup
What we'll do together:
[1] Install Drupal 8 via PANTHEON. 
[2] cruise around the User Interface to familiarize ourselves with the new layout and options.
[3] Next we'll create some content and experience the NEW UI. 
[4] We'll experiment with the new, fancy way that imaged are handled.
[5] We'll create some Listing Pages & Dynamic Blocks with the new VIEWS module included in Drupa Core.
[6] Manage users
[7] Some time for QnA at the end.

Drupal Planet

View the discussion thread.

Dries Buytaert: Reaching the next billion with Drupal

Thu, 10/08/2015 - 08:12

I feel lucky to be a part of creating and building Drupal. According to BuiltWith, Drupal powers 2.8% of websites in the top 1 million. That translates to 1 out of 35 websites. I've been thinking about what that means in terms of real impact: if any of the 3.2 billion internet users today have visited 35 or more of the top 1 million websites, they've "used" Drupal. I imagine most active internet users have visited more than 35 websites, and as such, Drupal must have "reached" almost everyone on the internet. That is a pretty incredible thought.

I've heard so many amazing stories about how Drupal sites have been a part of cultural, social and political movements. One of the stories that I'll never forget is from the Egyptian uprising in 2011, when the internet shut down for days and people took to the streets in protest of the Mubarak regime. This moment showed the profound impact of the web and the injustice citizens feel when it is taken away. The Drupal site Al Jazeera was an essential news source on this uprising for the rest of the world and remained online despite traffic to its live blog spiking 2,000 percent during the crisis.

Another such story is that of the Global Disaster Preparedness Center (GDPC), whose 189 partner organizations (including the American Red Cross) needed a better way to collaborate on disaster relief issues. GDPC embraced Open Source and built a multilingual Drupal site where disaster preparedness professionals can share information and resources that otherwise wouldn't be available. Considering the recent rise in natural disasters, this information has saved lives.

These two stories show how the web has the power to change lives, fuel economies, educate the masses and make the world much smaller in the best of ways. According to Cisco, Internet traffic in 2019 will be 64 times the volume in 2005. It is expected that another 1.8 billion people could come online by the end of 2018.

Yesterday, we announced the first Drupal 8 release candidate after almost five years of hard work by thousands of people in our community. The road towards Drupal 8 has been long and hard, but I'm excited that Drupal 8 will touch the next billion people who join the internet. They are joining fast. I hope you'll share stories of the impact Drupal has made on your lives as we continue to grow.

Microserve: Why Drupal 8 entering Release Candidate phase matters

Thu, 10/08/2015 - 06:44
Why Drupal 8 entering Release Candidate phase mattersOct 8th 2015

We're really excited to see that Drupal 8 has officially passed Beta and entered the Release Candidate phase on schedule.

What does this mean for Drupal 8?

Drupal 8 has been a long-time coming (development started in early 2011!) but a lot has changed in that time. Fortunately the Drupal community has done an admirable job of keeping pace with advances in the web and supporting technologies, and have made numerous improvements over Drupal 7, but this has meant a lot of ongoing churn within Drupal 8's internals.

The Release Candidate phase marks the beginning of guaranteed backwards compatibility between releases, and means that the Drupal 8 community are now focussing on stabilisation and bug-fixes ahead of the official 8.0 launch rather than new features and improvements.

The recent announcement at DrupalCon Barcelona and subsequently meeting their target release date for Drupal 8 RC1 stands to highlight changes within the Drupal 8 roadmap and project planning mechanisms which are taking place throughout the Drupal community and the Drupal Association. This shows just how rapidly Drupal and the Drupal community are growing up to become a truly enterprise-grade system. 

And most importantly of all it means that the wider Drupal community, including agencies, businesses and end-users, are readying for Drupal 8's widespread adoption.

How does this affect Drupal 8 adopters?

The most obvious benefit is for Drupal 8 developers, who can now be confident that when they next update Drupal 8 they won't be caught out having to fix their own custom work or wait for module maintainters to release an update. This will help spur adoption within the community as more and more developers can be confident that their hard work won't be wasted the next time a new version of Drupal 8 is released.

Perhaps less obvious, but arguably more important, is that it means businesses can push forward with adopting Drupal 8 as an enterprise-ready product, without fear of compatibility issues or feature regressions down the line. Now that Drupal 8 is entering the final stabilisation phase you can be confident that this means only bug fixes and incremental improvements - no one is thrashing around under the hood anymore.

What does this mean for Drupal agencies?

We've been working internally with Drupal 8 for a while now, but this latest announcement has triggered a shift in our own perceptions of Drupal 8 from 'cool new toy' to enterprise-ready product.

We're already starting to see growing interest in Drupal 8 amongst our existing customer base and from new business, and only expect this to grow even faster now that Drupal 8 is approaching final release.

You can find more information about Drupal 8's features and benefits in the official release announcement.

If you're interested in a Drupal 8 project or want to know more about how Drupal 8 can help your business, please get in touch.

Written by: Mark Pavlitski, Technical Director

Microserve is a Drupal Agency based in Bristol, UK. We specialise in Drupal Development, Drupal Site Audits and Health Checks, and Drupal Support and Maintenance. Contact us for for further information.

iterate.: Drupal 8 is finally here

Thu, 10/08/2015 - 06:23

After what has seemed like an eternal wait, yesterday's announcement that the first release candidate of Drupal 8.0 is ready means that we will be working with a very different Drupal going forward.

Free Energy Media: Drupal or WordPress to iOS/Android Conversion Software

Thu, 10/08/2015 - 03:16

Too many websites claim to be able to turn your website into a mobile app but not one of them deliver results as expected, the simple truth is you can’t automate the process, it will always leave something to be desired. Our software couple with custom implementation can turn your Drupal or WordPress website into a mobile feeling app. With native login functionality the user does not need to repeatedly login to the app giving the illusion of a 100% native mobile app from a website that lies behind a login.   After logging in once the user simply clicks the homescreen icon and will be taken to the authenticated/logged in website area. All viewed from within a native iOS or Android wrapper. Custom offline messages and native navigation can all be implemented out of the box with our software. The overall time to implement the basic service for your app is $3000, the source code is yours forever with no annual fees, and you publish directly from your developer account. This services service will get you better results than an automated do-it-yourself platform,and also authentication and login which platforms like Appresser can’t do. To convert a a website/webapp the one click homescreen icon app experience.  The API currently exists for Drupal 6 or Drupal 7 sites. App software is written in both native iOS (Objective C) and Android (Java) code.

Sign up using your email or Facebook SDK, the app communicates via REST to your website.

Choose to sign in with Facebook once and then sign in automatically by clicking your homescreen icon.

App gets added to homescreen and login via one click.

Preloader provides instant touch feedback for a native feel.

Custom offline message instead of web browser “page not found”.

Turn any responsive website into an app.

OhTheHugeManatee: Drupal 8 RC 1 Is Out! What Now?

Thu, 10/08/2015 - 03:16

Last night (my time) I got the good news over twitter:

Blue smoke from the chimney, I repeat blue smoke from the chimney! #Drupal8 release candidate 1 has been released! Good day for #Drupal!

— Marc Drummond (@MarcDrummond) October 7, 2015

That’s right, Drupal 8 has it’s first release. But what does that mean? Is it done? Can I start using it yet? What kind of changes are coming? Will dawehner get to sleep, at last?

Are we there yet?

Despite all the rejoicing on social media, this isn’t the final release for Drupal 8 – it’s only the first Release Candidate. This means that we have (officially!) 0 “critical” bugs left to fix in Drupal 8. That means exactly what it sounds like: there are no critical, world-ending bugs left… that we know of. Just like any software product, we’ll continue to discover critical issues through its entire life cycle. We’re still finding occasional critical issues in Drupal 7 almost five years since its first release candidate; that’s just a part of supporting a piece of software over the long term. The RC phase means that while Drupal 8 is stable enough to use, we’re still discovering critical bugs a little too frequently to recommend it for everyone, in every use case.

“A little too frequently” means that the rate of critical bugs incoming is still too high to be able to promise the fast respond-and-fix turnaround that we want. Every two weeks we’ll create a new Release Candidate version that fixes whatever new criticals have been discovered. Once the core team is confident that they can squash bugs in a timely enough manner, they’ll (finally) release Drupal version 8.0.0.

But when will it REALLY be released?

“When it’s ready” still applies! But we are very, very close now. To give you a point of reference, Drupal 7 went through four Release Candidates before release (two months). That codebase was a lot more fragile than this one, so it’s reasonable to hope that we’ll have a very Drupally Christmas season this year. Personally I’m betting on January.

Can I use it yet?

Yes! Some terms and conditions apply.

Just because there are no criticals left, doesn’t mean that D8 is completely bug-free! We have a big pile of known “major” issues that have been deferred until after 8.0.0, which should impact your decision. You can see at that link that some of them are already ready to be committed. The catch is that during the RC phase, we aren’t allowed to commit these fixes. We’re basically only allowed to work on criticals and documentation. So there are still some serious issues that might be a problem in some use cases.

The biggest issue (that I know of) is a potential incompatibility between Drupal 8’s new “cache tags” header and some hosting providers. The problem is that Drupal includes some important caching information on the “back of the envelope” of its response to a page request, and it’s possible to run out of envelope! If the cache tags header gets too long for the web host to handle, it can behave unpredictably. You might get white screens of death, or it might just shorten the cache tags header, removing important information. There’s a solution in the works to allow a maximum length setting, but it won’t make it in until 8.0.1 (two weeks after 8.0.0). In the meantime you should avoid D8 if you have any very complex pages with many elements. The examples in that ticket are good ones: a news site with very complex layouts, or a single page site with a lot of “stuff” crammed onto the one, front page.

The other “gotcha” to bear in mind is that it will take some time for Drupal’s contributed modules ecosystem to catch up with the new version. According to Bluespark’s status of the top 100 modules for D8 page, so far only 9 of the top 100 D7 modules have a D8 release marked “stable.” 19 of those top 100 modules are included in D8 core however, so our total count is up to 28. This is enough to give a good foundation for relatively simple sites, especially if you have some PHP skills under your belt. But I wouldn’t go building a complex Intranet on it just yet!

Wait, so it’s still busted?

No! Drupal 8 is a solid platform for most use cases – that’s the point of the RC release! It’s time to go ahead and use it for site builds. Just take it easy and use it for simple sites, first. Give the rest of the community a chance to release stable modules, and hold off on that Facebook-buster behemoth website you’ve got planned until a few months after launch.

What happens after 8.0.0?

After 8.0.0 is released, we will make an enormous, fundamental shift in how Drupal is developed. We will start using semantic versioning with a regular release schedule. Every two weeks we’ll release a new “patch level’ release: 8.0.1, 8.0.2, and so on. Patch level releases will be bug fixes only, and will be backwards-compatible – that means they won’t break anything on your site. Approximately every 6 months, we’ll release a new “minor level” release: 8.1.0, 8.2.0, etc. Minor releases are allowed to contain new features, but they are still guaranteed to be backwards-compatible. So even these releases won’t break anything on your site. We’re still figuring out the exact process for minor releases, but they will include similar phases to what we’ve seen with D8 core: a beta phase, and release candidates until we’re sure there are no more criticals.

What about API changes, and features that would break existing sites? We won’t even start developing on those until well into the D8 life cycle. Those changes will belong in the 9.x branch, and will be kept completely separate from anything that could touch your site.

The key take-away here is that D8 updates should never break your site. They may add features, but they will not interfere with whatever you’ve already built. We’ll continue a regular pace of improving the product in a predictable, scheduled, and backwards-compatible way.

Where are the best Drupal 8 release parties?

The Drupal Association is coordinating promotion for official Drupal 8 launch parties. If you want to host one, just fill out their form and they’ll help you promote it! So far no one has built a site mapping the parties, but keep an eye out in the #drupal hashtag on twitter!

Who do I congratulate? Who do I thank?

Drupal 8 RC 1 is the combined effort of more than 3200 contributors. That is an incredible number. By comparison, Apache, the world’s most popular open source webserver, has 118 contributors. MySQL, the database platform which runs an enormous portion of the Internet, has 1320 contributors. So you can basically walk up to anyone at a Drupalcon and thank him or her!

Most of the contributors to Drupal 8 leaned on the support, training, and hand-holding of mentors at Drupal events all over the world. I know I needed a mentor for my first core contributions, and I got to turn around and mentor other people myself. The mentors are the support network that made this level of mass contribution possible.

But the level of effort is definitely not evenly distributed. Most contributors have made fewer than 20 registered contributions. But some people have really gone above and beyond what anyone would expect. It’s no exaggeration to say that these people have shaped the future of the Internet.

It is easy to concentrate on the number of contributions as the only metric of involvement in the release of D8. But some of the biggest influences on Drupal 8 have been community leaders, whose effort is not counted in commits under their own names. The initiative leads who architected and directed all this contribution: heyrocker, Senpai, jlambert, Crell, dmitrig01, Gábor Hojtsy, Jose Reyero, mitchell, jenlampton, bleen18, jackalope, ericduran, jhood, jacine, shyamala, rupl, JohnAlbin, twom, and sofiya. Without them, we would have had nothing to commit!

Listing all of those names brings to mind the platform that they all use to contribute and coordinate: drupal.org, maintained by the Drupal Association. It also brings to mind the events, like Drupalcon, Drupalcamps, Dev Days, which everyone attends to collaborate, teach, and learn; also maintained by the Drupal Association. Not to mention the Drupal 8 Accelerate program, which raised $250,000 towards developer grants; also created and maintained by the Drupal Association. The people at the Association have worked tirelessly to support this release.

All of this developer time is extremely valuable, and not all of it came out of the developers’ own free time. Huge swaths of Drupal 8 development have been sponsored by the companies that participate in the community. We’ve only been tracking their contributions for a short time, but the information we have is powerful. This release would not have happened without the developer time donated by companies like Acquia, MD Systems, Chapter Three, Tag1, and Druid. A quick glance at Drupal.org’s Drupal Services page shows us that contribution is a normal part of the culture for the biggest Drupal companies. These were the top 5, but almost every major Drupal shop has contributed in some measure. Thank you to these companies for believing in our product and supporting it so generously.

Finally, the people who bear the greatest personal responsibility are definitely the core maintainers. These people don’t just deserve your thanks; they deserve lifetime supplies of free beer sent to their homes. I can’t offer that on a blog; all I can say is THANK YOU.

Alex Bronstein

Dries Buytaert

Angie “webchick” Byron

Nat Catchpole

Jess Myrbo

Alex Pott

To everyone who contributed, but especially the people I’ve listed here: You’ve made a new generation of Internet innovation possible. Thank you.

Foster Interactive: DWW.com - Boutique Intellectual Property & IT Law Firm Launches The First Legal Sector Website Built With Drupal 8

Thu, 10/08/2015 - 02:00

Deeth Williams Wall is a specialized law firm focusing on intellectual property and information technology law. Not only does the firm have experienced lawyers, but their team has an impressive mix of computer science, engineering, and “hard” science degrees appended to their job titles.

Their team is smart, experienced and ready to think outside the box to position their firm in a crowded marketplace.

The Playing Field

I’ll be frank - The legal practice isn’t exactly a sector which tends to be innovative when it comes to technology or marketing. DWW is based in Canada which is dominated by the “Seven Sisters” Law Firms which are monolithic organizations each with hundreds of lawyers. You’re going to see a lot of greys and blues in the sister’s websites, and they often feel stark, and clinical.

DWW has 25 lawyers and the last thing they needed was a “me too” approach on their website. Their firm is specialized and their website needs to be specialized as well.

Project Goals

After our initial brainstorming sessions we focused on 3 main goals for the site:

Content Strategy: People First - Emphasize the team at every opportunity.

Design Approach: Have personality, be friendly, be human, be memorable.

Editorial Process: Creating & distributing content must be easy and/or automated.

Legacy Wordpress Site

DWW was running a wordpress website. They have produced a remarkable amount of content including about 2500 articles on law and legal news. Unfortunately their legacy site had some technical problems that harmed their performance in search engines. We needed to keep all that great content, while dramatically improving the site’s Search Engine Optimization (SEO).

Technology Platform: Drupal 8

We built a conference site, and our company site in Drupal 8 (D8) and knew it would be a great fit for DWW. Like any technology choice there were trade-offs. By using beta software, the initial build progressed slowly compared to a Drupal 7, but in the long run knew we’d be building a more sustainable platform with a longer lifespan.

We launched the “Minimum Viable Product” website in mid-July focusing on the new art direction along with SEO improvements. We have a road map of planned features and A/B testing for aspects of the site. As time (and Drupal 8) progresses we have applied small incremental updates to dww.com.

Challenges working with a Drupal 8 Beta Bugs

Working with beta software certainly provided some challenges. There were some bugs, but most affecting the site have now been fixed as Drupal 8 moves closer to a stable release.

Contrib Modules

Many of the contrib modules we normally use in a Drupal 7 site simply didn’t exist. But I have been pleasantly surprised to find the features available in Drupal 8 dramatically reduces the need to use contrib modules at all.

Only 3 Contrib Modules Needed!

The 3 contrib modules we used were Token, Pathauto, and “Simple XML Sitemap”, (The “regular” XML sitemap module was not yet stable). In comparison our typical Drupal 7 websites would include 30+ contrib modules for a site of similar scope.

Benefits of Using Drupal 8 Drupal 8 provides some killer features which really helped accomplish our goals for this project. Content Authoring Experience

Drupal 8 includes a great content authoring experience out of the box. Inline editing, file asset management, and systems for simplifying the content UI are included by default. These systems were very easy to change for our specific editorial requirements. Accomplishing this in Drupal 7 is certainly possible, but it’s a heck of a lot more work.

Responsive Images

Drupal 8 includes support for <picture> element out of the box. This is a new HTML spec that allows a web browser to load small images on small screens, and large images on larger screens. This is a critical component for making mobile-friendly websites load fast.

Flexible Template Engine

We’re picky about how HTML and CSS are coded in our websites. Drupal 8 has a very flexible template engine called TWIG which would allow us to easily and very precisely control the markup generated by Drupal. This allows us to easily implement 3rd party tools and libraries into the site without the need for a Drupal contrib or custom modules.

Project Highlights Migrating 2500 Articles from Wordpress to Drupal 8

Drupal 8 includes a framework for migrating content into your website. This framework can be extended to import content from older versions of Drupal CMS’s. Currently D8 only supports Drupal 6 migrations with a “point and click” interface so we needed to improvise a little.

Drupal 6 to the rescue

Because we had a few thousand articles in Wordpress, we created a disposable Drupal 6 website to “stage” the content. Drupal 6 has a number of aging, but very reliable tools for migrating wordpress websites to Drupal 6. Once we had the content in Drupal 6, migrating all that content to Drupal 8 was literally a 45 minute job.

SEO Improvements with Schema.org Metadata

Schema.org outlines a specification for adding special metadata to you website to allow search engines to better understand your content. Specifically, you can tell search engines whether a chunk of content is describing a member of the firm, news about law, or a specific service offered. This improves a website's SEO and allows search engines to customize how your search results appear with rich snippets.

Drupal 8 supports schema.org out of the box, and with it’s flexible template engine, we were able to customize the metadata even further. Here’s an example from the Practice Areas page.

View “Practice Areas” with Google’s Structured Data (Testing) Tool

he tool shows the following metadata for the page:

An “Attorney Type” business

  • That has contact info (Address, Tel, Email, etc)

  • Social Media Accounts (Facebook, Twitter, LinkedIn)

  • Has a Logo

  • Offers Services including:

    • Intellectual Property

    • Patent

    • Trade-mark

    • (and so on)

Automatic Email Newsletter Generation

The articles written by DWW are distributed in a bi-monthly email newsletter called e-tips™.

The Old (Manual) Process

DWW’s content team sent articles in word docs to the IT department. They in turn loaded each article into the website. They then copied each article into their email system, applied some formatting, and then deployed the newsletter.

The New Process

With the new website the DWW content team enters content directly into Drupal and tags the content to belong to a specific e-tips issue. The e-tips content is automatically generated and formatted for the newsletter. IT does a single copy n’ paste from Drupal to the email system to create the newsletter.

This system saves time, and reduces the chance of errors. It was built very quickly using D8 core views module, and some simple theme templates.

Hootsuite RSS Feed for Automating Social Media

We also wanted to automate the distribution of articles to social media channels.

The content team simply flags content for Social Sharing and fills out a few extra fields. This is published to a customized RSS which is read by hootsuite.com, and is put in a queue which the content team then schedules for distribution to their social channels. The process can be fully automated. In this case DWW wanted more control. The content is automatically added to a queue which is moderated and scheduled by the team.

Mission Accomplished

The site has been successful achieving our project goals. DWW.com is a memorable, and highly functional website. We’ve be able to automate a number of content workflows while greatly improving the site’s SEO performance.

Our analytics show a major improvement in the bounce rate, along with a very significant increase in the average time spent on the site. By no means is the site complete. We’ve identified further design and SEO improvements; however, we have created a good base site that will serve DWW for years to come.

Drupal 8 Is Now Our Default Platform

Drupal 8 has allowed us to implement several very customized features for dww.com. We launched the site in Drupal 8 Beta-10 and have since upgraded to Beta-16. Most of the bugs we experienced no longer exist.

Unless there’s some specific Contrib module required for a project, Drupal 8 is our new default platform.

Drupal @ Penn State: Another month of camps!

Wed, 10/07/2015 - 23:46

Before I say anything… DRUPAL 8 IS RC1!!! Great work to all the contributors that poured themselves into it to get it “done when it’s ready”. It’s looking like a really solid platform to build on down the road. Now..

Realityloop: Programmatically attach files to a node in Drupal 8

Wed, 10/07/2015 - 23:27
8 Oct Stuart Clark

If you're a Drupal developer, there's a good chance that at some point you've done a search for "Programmatically attach files to a node in Drupal 7" or similar. I know I've done the search repeatedly, as while it's a common enough task it involves just a bit too much code to not be retained by my long term memory.

Now that Drupal 8 is upon us adding a file to a node (or any entity) is far easier. I'm not going to do a comparison, however, as I don't want to confuse anyone who stumbles onto this post with the intent of simply copying and pasting the below code snippet, so you'll just have to take my word for it.


So, straight to the point, this is all it takes to programmatically attach a file to a file field on a Node:

  1. use \Drupal\node\Entity\Node;
  3. // Create file object from remote URL.
  4. $data = file_get_contents('https://www.drupal.org/files/druplicon.small_.png');
  5. $file = file_save_data($data, 'public://druplicon.png', FILE_EXISTS_REPLACE);
  7. // Create node object with attached file.
  8. $node = Node::create([
  9. 'type' => 'article',
  10. 'title' => 'Druplicon test',
  11. 'field_image' => [
  12. 'target_id' => $file->id(),
  13. ],
  14. ]);
  15. $node->save();

In the above example we are taking a remote file and saving it locally, which is probably the most commonly used case when programmatically adding a file to a node.


What if the file is already present in your local file system and you want to attach it to an existing node? Here's an example for that too:

  1. use \Drupal\node\Entity\Node;
  2. use \Drupal\file\Entity\File;
  4. // Create file object from a locally copied file.
  5. $uri = file_unmanaged_copy('public://source.jpg', 'public://destination.jpg', FILE_EXISTS_REPLACE);
  6. $file = File::Create([
  7. 'uri' => $uri,
  8. ]);
  9. $file->save();
  11. // Load existing node and attach file.
  12. $node = Node::load(1);
  13. $node->field_image->setValue([
  14. 'target_id' => $file->id(),
  15. ]);
  16. $node->save();


And lastly, what if you want to stick a placeholder file to a node? Thanks to Drupal 8, this is too easy:

  1. use \Drupal\node\Entity\Node;
  3. $node = Node::create([
  4. 'type' => 'article',
  5. 'title' => 'Generated image test',
  6. ]);
  7. $node->field_image->generateSampleItems();
  8. $node->save();


So get to it, programmatically attach files to your nodes and be merry!

drupaldrupal 8drupal planet

VM(doh): 3 Reasons Why Yoast SEO is Great for Drupal

Wed, 10/07/2015 - 15:58

Yoast SEO, known for its powerful features as a must-have Wordpress plugin, has released a Drupal module. This move has surprised many in the industry, but for Drupal users it is wonderful news.

As Softpedia.com observed: "...the Drupal module will be a complete rewrite of the WordPress plugin, molding on the fine edges that make the Drupal CMS so powerful, and will also feature Yoast's Real-time Content Analysis platform."

Here are a few others reasons why this is such good news for Drupal users:

Yoast is Very Good at Simplifying SEO

Yoast earned a reputation for analyzing the tediously complex tasks of SEO and reducing them into simple steps for the website owner. It made life easier for everyone.

The Yoast SEO project page on Drupal.org sums up the new Yoast SEO module this way:

This module checks simple things you're bound to forget. It checks, for instance, whether your posts are long enough, if you've written a meta description and if that meta description contains your focus keyword, if you've used any subheadings within your post, etc. etc.

It ensures you've actually chosen a focus keyword for each article and ensures you're using it.

(Side-note: in the Drupal announcement linked above, it says Yoast makes sure you're "using [your focus keyword] everywhere." That shouldn't mean, however, that you should engage in keyword stuffing. That doesn't work anymore. The new Google algorithm knows when you're trying to stuff keywords and penalizes you for it. Remember, the name of the game is now Search Experience Optimization, not Search Engine Optimization. Write for the experience of the reader, not for the search engine robots. Don't make your posts awkward and hard to read by over-filling them with keywords.)

It's Coming Just in Time for Drupal 8

After the DrupalCon 2015 conference in Barcelona, Spain, the Yoast SEO module became available for Drupal 7.x. Hopefully this means that Yoast is already working on or at least planning its Drupal 8 version. That would be perfect timing for Drupal users: not only would they be getting a new Drupal version soon, but they would have a new world class SEO module to go with it.

It's Also Bringing GoalGorilla Into the Mix

Yoast has found a friend in GoalGorilla, an award-winning Dutch company that uses a variety of powerful design and analytic tools to help you learn more about your users. As their humorous landing page says in its English translation, "you've never been so close to your users." GoalGorilla was a #1 winner at the DIA (Dutch Interactive Awards). Their involvement in Yoast SEO for Drupal is definitely a good thing.

A Few Final Thoughts on the Benefits of Yoast SEO

If Yoast SEO for Drupal turns out as good as its Wordpress version, we can expect it to work similar feats of magic, such as these features:

  • Handles pinging for you by sending up-to-date sitemaps to the search engines. This enables search engines to add your content more quickly.
  • Allows you to write two headlines, one for search engines and one for your visitors, thus ensuring your articles are optimized for the user's search experience while also feeding search engines great keywords in the headline.
  • Reminds you if you need to fix a post url, slug, or other element that's hurting your SEO.
  • Allows you to add page redirects when old posts are getting a ton of traffic but you'd prefer the traffic goes to a newer, updated post.
  • Fixes incorrect links from other sites. If someone mangles the URL for your page, Yoast has a way of fixing it and getting the visitor to clean permalinks.
  • Hopefully the features listed above, and the many other perks of the popular Wordpress plugin, will find its way into Drupal.

Subscribe to our newsletter for more helpful tips about Drupal that can help you achieve your business objectives.

Mediacurrent: Drupal 8 RC1 is here!

Wed, 10/07/2015 - 15:48

Today, the Drupal community has officially released the first release candidate of Drupal 8, with the final release imminent. This is a historic day for Drupal, the open-source content management system that powers your website as well as millions of other web properties in the world.  This release has been 4+ years in the making, had 3000+ code contributors, and represents a huge opportunity for you. We believe your presence on the web is the single greatest marketing tool that exists within your organization.

Mediacurrent: Drupal 8 RC1 is here!

Wed, 10/07/2015 - 15:48

Today, the Drupal community has officially released the first release candidate of Drupal 8, with the final release imminent. This is a historic day for Drupal, the open-source content management system that powers your website as well as millions of other web properties in the world.  This release has been 4+ years in the making, had 3000+ code contributors, and represents a huge opportunity for you. We believe your presence on the web is the single greatest marketing tool that exists within your organization.

Dries Buytaert: First Drupal 8 Release Candidate available

Wed, 10/07/2015 - 15:39

Today, we announce Drupal 8.0.0 RC1, the first Drupal 8 release candidate. It's a very exciting milestone, and one that has taken a lot of hard work, long nights, weekends, and extreme commitment from our community. I appreciate the dedication of everyone involved, and understand what it takes to give up personal time in pursuit of building something greater. So, for that I want to thank you.

In total, Drupal 8 has had more than 3,200 contributors and 15,000 committed patches. The good news is, we've finally reached the day when Drupal 8 has hit zero release-blocking bugs and is ready for takeoff!

Historically, the adoption of Drupal has roughly doubled with each new release. We expect no different from Drupal 8, a release I believe positions Drupal most strongly for the future. We've undergone some big architectural changes to get more people using Drupal, and to prepare ourselves for the future. I can't wait to see what the community does with Drupal 8. It's time to start building!

Drupal Association News: Drupal 8 release candidate: available now

Wed, 10/07/2015 - 13:52

Drupal 8 is now available as a release candidate (RC). An RC is like a sneak preview you can use. It's not a final release—that’s coming soon, and there may be another release candidate before then. But its code and interface should feel stable now. You can install it, start designing for it, create and build with it, and extend and improve it. That means you can start putting Drupal 8's more than 200 new features and improvements to work today.

Get Drupal 8 RC1

A first look at Drupal 8's features

With Drupal 8, the world's best content management framework just got better. Every built-in theme is responsive. Every single component is translatable out of the box. More elements have configurable fields and there are new field types for better content modeling.

It’s built people-first. The authoring experience is better, with features like in-context editing and enhanced previews. It's easier to add people-friendly meaning via native schema.org markup. There's extensive support for accessibility standards.

Drupal 8 also has all the geekery you can Git. All-new configuration management (full exports, easier transitions between environments) means safer, faster site development and maintenance. REST-first native web services enable 3rd-party integrations. And adding Twig is the most complete transformation of Drupal theming in a decade. It allows friendlier syntax, better security, and a separate presentation layer.

Organizations are using Drupal 8 now

There are thousands of Drupal 8 installations already up and running. Goal Gorilla, Amazee Labs, Gravity R&D, and DrupalNorth joined drupal.com as some of the earliest Drupal 8 adopters. France Télévisions, Memorial Sloan Kettering Cancer Center, and CH2M have chosen Drupal 8 too. The list of sites built with Drupal 8 is growing and growing.

Companies and organizations around the world rely on Drupal 8 right now. Your organization could be next. Have questions before getting started? Check out answers to some frequently asked ones, and read the RC’s release notes.

Feedback welcome

Sharing feedback is important. It's part of the open source spirit. It's what pushes the Drupal community forward. And it's what will get Drupal 8 from RC to a full version release. If you find bugs while using this RC, let the community know.

To join the social conversations about this RC, use #drupal8rc. To mention and find conversations about work already made with Drupal 8, use #madewithd8.

A great big thank you

This RC wouldn't have been possible without our community. Its contributions, its diligence, and its patience created something special. To everyone who’s helped and will help, even if you're not in the Drupal 8 hall of fame, thank you.

Drupal 8: make something amazing, for anyone.

Taxonomy upgrade extras: drupal8rcPersonal blog tags: drupal8rc

Drupal Association News: What's new on Drupal.org? - September 2015

Wed, 10/07/2015 - 11:52

Look for links to our Strategic Roadmap highlighting how this work falls into our priorities set by the Drupal Association Board and Drupal.org Working Groups.

DrupalCon Barcelona Recap

DrupalCon Barcelona was an opportunity for Drupal Association staff to meet with members of the community, attend some critical sessions about upcoming development in Core and Contrib, and to present some sessions of our own.


Being able to speak with the community face to face is a tremendously valuable opportunity for us, and helps us to validate our priorities, and keep on top of the changing needs of the community. Barcelona was a great con on both fronts!

The Drupal.org Roadmap Improved Search on Drupal.org

In August, we upgraded our search infrastructure, identified criteria for evaluating our search improvements, and created a pre-production search environment to allow us to test our changes to search. By September we were ready to begin deploying changes.

We used a script which evaluates the change in position of results for the key search phrases we are using as exemplars. Then we deployed several changes, primarily to our biases for searches matching path aliases and project machine names. These changes have greatly elevated the desired results for our exemplar phrases in search.

We're pleased with these improvements, and may continue to tune search further, especially as community members provide additional search phrases with unexpected results that we can test against.

Documentation Improvements

One of the larger initiatives for September was to work on improvements to Documentation on Drupal.org. This is a clear priority from the community, and also an important part of the work we identified as part of our content strategy.

To implement the requirements of the content strategy we introduced a few new modules to Drupal.org, in particular: organic groups, and panels. These and a few supporting modules have allowed us to create the new Section content type one Drupal.org. Sections are groups, which can have their own maintainers and governance structure. Content (including child Sections) will be associated to this new higher level Section content. Panels and some preconfigured layouts will allow us to improve the layout of content on Drupal.org and create a more consistent look and feel.

In September we made the initial deployment of these underlying modules and configuration and we are now beginning to configure our first Section - Documentation. At the same time, we reached out to key members of the documentation community during September, both remotely and at DrupalCon Barcelona, to identify more specific user stories that we will build out as features on this framework.


Our focus for DrupalCI in September was identifying any work that needed to be done to allow us to shut off the old PIFT/PIFR testbots on qa.drupal.org, and any feature improvements and bug fixes as they were identified. We also wanted to ensure that D8 Core and Contrib developers were comfortable relying on the new system.


During September we made progress on a few fronts. Firstly, users who create tests or project maintainers can subscribe to email notifications about their tests. Secondly, we continued fixing issues on the critical path to allowing us to disable the old testbots. Finally, about a week prior to DrupalCon Barcelona we allowed DrupalCI test results to set issues to needs work, letting Core maintainers accelerate their testing in the ramp up to the Con.

In October we anticipate disabling PIFT/PIFR for Drupal 8 testing entirely, and then phasing it out for Drupal 6 and Drupal 7 testing as well, once testing in those environments has been vetted. At that point the old qa.drupal.org test results will be archived statically. Moving forward DrupalCI development will move more into stable maintenance of the system as a production service, and evaluation of feature requests and contributed community work.


Localize.Drupal.org needed had only a few key issues to tackle in September - primarily: a server side version fall back system for translations. A related issue allowing us to symlink translations to the ‘latest’ release was completed as well.

The final task for Localize, and one of the Drupal.org infrastructure blockers to an 8.0.0 release, is support for translatables with external dependencies(for contrib). The community has been iterating on patches for this feature, and it should be fixed soon.

Incremental Improvements to Drupal.org Updating the Marketplace

In order to celebrate the organizations that are supporting the development of Drupal 8, we launched some changes to the Drupal.org marketplace. First, we changed the organization listings themselves, highlighting the people at the organization, the projects supported, the case studies, and the issue credits awarded in the last 90 days.

Finally, instead of sorting the listings alphabetically, we now sort by the listings by issue credits. This highlights the organizations who have been working hard to move the project forward and get Drupal 8 released!

We've received a lot of positive feedback about the Marketplace changes, as well as a large amount of community feedback about additional improvements that could be made, particularly to the sorting algorithm. We'll continue to collect that feedback and iterate on this further.

Revenue Related Projects (Funding our Work) DrupalCon Dublin

As is tradition, at DrupalCon Barcelona we also launched our next European DrupalCon - DrupalCon Dublin! For this initial announcement we launched the con splash page, but as the event gets closer the full site will go live. The Drupal Association and the local Drupal community in Dublin are very excited to welcome you to this con! Céad Míle Fáilte!




Sustaining support and maintenance

In addition to the infrastructure team's strong focus on DrupalCI and ensuring that the testing infrastructure was stable through DrupalCon Barcelona, the infrastructure team also made a few other changes. First, we evaluated a PHP version upgrade in our pre-production environments, and will deploy to prod in October. Secondly, we took the Solr infrastructure that had been upgraded in August, and set it up for high availability.

The Drupal Association infrastructure team also gave a presentation on the history of Drupal.org's infrastructure. This session provided a retrospective of the architectural decisions for Drupal.org in the past, as well as an opportunity to showcase where the infrastructure is headed and solicit feedback from the community.


As always, we'd like to say thanks to all volunteers who are working with us and to the Drupal Association Supporters, who made it possible for us to work on these projects.

Follow us on Twitter for regular updates: @drupal_org, @drupal_infra

Personal blog tags: whats new on Drupal.org