Planet Drupal

Subscribe to Planet Drupal feed
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 6 hours 28 min ago

Drupal.org blog: What's new on Drupal.org? - August 2018

6 September 2018 - 10:57am

Read our Roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community.

Announcements The Drupal Association announces our partnership with GitLab

In August we were pleased to announce a migration of the Drupal.org developer tools to GitLab.

This will be a three phase process, and we'll be announcing more soon at Drupal Europe and in future blog posts.

We want to say a special thank you to contributor Michael Hess, who volunteered hundreds of hours toward this initiative over the past year (and more).

Git remote URL changes for full projects and sandboxes

To support the migration to GitLab, Git authentication methods for Drupal.org hosted projects are changing.

In particular we have:

  • Deprecated password authentication for Git
  • Deprecated the full project Git remote format
    <username>@git.drupal.org/project/<yourproject>.git
    in favor of:
    git@git.drupal.org:project/<yourproject>.git
  • HTTPS clone urls for full projects will not be changing.
  • Sandbox URLs have changed from: <username>@git.drupal.org:sandbox/<author-username>/<project-node-id>.git
    to
    git@git.drupal.org:sandbox/<author-username>-<project-node-id>.git
  • HTTPS clones sandbox URLs have changed from:
    https://git.drupal.org/sandbox/<author-username>/<project-node-id>;.git
    to
    https://git.drupal.org/sandbox/<author-username>-<project-node-id>.git

We have updated the version control instructions for Drupal.org projects, and put a message in our Git server for any user who makes a push using the deprecated format.

For more information, please review: https://drupal.org/gitauth

Reminder: Drupal Europe is coming up soon

Drupal Europe is coming up in less than a week! Drupal Europe will be the largest gathering of the Drupal community in Europe and is a reimagining of this important community event as both technical conference and family reunion. The Drupal Association engineering team will be attending to connect with the community, provide updates on Drupal.org, and listen to some of the incredible speakers who will be in attendance.

Join the community in Darmstadt, Germany, from September 10-14, 2018. Make sure to register, book your travel, and secure accommodation: http://drupaleurope.org/

Reminder: DrupalCon Seattle Early Bird Registration is open now

DrupalCon Seattle general registration is open now. The programming has been transformed to address the needs of Builders, Content and Digital Marketers, Agency Leaders, and Executives: https://events.drupal.org/seattle2019/registration

Please note that ticket prices have changed—and now Supporting Partners will receive a discounted rate compared to non-partner attendees. Joining the Supporting Partner program is a great way to support the Drupal project and the Drupal Association.

Drupal.org Updates Drupal.org issues can be sorted by # of followers

To help Drupal.org project maintainers understand what issues are most important to people, the issue queues can now be sorted by the number of people following each issue. Here's an example of the Drupal Core issue queue sorted by follower count.

Documentation landing page updated

The Documentation Initiative was formed at DrupalCon Nashville to help improve the onboarding experience for users new to Drupal. A lot of work has been going on in the background, but one of the more visible changes is the new Documentation landing page.

Stable Download link and updated Try Drupal menu

Drupal 8.6 ships with an incredible new Quickstart feature—and to make the process of trying out Drupal as simple as possible, there is now a stable url to retrieve Drupal's latest release.

Similarly, we've updated the top navigation of Drupal.org. The Try Drupal button which appears at the top of every page now offers users the choice of trying an online demo or downloading the software directly.

Travel and Tourism industry page launched

Drupal has a powerful place in the Travel and Tourism space, in use everywhere from Princess Cruises to AAA. To promote Drupal's power in this industry we've launched our Travel and Tourism page.

Decoupled Solutions industry page launched

Perhaps the most powerful implementations of Drupal are Decoupled solutions, relying on Drupal as a stable back-end for content delivery to multiple endpoints with different front-end architectures. This approach is still new to many, our Decoupled industry page helps educate the market.

Staff Updates Welcome Angie Sabin, Director of Operations

We're also very pleased to welcome Angie Sabin to the team. Angie comes from a non-profit background and is joining the Association to help us take finance and operations to the next level.

Welcome Kelly Delaney, Customer Success Coordinator

The Drupal Association is pleased to announce that Kelly Delaney has joined our team. As our new customer success coordinator, she'll work closely with supporting partners and sponsors to ensure that their needs are met and benefits are fulfilled.

———

As always, we’d like to say thanks to all the volunteers who work with us, and to the Drupal Association Supporters, who make it possible for us to work on these projects. In particular we want to thank:

If you would like to support our work as an individual or an organization, consider becoming a member of the Drupal Association.
Follow us on Twitter for regular updates: @drupal_org, @drupal_infra

Categories: Drupal

Drupal blog: A note from Dries on Drupal 8.6.0's release

6 September 2018 - 8:35am

This blog has been re-posted and edited with permission from Dries Buytaert's blog. Please leave your comments on the original post.

Last night, we shipped Drupal 8.6.0! I firmly believe this is the most significant Drupal 8 release to date. It is significant because we made a lot of progress on all twelve of Drupal 8 core's strategic initiatives. As a result, Drupal 8.6 delivers a large number of improvements for content authors, evaluators, site builders and developers.

What is new for content authors?

For content authors, Drupal 8.6 adds support for "remote media types". This means you can now easily embed YouTube or Vimeo videos in your content.

The Media Library in Drupal 8.6

Content authors want Drupal to be easy to use. We made incredible progress on a variety of features that will help to achieve that: we've delivered an experimental media library, added the Workspaces module as experimental, providing sophisticated content staging capabilities, and made great strides on the upcoming Layout Builder. The Layout Builder is shaping up to be a very powerful tool that solves a lot of authoring challenges, and is something many are looking forward to.

The Workspaces module in Drupal 8.6

Each initiative related to content authoring is making disciplined and steady progress. These features not only solve for the most requested authoring improvements, but provide a solid foundation on which we can continue to innovate. This means we can provide better compatibility and upgradability for contributed modules.

The top 10 requested features for content creators according to the 2016 State of Drupal survey.

What is new for evaluators?

Evaluators want an out-of-the-box experience that allows them to install and test drive Drupal in minutes. With Drupal 8.6, we have finally delivered on this need.

Prior to Drupal 8.6, downloading and installing Drupal was a complex and lengthy process that ended with an underwhelming "blank slate".

Now, you can install Drupal with the new "Umami demo profile". The Umami demo profile showcases some of Drupal's most powerful capabilities by providing a beautiful website filled with content right out of the box. A demo profile will not only help to onboard new users, but it can also be used by Drupal professionals and digital agencies to showcase Drupal to potential customers.

The new Umami demo profile together with the Layout Builder.

In addition to a new installation profile, we added a "quick-start" command that allows you to launch a Drupal site in one command using only one dependency, PHP. If you want to try Drupal, you no longer have to setup a webserver, a database, containers, etc.

Last but not least, the download experience and evaluator documentation on Drupal.org has been vastly improved.

With Drupal 8.6, you can download and install a fully functional Drupal demo application in less than two minutes. That is something to be very excited about.

What is new for developers?

You can now upgrade a single-language Drupal 6 or Drupal 7 site to Drupal 8 using the built-in user interface. While we saw good progress on multilingual migrations, they will remain experimental as we work on the final gaps.

I recently wrote about our progress in making Drupal an API-first platform, including an overview of REST improvements in Drupal 8.6, an update on JSON API, and the reasons why JSON API didn't make it into this release. I'm looking forward to JSON API being added in Drupal 8.7. Other decoupled efforts, including a React-based administration application and GraphQL support are still under heavy development, but making rapid progress.

We also converted almost all of our tests from SimpleTest to PHPUnit; and we've added Nightwatch.js and Prettier for JavaScript developers. While Drupal 8 has extensive back-end test coverage, using PHPUnit and Nightwatch.js provides a more modern platform that will make Drupal more familiar to PHP and JavaScript developers.

Drupal 8 continues to hit its stride

These are just some of the highlights that I'm most excited about. If you'd like to read more about Drupal 8.6.0, check out the official release announcement and important update information from the release notes. The next couple of months, I will write up more detailed progress reports on initiatives that I didn't touch upon in this blog post.

In my Drupal 8.5.0 announcement, I talked about how Drupal is hitting its stride, consistently delivering improvements and new features:

In future releases, we plan to add a media library, support for remote media types like YouTube videos, support for content staging, a layout builder, JSON API support, GraphQL support, a React-based administration application and a better out-of-the-box experience for evaluators.

As you can see from this blog post, Drupal 8.6 delivered on a number of these plans and made meaningful progress on many others.

In future releases we plan to:

  • Stabilize more of the features targeting content authors
  • Add JSON API, allowing developers to more easily and rapidly create decoupled applications
  • Provide stable multilingual migrations
  • Make big improvements for developers with Composer and configuration management changes
  • Continually improve the evaluator experience
  • Iterate towards an entirely new decoupled administrative experience
  • ... and more

Releases like Drupal 8.6.0 only happen with the help of hundreds of contributors and organizations. Thank you to everyone that contributed to this release. Whether you filed issues, wrote code, tested patches, funded a contributor, tested pre-release versions, or cheered for the team from the sidelines, you made this release happen. Thank you!

Categories: Drupal

Vardot: Drupal 8.6 Released - 5 New Desired Features

6 September 2018 - 8:33am
Mohammed J. Razem September 6, 2018

Drupal 8.6 was released yesterday and is being touted as the most significant update to Drupal 8 so far.  Browsing initiatives being undertaken by the Drupal community always gave an indicator towards the direction and future of Drupal. It’s easy to understand why the ever-growing community of Drupal users were eagerly anticipating this latest version which promises to focus on enhancing the user experience as a priority.

So, beyond the usual fixes and improvements typical of any update; Vardot decided to highlight the new features and capabilities included in the latest release.

 

1. Media Editing and Management

A new media library has now become a core feature of Drupal 8.6. This upgrade significantly enhances the experience of content publishers and content marketing teams’ performance in particular.

As an integrated feature of Drupal 8.6; the new media library can be customized based on your needs as a content editor and publisher. Upgrading your CMS to the latest update will enable you as a content marketer to easily edit, publish and manage your content:

  • High efficiency – The mundane task of re-uploading existing media content is a thing of the past now as all media content can be saved and browsed in the new media library available in Drupal 8.6.

  • Embedding made easy – the latest Drupal version features built-in stable support for embedding remote media. In particular; YouTube and Vimeo video content.

 

 

 

2. Workspaces

Since the Workflow module has become stable back in version 8.4; staging of multiple content changes at the same time (Workspaces) has been one of the Drupal community’s most requested improvements.

This has been duly delivered as an experimental Workspaces module in Drupal 8.6. A simple and intuitive user interface enables users to define workspaces, deploy multiple content items between them in a smooth manner.

The Workspaces module is steadily evolving but even at this experimental stage; it will prove to be a major upgrade especially for website who prefer or need to publish various changes at once.

 

 

3. Layout Builder

A much-anticipated tool that enhances the site-building experience and authoring capabilities.

Provide a drag and drop interface for creating layouts, which can apply both to overall site sections, as well as overridden on individual landing pages.

Web pages can be more dynamic, personalized and purpose-driven now that site builders can take advantage of the Layout Builder module in Drupal 8.6. The flexibility that users are provided to create unique layouts for unique content formats is an exciting feature which will undoubtedly continue to develop and become a stable key feature of the updates to come.

If you still need help enabling the layout features, OS Training made a clear and simple guide.

 

 

4. Meeting Evaluators Needs

Drupal has introduced a smoother installation out-of-the-box experience in the form of a demo profile dubbed ‘Umami Food Magazine’ which showcases the most powerful capabilities of Drupal and an overview of a variety of sample views and field types.

Recognizing the importance of a positive evaluator experience; Acquia CTO Dries Buytaert has outlined the Drupal 8.6 installation process in response to challenges that faced evaluators of early Drupal version experiences.

Importantly, the latest update includes major improvements to the download experience and documentation. Users can now download and install fully functional Drupal demo applications in under 2 minutes, whilst new users in particular can benefit from the revamped documentation found on Drupal.org.

 

 

