Drupal

Jeff Geerling's Blog: Increase the Guzzle HTTP Client request timeout in Drupal 8

Planet Drupal - 18 August 2016 - 9:56am

During some migration operations on a Drupal 8 site, I needed to make an HTTP request that took > 30 seconds to return all the data... and when I ran the migration, I'd end up with exceptions like:

Migration failed with source plugin exception: Error message: cURL error 28: Operation timed out after 29992 milliseconds with 2031262 out of 2262702 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html).

The solution, it turns out, is pretty simple! Drupal's \Drupal\Core\Http\ClientFactory is the default way that plugins like Migrate's HTTP fetching plugin get a Guzzle client to make HTTP requests (though you could swap things out if you want via services.yml), and in the code for that factory, there's a line after the defaults (where the 'timeout' => 30 is defined) like:

Categories: Drupal

D3 Sankey

New Drupal Modules - 18 August 2016 - 7:06am
Categories: Drupal

Megamenu Framework

New Drupal Modules - 18 August 2016 - 6:29am

This module provides a flexible framework for building a megamenu. Unlike most other Megamenu modules this one does not attempt to generate a finished menu, which can then be difficult to customize. Instead it provides the bones of a megamenu with almost no styling, making it easy to customize.

If you're looking for a plug and play solution, this is not the module for you. But if you're looking for an easy way to roll your own with full styling flexibility, this is what you're looking for.

Categories: Drupal

Valuebound: Get your Drupal8 Development platform ready with Drush8!

Planet Drupal - 18 August 2016 - 6:17am

As we all know, we need Drush8 for our Drupal8 development platform. I have tried installing Drush 8 using composer, but sometimes it turns out to be a disaster, especially when you try to install Drush 8 on the Digital Ocean Droplet having Ubuntu 16.04.

I have faced the same issue in the last few months to get the Drupal8 development platform ready with Drush8. So I have decided to find a solution to fix that forever. Well, finally found one which are the following lines of commands.

cd ~ php -r "readfile('http://files.drush.org/drush.phar');" > drush chmod +x drush sudo mv drush /usr/bin drush init

If you are…

Categories: Drupal

Drupal core announcements: We can add big new things to Drupal 8, but how do we decide what to add?

Planet Drupal - 18 August 2016 - 5:48am

Drupal 8 introduced the use of Semantic Versioning, which practically means the use of three levels of version numbers. The current release is Drupal 8.1.8. While increments of the last number are done for bugfixes, the middle number is incremented when we add new features in a backwards compatible way. That allows us to add big new things to Drupal 8 while it is still compatible with all your themes and modules. We successfully added some new modules like BigPipe, Place Block, etc.

But how do we decide what will get in core? Should people come up with ideas, build them, and once they are done, they are either added in core or not? No. Looking for feedback at the end is a huge waste of time, because maybe the idea is not a good fit for core, or it clashes with another improvement in the works. But how would one go about getting feedback earlier?

We held two well attended core conversations at the last DrupalCon in New Orleans titled The potential in Drupal 8.x and how to realize it and Approaches for UX changes big and small both of which discussed a more agile approach to avoid wasting time.

The proposal is to separate the ideation and prototyping process from implementation. Within the implementation section the potential use of experimental modules helps with making the perfecting process more granular for modules. We are already actively using that approach for implementation. On the other hand the ideation process is still to be better defined. That is where we need your feedback now.

See https://www.drupal.org/node/2785735 for the issue to discuss this. Looking forward to your feedback there.

Categories: Drupal

Chained Fast

New Drupal Modules - 18 August 2016 - 5:40am

Chained Fast is (another) port of the chained fast backend for Drupal 7.

Categories: Drupal

Mediacurrent: How Drupal won an SEO game without really trying

Planet Drupal - 18 August 2016 - 5:23am

At Mediacurrent we architected and built a Drupal site for a department of a prominent U.S. university several years ago. As part of maintaining and supporting the site over the years, we have observed how well it has performed in search engine rankings, often out-performing other sites across campus built on other platforms.

Categories: Drupal

KnackForge: Drupal Commerce - PayPal payment was successful but order not completed

Planet Drupal - 18 August 2016 - 3:00am
Drupal Commerce - PayPal payment was successful but order not completed

Most of us use PayPal as a payment gateway for our eCommerce sites. Zero upfront, No maintenance fee, API availability and documentation makes anyone easy to get started. At times online references offer out-dated documentation or doesn't apply to us due to account type (Business / Individual), Country of the account holder, etc. We had this tough time when we wanted to set up Auto return to Drupal website.

Thu, 08/18/2016 - 15:30 Tag(s) Drupal planet Drupal 7 DropThemes.in drupal-commerce
Categories: Drupal

Configuration Split

New Drupal Modules - 18 August 2016 - 2:00am

The Drupal 8 configuration management works best when importing and exporting the whole set of the sites configuration. However, sometimes developers like to opt out of the robustness of CM and have a super-set of configuration active on their development machine and deploy only a subset.

Categories: Drupal

Unimity Solutions Drupal Blog: Video Annotations: A Powerful and Innovative Tool for Education

Planet Drupal - 17 August 2016 - 11:51pm

According to John J Medina a famous molecular biologist “Vision trumps all other senses.” Human mind is attracted to remember dynamic pictures rather than listen to words or read long texts. Advancement in multimedia has enabled teachers to impart visual representation of content in the class room.

Categories: Drupal

Drupalize.Me: Learn by Mentoring at DrupalCon

Planet Drupal - 17 August 2016 - 11:37pm

DrupalCon is a great opportunity to learn all kinds of new skills and grow professionally. For the 3 days of the main conference in Dublin (September 27–29) there will be sessions on just about everything related to Drupal that you could want. One amazing opportunity that you may not be aware of though is the Mentored Sprint on Friday, September 30th. This is a great place for new folks to learn the ropes of our community and how to contribute back. What may be less talked about is the chance to be a mentor.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal