Feed aggregator

Jeff Geerling's Blog: Set up a hierarchical taxonomy term Facet using Facet API with Search API Solr

Planet Drupal -

I wanted to document this here just because it took me a little while to get all the bits working just right so I could have a hierarchical taxonomy display inside a Facet API search facet, rather than a flat display of only the taxonomy terms directly related to the nodes in the current search.

Basically, I had a search facet on a search page that allowed users to filter search results by a taxonomy term, and I wanted it to show the taxonomy's hierarchy:

To do this, you need to do two main things:

  1. Make sure your taxonomy field is being indexed with taxonomy hierarchy data intact.
  2. Set up the Facet API facet for this taxonomy term so it will display the full hierarchy.

Let's first start by making sure the taxonomy information is being indexed (refer to the image below):

InVision webinar recap: The future of the CMS

Drupal Fire -

Four Kitchens (via DrupalFire)

December saw the 22nd installment of InVision’s webinar series on design and tech. This episode features our own Todd Ross Nienkerk presenting, with InVision’s Margaret Kelsey moderating. The following is a summary; to watch the whole presentation, along with the Q&A period, head over to InVison’s webinar recap site.

What is the future of the CMS?

We need to rethink how we manage, publish, and consume content.

LevelTen Interactive: The First Ever Statewide DrupalCamp in Texas! TexasCamp 2016

Planet Drupal -

LevelTen Interactive is proud to present TexasCamp 2016 on April 1 - 2 at the Addison Conference and Theatre Centre in Dallas, Texas.

TexasCamp is two days of DrupalCamp, intended for Drupal admins and users, sitebuilders, themers and developers. Expect sessions from beginner to expert level, with the brightest minds in the Drupal world attending and presenting.

You can attend TexasCamp for only ...Read more

Acquia Developer Center Blog: Drupal 8 Module of the Week: Admin Toolbar

Planet Drupal -

Jeffrey A. "jam" McGuire

Each day, more Drupal 7 modules are being migrated over to Drupal 8 and new ones are being created for the Drupal community’s latest major release. In this series, the Acquia Developer Center is profiling some of the most prominent, useful modules available for Drupal 8. This week: Admin Toolbar.

Tags: acquia drupal planetadmin toolbardrupal 8Drupal modules

Issue 225

The Weekly Drop -

Issue 225 - February, 4th 2016 From Our Sponsor Your Guide to Better Automated Tests

Are you delivering highly complex Drupal projects and looking for ways to save more time and money? Automated testing has made life easier for busy development and QA teams by cutting down time but effective tests are the ones that save money and make clients happy. Promet Source has trained top tier development teams to write useful test cases for behavior driven development and our new eBook distills that knowledge so it’s at your fingertips. Get Promet Source’s automated testing checklist and start writing effective tests today!

Articles Drupal 8 Improvements to Core Multilingual and Language Support

I nice review of i18n in Drupal 8 from Monarch Digital's David Csonka.

Twig Extends and a D8 Twig Block Base Theme

"Drupal theming still has one major weakness (in my opinion). If you want to override a template you copy a whole template and make your alterations. If something changes in the common code you have to alter it in all of them."

Great Progress in the Search API D8 Version All New Drupal 8 Foundations Certification: How to Prepare & Pass Sponsored

Acquia’s new Drupal 8 Foundations Certification Exam is a course for all Drupal 7 users to validate their understanding of the changes in Drupal 8 and call themselves fully certified on D8. Register for this webinar to learn an overview of the exam, the exam blueprint and assessment objectives, what to expect in the exam, how to prepare, and more.

Profiling Drupal Commerce with Blackfire

Matt Glaman show us how Backfire can be used to provide very helpful profiling.

Tutorials Drupal 8 REST Requests

A look at REST requests from the Stanford Web Services Blog.

Drupal Console: Generate Module & Theme Code

A text and screencast walking through basic usage of the Drupal Console project.

How to Import with Feeds Using JSONPath

Learn to import JSON content into your Drupal 7 site.

Read the Ultimate Guide to Drupal 8 Sponsored