5. Migration

According to the official release announcement; migrating your website from Drupal 6 and 7 to Drupal 8 has never been easier as almost all migration modules are stable.

Drupal Association’s Marketing Communications Manager writes: “Drupal 8.6 sees both Migrate Drupal (migrations from previous major Drupal versions) as well as Migrate Drupal UI (upgrade user interface) modules provide a solution to update older sites. This means that if you have a monolingual Drupal 6 or 7 site, you can now use a supported and built-in user interface to migrate your site to Drupal 8. Multilingual migrations are still experimental and now wrapped in the Migrate Drupal Multilingual module.”

This update has been anticipated by content editors and developers alike and we are sure that Drupal 8.6 will afford users and the community as a whole to pursue opportunities to innovate and improve upon the great advances made so far.

Did the latest update address your priority issues? If not, what are they?

Let us know what you think of the new update.

Categories: Drupal

OpenSense Labs: Drupal 8.6 Release and The Road Ahead

6 September 2018 - 6:35am
Drupal 8.6 Release and The Road Ahead Akshita Thu, 09/06/2018 - 19:05

The Drupal community is relentlessly working towards achieving the goal of easy usability with each version. 

Not only has Drupal granted its users the ability to integrate futuristic technologies but also provided the marketers with compelling digital solutions. 

On September 5, 2018, Drupal 8.6 was released. And started the wave of enthusiasm and whispers among the stakeholders. 


Here's how much it has succeeded in living up to the expectations and what is to be expected from Drupal 8.7 release due in January 2019.

Drupal 8.6 is released. And this what you should be excited about! 

The Drupal core team releases new (minor) versions every six months. These contain bug fixes, security patches, or both.
  • Drupal Installation is Boring. Not Anymore. 

That’s true. My first experience was as blank as the fresh installed Drupal 8.3. “What am I supposed to do with this?”, I thought. 

WordPress, on the other hand, had something to fiddle with, at least. 

Version 8.6 brings with it Umami

A demo food magazine website to demonstrate features of Drupal core, Umami gives you dummy content to explore the CMS. Although released with 8.5, Umami is now part of the core under the out-of-the-box initiative. 

The goal is to add sample content presented in a well-designed theme, displayed as a food magazine. 

Using recipes and feature articles this will make Drupal look much better right from the start and help evaluators explore core Drupal concepts like content types, fields, blocks, views, taxonomy, quite easily. 

Upgrade to Drupal 8 with Complete Migration Guide

“This minor release provides new improvements and functionality without breaking backward compatibility (BC) for public APIs.”
  • Migrate With Ease

While not all Migration challenges are covered. Here are two of the important migration challenges addressed. 

  1. Backward compatibility
  2. ID Conflict with Node translation

You can read more about Drupal 8 migration challenges

When launched, Drupal 8 didn’t provide any sort of backward compatibility in modules and hence they were to be rebuilt in Drupal 8. 

However, this is solved with version 8.6. In fact, this is the first release of Drupal 8 to offer a fully supported migration path from Drupal 7. Several changes were needed to Migrate APIs to make this possible.

The most important migration module - Migrate - is not only, stable but adds up the ability to re-run migrations to pick up new content that was not available previously.

Another conflict with the multilingual website related to conflicting Node ids. Translations in Drupal 8 are stored in a completely different way than in Drupal 7 and Drupal 6. 

When migrating node data from Drupal 6/7 to Drupal 8, a lot of data would point to things that no longer existed.

The Drupal Release Cycle

Starting with Drupal 8.0.0, Drupal core releases moved to a new release cycle schedule, and begin using the semantic versioning numbering system. 

A release Window is decided for the site administrators (in advance) to look up for the days for a possible bug fix, security release, and minor feature releases. 

For any change in release date, a public service announcement is issued before the release.

First Wednesday of every month is fixed for    Bugfix release window for Drupal 8.5.x and 7.x
Third Wednesday of every month is fixed for security release window for Drupal 8.5.x and 7.x

  • Improved Editorial UI with Media Library

As an editor, you always want a seamless experience when editing. Be it with browsing blogs, or media that has been uploaded to the website.

The Media Library provides a views-based browser for previously uploaded media. 

With the new version, you can add media to content via a media field, either by selecting from existing media or by uploading new media (including basic bulk upload support).

  • Building a Custom Layout is a No-Brainer Anymore

Choosing a custom layout no more requires you to write down long lists of codes. But this is not the only thing that makes layout interesting. The layout feature applies to much more than just content types. 


Which implies that it can be used for media, contact forms, taxonomy, users, and more. 

Layouts allow you to build one of the individual fieldable entities which are completely customizable.

As a marketer, it won’t take much time for you to implement new ideas into a landing page. No more do you require adding contrib modules like Display Suits or Stacks for the job. 

The Layout helps to create one or more page sections and to choose from predefined options within them.

Seeing all the different issues and contributors in the release notes is a good reminder that many small contributions add up to big results. 
-Dries Drupal 8.7 - The Roadmap
  1. Streamlined bulk-upload form - An improved media bulk upload experience which exposes all fields on a single form.
     
  2. Media Metadata improvements - A simple and intuitive tool to configure the metadata-to-drupal-fields mappings on media entities.
     
  3. Faster Upload - Drupal 8 will officially support PHP 7 and drop support for PHP 5.5 and 5.6 with 8.7 release. PHP 7 is much lighter and faster than its previous versions, which means your site becomes quicker to load. 
     
  4. Bring migrate_source_csv to the core - The imported content remains in the CSV files and there is a code to read it and create the relevant entries. Having migrate_source_csv in core would allow the developers to remove that code and use migrate instead. This is important because the contenta CMS uses this for migrations.
     
  5. WYSIWYG integration - Ability to embed media into the content from the WYSIWYG editor. This will allow content creators to select from media library or create one by uploading an image without requiring any new APIs. 
     
  6. Editorial workflow config moving from content_moderation into a standard profile. This would help in smoother content staging. 
Drupal 8 to Drupal 9 Upgrade. What to Expect?

Over time, maintenance of backward compatibility would become more intricate. Thus, the point will be reached when too much of deprecated code is there in Drupal 8. At that time, deprecated systems will be removed and released as Drupal 9.

So, Drupal 9.0 should be almost similar to the last release of Drupal 8 excluding the deprecated code. Upgrading from Drupal’s latest version to Drupal 9.0.0 should be as streamlined as the upgrading of minor versions of Drupal 8 (eg. Drupal 8.5 to Drupal 8.6). Therefore, Drupal 9 offers a clean slate to innovate more swiftly.

Here’s What Content Editors Want...

Let me be a little selfish here. Yes, Drupal 8.6 looks really good to me and I look forward to working around that editor soon (because that is what concerns me, directly).  

As a content editor, I have numerous times faced issues which leave me frustrated. 

Improved media bulk upload, smart alt texts for code snippets, and meta information is something I actually look forward to. 

Uploading video (non-youtube content) can sometimes be a headache. 

There is still scope for major improvements to Drupal’s content workflow, preview and staging capabilities. It will be done by improving aspects of the Entity API in the core.

Future Important Dates

8.7.0 Feature Freeze: January 2019
8.7.0 Release: March 19, 2019

With all the mentioned features, I believe, the community is successful in making Drupal more intuitive and easy to use.  We provide upgrade assistance, connect with us, drop a mail at hello@opensenselabs.com for a faster upgrade. 

blog banner blog image Drupal 8 Drupal theme Drupal Umami Content Editing Drupal Layout Drupal Migrate Drupal Upgrade Drupal Multilingual Blog Type Articles Is it a good read ? On
Categories: Drupal

AddWeb Solution: ‘Promote Drupal Initiative’ - Drupal 8 will go places!

6 September 2018 - 4:43am

Drupal, the most favoured open source platform, took a huge leap with the launch of its latest version - Drupal 8. Today, it is not a mere open source platform; rather an enterprise level web content management that is pledged to provide an ambitious digital experience. Despite of being the best on the technical front, Drupal 8 is facing issues in terms of visibility on a larger level. Today, the digital world is not just reigned by the technical people. A whole lot of non-technical and new decision makers has arrived, which affects and influences the market. This is where Drupal 8 was lagging behind and was missed from the eyes of these key influencers. And hence, arose the need of promoting it globally. Hence, ‘Promote Drupal Initiative’ came into the picture.

 

DrupalCon, Nashville, 2018 was when the founder of Drupal talked about the ‘Promote Drupal Initiative’ extensively. Highly suggested by the technical experts, Drupal 8 now needed to touch the base of non-technical influencers of the market and influence them. A hell lot of marketing, promotion, and upgradations was needed to be done in order to penetrate the radar of non-technical influencers of today. And Dries shared his plan to promote Drupal, divided into 4 different phases:

  1. Strategy and Planning

  2. Drupal.org Improvements

  3. Public Relations

  4. Events & Advertising

 

Drupal 8 has seen an impressive rise of 51% increase in its adaption over past 1 year. The technical experts were aware of the strength of Drupal 8, but the absence of the 3rd ‘P’ of marketing i.e. ‘Promotion’ made the non-technical decision makers unaware of what Drupal 8 is capable of doing. Dries in his keynote at the DrupalCon, Nashville mentioned that ‘Drupal Promote Initiative’ aimed at gathering the support of $100,000. The enthusiastic supporters of Drupal had already contributed, as a result of which the initiative had already yielded $54,000. Addweb too has contributed to this growth-oriented initiative with a very humble contribution, alongside other eminent contributors from across the globe.

 

This voluntary-based initiative has gained a huge momentum so far, which is enough to prove the robustness and competence level of Drupal 8. As a member of the most ambitious digital experience that Drupal 8 is, each member of the community is inclined towards fostering the ‘Promote Drupal Initiative’ and Drupal at large. Destined to meet the goal, the ‘Promote Drupal Initiative’ is going to elevate the market of Drupal 8 and eventually raising the bar of open source community a notch higher!

Categories: Drupal

TIP Solutions: Great times to be working with Drupal

6 September 2018 - 1:32am

Image by @grohsfabian

 

There is a lot going on in the Drupal community:

1. The biggest news is that version 8.6 was just released with many improvements. You can read more about the improvements here.

What we have waited for is availability to create files via REST request. Now when building mobile Apps we can easily interact with the backend when dealing with files like images.

Planet Drupal Drupalcon REST api mobile app
Categories: Drupal

Dries Buytaert: Drupal 8.6.0 released

6 September 2018 - 12:23am

Last night, we shipped Drupal 8.6.0! I firmly believe this is the most significant Drupal 8 release to date. It is significant because we made a lot of progress on all twelve of Drupal 8 core's strategic initiatives. As a result, Drupal 8.6 delivers a large number of improvements for content authors, evaluators, site builders and developers.

What is new for content authors?

For content authors, Drupal 8.6 adds support for "remote media types". This means you can now easily embed YouTube or Vimeo videos in your content.

The Media Library in Drupal 8.6

Content authors want Drupal to be easy to use. We made incredible progress on a variety of features that will help to achieve that: we've delivered an experimental media library, added the Workspaces module as experimental, providing sophisticated content staging capabilities, and made great strides on the upcoming Layout Builder. The Layout Builder is shaping up to be a very powerful tool that solves a lot of authoring challenges, and is something many are looking forward to.

The Workspaces module in Drupal 8.6

Each initiative related to content authoring is making disciplined and steady progress. These features not only solve for the most requested authoring improvements, but provide a solid foundation on which we can continue to innovate. This means we can provide better compatibility and upgradability for contributed modules.

The top 10 requested features for content creators according to the 2016 State of Drupal survey.What is new for evaluators?

Evaluators want an out-of-the-box experience that allows them to install and test drive Drupal in minutes. With Drupal 8.6, we have finally delivered on this need.

Prior to Drupal 8.6, downloading and installing Drupal was a complex and lengthy process that ended with an underwhelming "blank slate".

Now, you can install Drupal with the new "Umami demo profile". The Umami demo profile showcases some of Drupal's most powerful capabilities by providing a beautiful website filled with content right out of the box. A demo profile will not only help to onboard new users, but it can also be used by Drupal professionals and digital agencies to showcase Drupal to potential customers.