With 200+ new features and improvements, Drupal 8 is architected for developer productivity and is the most advanced version of Drupal yet. Read the Ultimate Guide to Drupal 8 to learn about exciting new improvements such as support for object-oriented web development, PHP, Symfony and more and see why Drupal 8 makes development easier than ever before.

Projects Drupal 8 Module of the Week: Scheduled Updates

"Need to put some content up on your site now, but publish it later? Do you need to implement unique business processes that require delayed actions, but want to avoid the hassle of maintaining custom code? The Scheduled Updates module allows you to set updates to fields on your Drupal 8 site to happen at a later date and time."

Warden: Monitoring the Security of Your Drupal Estate

A self hosted module status monitoring tool. It's written in Symfony and available on Github.

Releases admin_toolbar 8.x-1.13 config_partial_export 8.x-1.0 migrate_api 8.x-1.1 override_node_options 8.x-2.0 Radix 7.x-3.3 toolbar_menu 8.x-1.1 Video PSR-4 Class Autoloading with Drupal 7

"You don't have to wait for Drupal 8 to start using PSR-4 namespaces. In this video, watch as we write a Views handler in a Drupal 7 module using the PSR-4 standard."

Podcasts 153 Protecting Drupal 8 Sites from Spam Using Honeypot with Jeff Geerling - Modules Unraveled Podcast DrupalEasy Podcast 168 - Spooning with a Fork (Jen Lampton, Nate Haug - Backdrop Update) One Year of Backdrop CMS with Jen & Nate - Lullabot Podcast The Future of Decoupled Drupal & Other Bold 2016 Predictions (E13) - Commercial Progression Podcast News 2016 Nominations Open for Drupal Association at-Large Director

Nominate someone or even yourself. FInd out more about this role and the deadlines on d.o.

Announcing the DrupalCon Asia Developer Contest Submit a Session for DrupalCon New Orleans

Don't be shy. Apply to share your knowledge as a speaker at DrupalCon New Orleans.

D8 Module Acceleration Program - January Releases

Pretty exciting progress on the porting of contributed modules to Drupal 8.

Drupal Planet (RSS Spanish & Portugues)

Cool to see a non-english Drupal planet coming together.

Jobs List Your Job on Drupal Jobs

Wanna get the word out about your great Drupal job? Get your job in front of hundreds of Drupal job seekers every day at Jobs.Drupal.Org.

Featured Jobs Drupal Developer

Mediacurrent Anywhere

Minnesota-based Junior Drupal Developer

Origin Eight Minneapolis/MN/US

Drupal Architect (Backend)

PDR4 Inc Chicago/IL/US


Valuebound: Installing Drupal with Drush, the Basics

Planet Drupal -

Drush is a command line interface that help us to speed up administrative and development tasks for Drupal sites. After installing this Drush, we’ll be able to perform useful action simply by typing command into a terminal —actions that would usually take multiple steps in a web browser. Drush runs on Drupal 6, 7 well as 8.

Note:  Drupal 8, works only with Drush 8.

Couple of task which can be be done using Drush easily are :
    Download Drupal
    Download contrib modules
    Install Drupal
    Update Drupal and contrib module versions
    Run updatedb
    Clear the cache
    Run cron
    Run Drupal with a lightweight web server
    Import, export and merge configuration
   …

Valuebound: Using the Content Type to manage content consistently

Planet Drupal -

In previous blog post we have installed Drupal 8 on our system manually as well as using Drush. Drupal 8 Provides two built in content type Article and Basic page. We can use this to create pages. But most of time we need to either add fields to these content types or we just need to add new content type to organize the content better.

Probably the first change site builders will notice in Drupal 8 are the changes to content types and fields. The field changes affect not only content types, but any entity that can have fields e.g. taxonomy or user profile.

When we edit any content type,…

groups.drupal.org frontpage posts: DrupalCamp @ Stanford

Planet Drupal -

Start:  2016-04-01 (All day) - 2016-04-02 (All day) America/Los_Angeles Event type:  User group meeting

https://drupalcamp.stanford.edu/