The new Umami demo profile together with the Layout Builder.

In addition to a new installation profile, we added a "quick-start" command that allows you to launch a Drupal site in one command using only one dependency, PHP. If you want to try Drupal, you no longer have to setup a webserver, a database, containers, etc.

Last but not least, the download experience and evaluator documentation on Drupal.org has been vastly improved.

With Drupal 8.6, you can download and install a fully functional Drupal demo application in less than two minutes. That is something to be very excited about.

What is new for developers?

You can now upgrade a single-language Drupal 6 or Drupal 7 site to Drupal 8 using the built-in user interface. While we saw good progress on multilingual migrations, they will remain experimental as we work on the final gaps.

I recently wrote about our progress in making Drupal an API-first platform, including an overview of REST improvements in Drupal 8.6, an update on JSON API, and the reasons why JSON API didn't make it into this release. I'm looking forward to JSON API being added in Drupal 8.7. Other decoupled efforts, including a React-based administration application and GraphQL support are still under heavy development, but making rapid progress.

We also converted almost all of our tests from SimpleTest to PHPUnit; and we've added Nightwatch.js and Prettier for JavaScript developers. While Drupal 8 has extensive back-end test coverage, using PHPUnit and Nightwatch.js provides a more modern platform that will make Drupal more familiar to PHP and JavaScript developers.

Drupal 8 continues to hit its stride

These are just some of the highlights that I'm most excited about. If you'd like to read more about Drupal 8.6.0, check out the official release announcement and important update information from the release notes. The next couple of months, I will write up more detailed progress reports on initiatives that I didn't touch upon in this blog post.

In my Drupal 8.5.0 announcement, I talked about how Drupal is hitting its stride, consistently delivering improvements and new features:

In future releases, we plan to add a media library, support for remote media types like YouTube videos, support for content staging, a layout builder, JSON API support, GraphQL support, a React-based administration application and a better out-of-the-box experience for evaluators.

As you can see from this blog post, Drupal 8.6 delivered on a number of these plans and made meaningful progress on many others.

In future releases we plan to:

  • Stabilize more of the features targeting content authors
  • Add JSON API, allowing developers to more easily and rapidly create decoupled applications
  • Provide stable multilingual migrations
  • Make big improvements for developers with Composer and configuration management changes
  • Continually improve the evaluator experience
  • Iterate towards an entirely new decoupled administrative experience
  • ... and more

Releases like Drupal 8.6.0 only happen with the help of hundreds of contributors and organizations. Thank you to everyone that contributed to this release. Whether you filed issues, wrote code, tested patches, funded a contributor, tested pre-release versions, or cheered for the team from the sidelines, you made this release happen. Thank you!

Categories: Drupal

InternetDevels: Drupal 8.6.0 released with awesome novelties for websites!

5 September 2018 - 9:55pm
https://internetdevels.com/sites/default/files/public/blog_preview/drupal_8.6.0_released.jpg" width="937" height="622" alt="Drupal 8.6.0 released with awesome novelties for websites!" />

Congrats to everyone on the release of Drupal 8.6.0! The new minor version of Drupal promises to be equally attractive for website users, owners, editors, and developers alike. Six months ago, when Drupal 8.5 was released, we approached it from a historic point of view, and described the exciting road from Drupal 8.1 to Drupal 8.5.

Read more
Categories: Drupal

Affinity Bridge: Use multiple PHP versions at the same Time!

5 September 2018 - 3:13pm
Use multiple PHP versions at the same Time! 09/05/2018 - 15:13 planet drupal linux development Apple drupal apache php Arvand Soup Up your dev environment with Fast CGI process Manager : php-fpm

 

Say you have already set yourself up with a web development environment following Andy Miller’s macOs dev setup guides part one and part two. However one can grow tired of pulling that daily php version switch. The question is: Is there a way to run multiple instances of php side by side? Yes! There is a way. Let’s find out how:

 

STANDARD

Firstly, a quick recap on how things are currently wired up and how apache is capable of rendering a php file using x-httpd-php, and mod_php.

  • The apache_core enables apache to map the  to be handled by the SetHandler application/x-httpd-php. Notice that this application is under apache and is not stand alone.
  • Apache then knows what module to load as a single php apache module as defined in /usr/local/etc/httpd/httpd.conf. For example a php5 module definition is something like: LoadModule php5_module /usr/local/opt/php@5.6/lib/httpd/modules/libphp5.so
  • Moreover, when dealing with a PHP file, apache will use CGI by launching a process -> initializing the environment -> digesting the request -> returning the result. in a nut shell FCGI is the protocol that web servers (like apache) use to delegate work to other processes
  SOUPED-UP

We are going to no longer use the mod_php and instead replace it with stand-alone php-fpm processes. In other words php-fpm is a php daemon that's configured to listen and respond to the FCGI protocol This means that we need to start/stop php independently of apache. The proxy_fcgi_module is used so that the SetHandler can connect to the php-fpm socket. I m going to go through this step by step for adding the php version 5.6 later you can follow the same steps to set up other php versions.

Step 1 - proxy_mod

Add the proxy modules: In your /usr/local/etc/httpd/httpd.conf find the commented lines below and uncomment:

 

LoadModule proxy_module lib/httpd/modules/mod_proxy.so LoadModule proxy_fcgi_module lib/httpd/modules/mod_proxy_fcgi.so   Step 2 : Configure php-fpm

Copy the listen path: In your /usr/local/etc/php/5.6/php-fpm.conf find the listen path and copy it someplace safe. We have to point our vhost to this listen path in the next step

 

listen = /usr/local/var/run/php56-fpm.sock

 

Set up your log paths: In the same file /usr/local/etc/php/5.6/php-fpm.conf look for both Error_log & Access_log. Uncomment and set:

 

error_log = /Users/YOURNAME/sites/log/5.6/php-fpm.log access.log = /Users/YOURNAME/sites/log/5.6/$pool.access.log

 