The Stanford Drupal Camp is a two-day event to discuss and learn about Drupal, an open-source content management system that powers thousands of websites at Stanford, and millions of websites beyond.

This year, the Stanford Drupal Camp emphasizes introductory sessions focused on content strategy as well as thought-provoking sessions for researchers in academia. Those new to Drupal and Content Strategy will be particularly interested in the events on Friday, whereas experienced Drupallers (yes, we spell it with two "L"s at Stanford) may be more interested in Saturday's program.

jmolivas.com: Drupal Console session proposal for DrupalCon New Orleans 2016

Planet Drupal -

Drupal Console session proposal for DrupalCon New Orleans 2016

I am planning to propose a session for DrupalCon New Orleans about Drupal 8 development and Drupal Console and currently looking for session name ideas.

Session abstract text:

Drupal is infamous for his learning curve of drupalisms but Drupal 8 simplifies and standardize the development process, unfortunately this comes with a cost. Drupal 8 is more technically advanced compared to its predecessor and managing the increasing complexity of Drupal 8 could be a daunting task. 

The Drupal Console is a CLI tool that helps you manage that complexity allowing you to generate boilerplate code, interact and debug Drupal 8.

The Drupal Console has been designed to increase productivity making Drupal development and interaction efficient and enjoyable.

Come along as we explore this tool that will help you developing by taking advantage of the modern PHP practices introduced into Drupal 8.

jmolivas Thu, 02/04/2016 - 00:07

Drupal.org frontpage posts for the Drupal planet: Drupal 8.0.3 and 7.42 released

Planet Drupal -

Drupal 8.0.3 and Drupal 7.42, maintenance releases with numerous bug fixes (no security fixes), are now available for download.

See the Drupal 8.0.3 release notes and Drupal 7.42 release notes for full lists of included fixes.

Download Drupal 8.0.3
Download Drupal 7.42

Upgrading your existing Drupal 8 and 7 sites is recommended. There are no major nor non-backwards-compatible features in these releases. For more information about the Drupal 8.x release series, consult the Drupal 8 overview. More information on the Drupal 7.x release series can be found in the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 8 includes the built-in Update Manager module, which informs you about important updates to your modules and themes.

There are no security fixes in these releases of Drupal core.

Bug reports

Drupal 8.0.x and 7.x actively maintained, so more maintenance releases will be made available, according to our monthly release cycle.

Change log

Drupal 8.0.3 contains bug fixes and documentation and testing improvements only. The full list of changes between the last 8.0.x patch release and the 8.0.3 release can be found by reading the 8.0.3 release notes. A complete list of all changes in the stable 8.0.x branch can be found in the git commit log.

Drupal 7.42 contains bug fixes and minor new features. The full list of changes between the last 7.x patch release and the 7.42 release can be found by reading the 7.42 release notes. A complete list of all changes in the stable 7.x branch can be found in the git commit log.

Update notes

See the 8.0.3 release notes and 7.42 release notes for details on important changes in these releases.

Known issues

See the 8.0.3 release notes and 7.42 release notes for known issues.

Front page news: Planet DrupalDrupal version: Drupal 7.xDrupal 8.x

Drupal 8.0.3 and 7.42 released

Drupal News -

Drupal 8.0.3 and Drupal 7.42, maintenance releases with numerous bug fixes (no security fixes), are now available for download.

See the Drupal 8.0.3 release notes and Drupal 7.42 release notes for full lists of included fixes.

Download Drupal 8.0.3
Download Drupal 7.42

Upgrading your existing Drupal 8 and 7 sites is recommended. There are no major nor non-backwards-compatible features in these releases. For more information about the Drupal 8.x release series, consult the Drupal 8 overview. More information on the Drupal 7.x release series can be found in the Drupal 7.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 8 includes the built-in Update Manager module, which informs you about important updates to your modules and themes.

There are no security fixes in these releases of Drupal core.

Bug reports

Drupal 8.0.x and 7.x actively maintained, so more maintenance releases will be made available, according to our monthly release cycle.

Change log