Set your User/Group Again In the same file /usr/local/etc/php/5.6/php-fpm.conf look for user and group. Change them from _www to whatever user and group you have set your apache to:

 

user = YOUR_APACHE_USER group = YOUR_APACHE_GROUP   Step 3 : Re-configure your Vhost

Add a new ServerAlias In /usr/local/etc/httpd/extra/httpd-vhosts.conf add a server alias that is version specific. In this case php56 seems reasonably simple and clear. (note that this depends on the dnsmsq wildcard in this example my host is *.test)

 

ServerAlias *.php56.test

 

Redefine your SetHandler As mentioned we will use the proxy handling. Change the application/x-httpd-php to the following: ( with respect to VirtualDocumentRoot beings set to /Users/YOURNAME/sites/%1/public_html ). This has to match the listen path you gathered in step 2. Note that I d like to pass the socket to a designated port on the fcgi side ie: 8056 for 5.6 version.

 

SetHandler "proxy:unix:/usr/local/var/run/php56-fpm.sock|fcgi://localhost:8056"

 

Add Directory specifications:

 

DirectoryIndex index.php index.html Options Indexes MultiViews FollowSymLinks Require all granted AllowOverride All   Step 4 : Run php-fpm

Fire up your php-fpm: Running the php-fpm with flag -D will force the process to run in the background

 

/usr/local/opt/php\@5.6/sbin/php-fpm -D

 

Test your local. You can verify the php-fpm process on Activity Monitor.

Step 5 : Repeat the steps 2 - 4 for other versions of php (7.x). In this case 7.2.

full vhost:

 

ServerAlias *.php72.test VirtualDocumentRoot /Users/YOURNAME/sites/%1/public_html SetHandler "proxy:unix:/usr/local/var/run/php72-fpm.sock|fcgi://localhost:8072" DirectoryIndex index.php index.html Options Indexes MultiViews FollowSymLinks Require all granted AllowOverride All

 

Error handling: change the /usr/local/etc/php/7.2/php-fpm.conf

 

error_log = /Users/YOURNAME/sites/log/7.2/php-fpm.log access.log = /Users/YOURNAME/sites/log/7.2/$pool.access.log

 

Fire up your php-fpm:

 

/usr/local/opt/php\@5.67.2/sbin/php-fpm -D

 

And now Restart apache and test away.

Last thing to do is to add the start scripts for your php-fpm to your startup login items.

A quick note:There are other ways you could route your php version. One way that was not mentioned above is to place the web projects in different folder bins and instead of setting your ServerAlias rather configure the Directory.

  Conclusion

Move your dev environment from mod_php to php-fpm and not only you easily can switch between projects without the hassle for reconfiguring your apache but also enjoy the high performance.

As a reminder, this post focuses on local development environment and assumes that security and heavy request load are both not a concern. Although you can find the perfect balance for your production servers with the right tweaks as well as a security in mind; I d leave that discussion out for another post. Just incase if memory is a concern you can always tune your memory usage so it won't deprive other processes. Happy deving!

  

Image credit: Jonathan Elliott : https://www.flickr.com/photos/jon3lliott/  
Categories: Drupal

Hook 42: The Great Plains of Drupal Contributions

5 September 2018 - 8:37am

AmyJune is venturing to the Great Plains of DrupalCorn Camp to spread her love of giving back to Drupal! Not only will she be training folks on how to navigate the issue queue, she will be leading Contribution Day, and teaming up with Lisa McCray and Marc Drummond to promote diversity and inclusion.

DrupalCorn Camp is four corn-filled days in September, the 17th through 30th in Des Moines, Iowa.

Categories: Drupal

Drupal Association blog: Board Meetings at Drupal Europe

5 September 2018 - 8:10am

Drupal Europe is right around the corner! Just like previous large European Drupal Conferences, part of the week includes Drupal Association Board meetings. Below is a summary of their activities and agendas. We hope you will join the public board meeting in person or virtually.

Board Retreat

The Drupal Association Board of Directors will convene over the weekend before Drupal Europe to discuss:

  • Executive and Committee updates

  • A vote to approve the board nomination for 4 seats

  • Succession planning

Public Board Meeting

The Board of Directors will hold an open board meeting on Monday, September 10 from 11:00 - 13:00 CEST in the Darmstadtium, Room 3.07 Argon. We welcome you to attend in person or virtually.

The agenda will include an executive update with a special focus on the upcoming GitLab integrations as well as program updates from staff and more exciting news. There will be 10 minutes for the community to ask the board and staff questions.

Categories: Drupal

Web Wash: New Media Management Functionality in Drupal 8.6

5 September 2018 - 6:30am

Drupal has got new media management functionality in 8.6. In the above video, you demonstrate what new media functionality we have in Drupal 8.6.

Thanks to the Media in Drupal 8 Initiative, media handling in Drupal has been getting better with every new Drupal 8 release. In 8.4 we got the experimental core Media module. Then in 8.5, the module moved from experimental to stable and now it's the recommended way for storing media assets. Now in Drupal 8.6 we get a few extra goodies such as oEmbed support, a Remote video media type and a media library.

Categories: Drupal

TEN7 Blog's Drupal Posts: Episode 038: The Many Hats of Lynn Winter

5 September 2018 - 6:00am
Today, we are privileged to be talking with Lynn Winter, web project manager, content strategist, pro sports cameraperson and conference producer. What we're discussing:Lynn's many jobs, talents and skills, Picking strawberries, Babysitting, Growing up in Northfield, MN, Attending Hamline University, Working at TPT (TwinCities Public Television), Roles of a TV production manager, Working as a camera operator for professional sports teams, Doing MN Vikings games, Getting called up for the big game... Superbowl, Doing the NCAA Final Four, Moving into the digital world, Starting at Gorton Studios, A passion for content strategy and user experience, Manage Digital, an annual conference.
Categories: Drupal

Droptica: The ten most interesting lectures at DrupalCon Nashville 2018