Drupal 8.0.3 contains bug fixes and documentation and testing improvements only. The full list of changes between the last 8.0.x patch release and the 8.0.3 release can be found by reading the 8.0.3 release notes. A complete list of all changes in the stable 8.0.x branch can be found in the git commit log.

Drupal 7.42 contains bug fixes and minor new features. The full list of changes between the last 7.x patch release and the 7.42 release can be found by reading the 7.42 release notes. A complete list of all changes in the stable 7.x branch can be found in the git commit log.

Update notes

See the 8.0.3 release notes and 7.42 release notes for details on important changes in these releases.

Known issues

See the 8.0.3 release notes and 7.42 release notes for known issues.

Front page news: Planet DrupalDrupal version: Drupal 7.xDrupal 8.x

The Jibe: Drupal Global Sprint Weekend and Basic 8.x-1.0

Planet Drupal -

This past weekend, our thriving Vancouver community came together and worked on getting a variety of Drupal contrib projects ready for Drupal 8. This weekend allowed us to put on the finishing touches needed to get a stable 8.x-1.0 release out to the community! Let's have a look at what's new about this release of Basic, as well as some upcoming features.

CloudFlare’s Impact On The HTTP/2 “Universe”

Cloudflare Blog -

CloudFlare released HTTP/2 support for all customers on December 3rd, 2015. Now, two months later, it's time to take a look at the impact of this release on the HTTP/2 "universe" and also at what has changed from a HTTP/2 vs. SPDY vs. HTTP 1.1 traffic ratio perspective.

HTTP/2 Usage

Previously, we showcased browser market share data from our own website. Using these numbers, we predicted the ratio of HTTP/2 traffic that we expected to see once enabled. Now, we can compare this original data set with updated data from the last 48 hours.

Below is the market share of HTTP/2 capable browsers that we saw on our website during a 48 hour period. The first one was before our HTTP/2 launch, the other one was last week. Both data sets were pulled from Google Analytics, and user agents were analyzed for HTTP/2 support.

HTTP/2 capable browser Global Market Share Late Nov 2015 Global Market Share Late Jan 2016 IE 11 on Windows 10 0.14% 0.34% Edge 12, and 13 0.35% 0.48% Firefox 36 - 45 5.09% 11.05% Chrome 41 - 49 15.06% 38.86% Safari 9 0.91% 2.69% Opera 28 - 34 0.57% 0.78% Safari for iOS 9.1 1.07% 0.94% Opera 30 for Android 0.01% 0.00% Chrome 46 - 48 for Android 3.59% 1.60% Firefox 41 - 44 for Android 0.01% 0.00% Total 26.79% 56.74%

Since November, the number of browsers visiting CloudFlare.com that support HTTP/2 has more than doubled. In particular, notice how the market share of Chrome and Firefox versions that support HTTP/2 increased dramatically within the last 2 months.

Keep in mind that we still see a larger number of non-browsers that don’t fall into any of the above buckets on our edge network. This is due to bots, crawlers, scrapers, and the like. The numbers above represent typical website traffic after it has been sanitized by CloudFlare.

Real-Life Numbers

With the promising browser market share data above, we can now compare the ratio of traffic served via the different HTTP versions on www.cloudflare.com.

Again, contrast the data from around our release in December to the current data.

Protocol Version Percentage of Hits December 2015 Percentage of Hits February 2016 HTTP/1.x 19.36% 17.29% SPDY/3.1 57.02% 29.79% HTTP/2 23.62% 52.93%

The great news: the HTTP/2 traffic ratio has indeed more than doubled on www.cloudflare.com since we rolled out HTTP/2.

Nevertheless, we are still serving a large portion of traffic over SPDY, mostly due to older versions of Chrome. Therefore it was a good choice to keep supporting this protocol version.

Number of HTTP/2-Powered Websites

So far, we have looked at what an individual HTTP/2 enabled site on CloudFlare could expect to see with regards to traffic and different browser versions. Let’s shift gears a bit and have a look at how many websites we have actually enabled with HTTP/2 so far:

The website isthewebhttp2yet.com is a great tool for finding an answer to this question. It is created and maintained by researchers at Telefónica Research, Case Western Reserve University, and Carnegie Mellon University, and provides an overview of how many websites from the Alexa 1M list are enabled with HTTP/2.

The website differentiates between:

  • Announced Support: Sites indicate which application-layer protocols they support using NPN/ALPN. If a site indicates HTTP/2, it is considered as "Announced Support."

  • Partial Support: Some sites that announce HTTP/2 support, but immediately downgrade the connection to HTTP 1.1 if a client makes a request using HTTP/2. If a site responds using HTTP/2, even just to return an error page or redirect, this is classified as partial support.

  • True Support: If a site actually serves page content using HTTP/2, even if some embedded objects are still served over HTTP 1.1, this is called true support.

In this post, we will only focus on websites with "True Support"—since that’s what you get with CloudFlare—and will ignore the other two metrics.

Looking at the HTTP/2 adoption curve for the Alexa 1 million shows quite an interesting picture:

Source: http://isthewebhttp2yet.com/measurements/adoption.html

You can see a sharp increase of domains with "True Support" in December 2015, bringing the number of domains with “True Support” from 14,017 (December 1st, 2015) to 75,288 (December 31st, 2015).

According to isthewebhttp2yet.com, 58,591 of these domains run through CloudFlare. That means CloudFlare more than quadrupled the number of HTTP/2 sites with the December 2015 release.

We’d like to give a big shout-out to the team of isthewebhttp2yet.com. They worked with our engineers to update their measurement method to include the Server Name Indication (SNI) TLS extension when they probe sites for HTTP/2 support. By doing so, the site is able to identify all CloudFlare-powered sites. You can see this measurement change kicking in within the above graph at the sharp increase from 24,947 domains to 74,271 domains.

HTTP/2 Market Position

Another website measuring the adoption of HTTP/2 on the server side is W3 Techs. While the graph generated by W3 Techs for HTTP/2 adoption is much more coarse grained on the time axis, the increase of HTTP/2 enabled websites due to CloudFlare is nevertheless clearly visible.

Source: http://w3techs.com/technologies/details/ce-http2/all/all

With our wide support of HTTP/2 for all CloudFlare customers, we have also helped to improve the market position—with regards to popularity and traffic—of HTTP/2 close to that of SPDY.

Source: http://w3techs.com/technologies/details/ce-http2/all/all

Want to help us grow our software engineering team and increase our protocol support? Check out our available roles.

Enabling HTTP/2

As a reminder, if you are a customer on the Free or Pro plan, there is no need to do anything at all. Both SPDY and HTTP/2 are already enabled for you. With this improvement, your website’s audience will always use the fastest protocol version when accessing your site over TLS/SSL.

Customers on Business and Enterprise plans can enable HTTP/2 within the "Network" application of the CloudFlare Dashboard. In the last two months, the web still hasn't exploded while running HTTP/2. With that in mind, it's probably safe for you to head over an enable HTTP/2 now. You will be in great company with many other sites.

If you are not yet a customer of CloudFlare, sign up now and you’ll be able to leverage HTTP/2 within a few minutes.

Stay tuned for more additions to our HTTP/2 capabilities!

Mediacurrent: Pro Tip: How to Write Conditional CSS for IE10 and 11

Planet Drupal -

While working on recent Drupal projects, I learned that Internet 10 and 11 (IE10-11) no longer support IE conditional comments. Conditional comments allow us to target specific versions or version ranges of IE to correct bugs or inconsitentices that normally are not present on other browsers. Typically for IE9 and below, we have been able to write conditional css by using something like this:

DrupalCon News: Grab Some Souvenirs to Remember Your Time in Asia

Planet Drupal -

When we travel, we create memories, and many of us seek to preserve these memories through souvenirs. Soon you will be in Mumbai for DrupalCon and when you are leaving, you should make sure to pick up something you can always cherish. Here are a few things you can take back from India as souvenirs, regardless of how big or little your budget may be.

Pages

Subscribe to Cruiskeen Consulting LLC aggregator