5 September 2018 - 5:50am
At the last DrupalCon in Nashville, you could hear a lot of interesting lectures. I have chosen ten lectures for you, which I consider to be one of the most interesting. You can find the entire playlist of DrupalCon lectures at https://www.youtube.com/playlist?list=PLpeDXSh4nHjRRbzQW5D6PQVFPrTuh5y8m Below are some of the lectures you cannot miss. 1. Weather.com’s Project Moonracer – Decoupled User Interfaces This session will show you how the Weather.com team manages content. An interesting lecture for everyone who plans big changes in the content editing interface in their project.
Categories: Drupal

Acro Media: Live Component Guide with Drupal Paragraphs

5 September 2018 - 2:00am
The making of Acro Media’s website content creation framework


It’s common place for brands to create guides so that there is a constant standard to follow when working with the brand’s identity. These are generally called Style Guides. We have one ourselves that we use when designing internal documents and printed layouts. This is great when it comes to branding, but how do you go about maintaining a level of consistency for something larger, such as a website? We recently underwent a fundamental shift in the way we create our website content, and with it, the Live Website Component Guide was born.

The Content Type Crux

For those familiar with Drupal, creating something called a Content Type is a common way to go about setting up a type of content - think your standard web page, blog post, frequently asked questions, rich media slider, etc. That content type can then be used to generate the pages of your website.

This works well enough if your site doesn’t need to change, but our marketing team is constantly looking to adapt to new trends, change content layouts, and A/B test. A website should ideally be dynamic and quick to change, however, changes ended up taking a lot of time because they need to first be designed and then built. The standard Drupal content type is rigid and the layout is fixed, so if you want to change the layout, the change is going to cascade to any page that uses that Content Type. Because of this, we often needed to create a whole new Content Type, template and styling. Something that should be quick ends up taking weeks because our process just wasn’t efficient. And furthermore, the more code we introduced, the more difficult the site was to maintain.

Eureka! Paragraphs

In February of 2017, we had a “eureka” moment while attending the Pacific Northwest Drupal Summit in Vancouver, BC, Canada. Here we learned about a new (to us) content creation module called Paragraphs. I know many people have been using this module for a while now, but it was new to us and we immediately saw the potential. As stated on the Paragraphs module’s Drupal.org project page:

“Paragraphs is the new way of content creation! It allows you — Site Builders — to make things cleaner so that you can give more editing power to your end-users.”

And it DOES do that! Instead of thinking in ‘pages’ we can now think in ‘components’. The graphic below illustrates this. On the left, a representation of a standard Drupal page layout using a Content Type. On the right, the same page broken out into individual Paragraphs components.

Content Type vs Paragraphs

What this module allowed us to do is to remove the rigid structure of the Content Type and instead build out a set of individual, standalone components that can then be inserted into a page wherever we want. If we want to add a new component to a page, we just select the component from a list and place it on the page. To remove one, we just click a remove button. To change the order, all we need to do is drag and drop the component where we want it. If there is a component that we need, but doesn’t yet exist, we can now create just that one component. It makes things fast!

The content creation aspect is incredible dynamic and easy to use. The best part of all is that once the components are built, the only need for a developer is to create new components later on. The actual content creation can easily be done by anyone with a very small bit of training.

From a design point of view, our designers can now piece a layout together knowing exactly what components are available to them. They know that if we’re missing a component, they can come up with something new and it’s not going to take weeks to implement. Plus, we already loosely follow the Atomic Design methodology by Brad Frost, so the whole concept was easy for them to grasp and got them excited. In fact, our Creative Director jumped on this concept and we now include a full set of content creation Paragraphs components in every new project that we build.


An example of how easily we can generate page layouts using component driven design.

Things get very easy from a code maintenance point of view too! We created each of our components to have a standalone template and styling. This means that things stay consistent throughout the site no matter how a page has been setup. If we need to make a visual change to a component, we make it once and the change cascades throughout the site. The code base is small and logical. Anyone new to the project can jump in and get up to speed quickly.

Our Live Website Component Guide

So, if you’ve read this far, I bet you want to see it in action? You’re in luck! I recorded a quick video that shows you how it works using our corporate website’s Live Website Component Guide. You can watch the video below or view the page in all its glory.

Categories: Drupal

OpenSense Labs: HowTo: Change the PHP version on Apache or Nginx

5 September 2018 - 12:42am
HowTo: Change the PHP version on Apache or Nginx Raman Wed, 09/05/2018 - 13:12

New versions of PHP bring new features and fixes for security issues and bugs. Migrating from one version to another can often lead to incompatibilities. As of writing this article, PHP 7.2 is the latest stable release and PHP 7.3 is expected to be released in December 2018. Drupal.org currently recommends PHP 7.1+ for new projects and encourages the community to plan an upgrade for older versions.

Drupal, as we know, is a CMF written in PHP. It uses various PHP libraries and components including the Symfony framework, the Twig template engine, PHPUnit, Guzzle, etc. Hence, it is always recommended to do a compatibility check with all the components, libraries and core/contributed modules of your Drupal site before upgrading to newer versions of PHP.

Now, the process of changing the PHP version of your Drupal site may vary with your hosting provider and the access level that you have on the server. But for this tutorial, Ubuntu 16.04.4 LTS with Apache 2.4.18 and Nginx 1.10.3 was used. Few commands, configuration files, and directory paths may differ with your system and the version of web servers.

Checking the current PHP version

First and foremost, let us see what all versions of PHP are currently installed on our system.

$ update-alternatives --display php


You may also check all the installed PHP packages along with its extensions using:

$ apt list --installed | grep "php*"

By default, the one with the highest priority will be the command line version. That is, if we use the interactive shell or parse a PHP file through the terminal, this version will be used.

$ php -v


However, this selected command line version may/may not be the configured with your web server. To check the PHP version configured with the web server, you may create a phpinfo() page or echo out the PHP_VERSION_ID constant / phpversion() function.

$ cd /var/www/html/drupal8 $ drush php-eval "echo phpversion();

 

List of PHP configurations provided by phpinfo()

If you do not have the access to your server through SSH, you may also view the current PHP version using the Status Reports of your Drupal site available under /admin/reports/status.

Checking the PHP version using Drupal’s Status Report
Why Update to PHP 7?

Here are some of the reasons why you need to upgrade from PHP 5 to PHP 7:

  1. PHP 7 is twice as fast as PHP 5. The huge upward shift in performance is one of the reasons why an upgrade is important. This means your website loads in lesser time, giving your web users another reason to stay on your website. 
     
  2. PHP 7 supports simultaneous execution of asynchronous tasks. Tasks such as networks, access to the database, timers and perform events related to I/O operations can be done asynchronously by putting in place a single PHP event-loop. 
     
  3. It is mobile-first. Of course, you need to offer a better value proposition to your users. And mobile users cant be ignored here. PHP 7 offers exactly what businesses need to do to cater to the needs of mobile device users.

    It offers reduced memory usage, execution engine improvements, and native local threat storage which are specifically suited to mobile devices that have limited browsing features. 
     
  4. Uses lesser memory. PHP 7 has demonstrated that technology infrastructure can process higher computing requests without consuming proportionately higher memory. 
How to change the PHP version?

Since Apache and Nginx are the most popular web servers in the market, we will have a quick look on how to change the PHP version on them. Also, it is highly recommended to have a backup of your Drupal site before tinkering around with any of the configurations on your server.

Now, in my case, I have PHP 7.0 configured on the web server and Drupal is giving a nice recommendation to upgrade it. But I do not have the latest PHP 7.2 installed on my system, so, I will first download it along with the required PHP extensions.

These include extensions for URL, JSON, Image, Library, Mbstring, Open SSL, and XML. But, just to ensure that all the extensions get installed, let’s install them manually.

$ sudo add-apt-repository ppa:ondrej/php $ sudo apt-get update $ sudo apt-get install php7.2 php7.2-fpm php7.2-xml php7.2-mysql php7.2-gd

You may view the packages using dpkg -l php7.2* to confirm.

I. Command Line Version

To change the command line version of PHP you may use the following command. Again, changing this won’t affect the version used by the web server.

$ sudo update-alternatives --config php


Enter the choice number mentioned besides the desired PHP version

or

$ sudo update-alternatives -set php /usr/bin/php7.2


II.  Apache

For Apache web server, the a2enmod and a2dismod scripts can be used for enabling and disabling the PHP modules.
Disable all the previously enabled PHP modules

$ sudo a2dismod php5.6 $ sudo a2dismod php7.0 $ sudo a2dismod php7.1

Enable the new PHP version module

$ sudo a2enmod php7.2

Restart the web server    

$ sudo service apache2 restart

 

PHP version for a specific website can also be set through to the .htaccess file in the following way.

AddHandler application/x-httpd-php72 .php


III. Nginx

For Nginx, we simply need to update the PHP-FPM socket in its configuration file. But before that make sure that the PHP-FPM is installed for your version and is running as a service.

Take a backup of the default configuration file and then open it up in your favourite text editor.

$ cp /etc/nginx/sites-available/default /etc/nginx/sites-available/default.bak $ sudo vim /etc/nginx/sites-available/default


Change the FastCGI backend to use the new PHP-FPM socket, save and exit the file

location ~ \.php$ {         include snippets/fastcgi-php.conf;         fastcgi_pass unix:/run/php/php7.2-fpm.sock; }

Run the configuration test

$ nginx -t

Restart the web server

$ sudo service nginx restart

We have now successfully changed the PHP version of our Drupal site. Now, navigate to Manage → Reports → Status report to ensure that the version has been changed and there are no errors or warning from any Drupal module or PHP library.

Observe that the PHP version has been updated to 7.2.9-1

 
As expected, it did not produce any errors or warnings on a raw Drupal 8 installation. If you face any issues, make sure you installed all the required PHP extensions for your PHP version, check the log messages and refer the issue queues of the core and contrib modules.

In case of any queries or suggestions, feel free to drop down a comment.

blog banner blog image Drupal Apache Nginx Blog Type Tech Is it a good read ? On
Categories: Drupal

Drop Guard: Drupal Europe - welcome to Darmstadt!

4 September 2018 - 6:45am
Drupal Europe - welcome to Darmstadt! We are excited! We want to share with you:

 

  1. There will be a huge European Drupal Event next week and we will attend - what do we bring to the table?
  2. It’s in our hometown Darmstadt, right on the doorstep - where can you spend your free time? 
  3. We’ll volunteer actively for the first time - join the contribution squad!
 

 

Drupal Drupal 8 Drupal Community Drupal Planet Events
Categories: Drupal

Dries Buytaert: My re-entry from vacation

4 September 2018 - 3:08am

Today is the first day back from my two-week vacation. We started our vacation in Maine, and we ended our vacation with a few days in Italy.  

While I did some work on vacation, it was my first two-week vacation since starting Acquia 11 years ago.

This morning when the alarm went off I thought: "Why is my alarm going off in the middle of the night?". A few moments later, reality struck. It's time to go back to work.  

Going on vacation is like going to space. Lots of work before take-off, followed by serenity and peaceful floating around in space, eventually abrupted by an insane re-entry process into the earth's atmosphere.

I got up early this morning to work on my "re-entry" and prioritize what I have to do this week. It's a lot!

Drupal Europe is only one week away and I have to make a lot of progress on my keynote presentation and prepare for other sessions and meetings. Between now and Drupal Europe, I also have two analyst meetings (Forrester and Gartner), three board meetings, and dozens of meetings to catch up with co-workers, projects, partners and customers.  Plus, I would love to write about the upcoming Drupal 8.6.0 release and publish my annual "Who sponsors Drupal development?" report. Lots to do this week, but all things I'm excited about.

If you're expecting to hear from me, know that it might take me several weeks to dig out.

Categories: Drupal

Agiledrop.com Blog: AGILEDROP: How to Backup a Drupal 8 Site

3 September 2018 - 6:57pm
There’s always a chance when it comes to software that something might go wrong or fail. There are specific steps implemented in every good piece of software to negate this possibility or at the very least recover from it. However, if nothing else works then restoring from a backup is the best possible solution. This means that making regular backups is an important step in ensuring you don’t lose your data. Drupal is no different in this regard. Apart from avoiding losing your data, making backups can also be very useful as a cautionary method, if you are trying something new on your site… READ MORE
Categories: Drupal

Pages