Planet Drupal

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

Colorfield: Payment and Mollie on Drupal 8

15 August 2017 - 1:22am
Payment and Mollie on Drupal 8 christophe Tue, 15/08/2017 - 10:22 Mollie provides a facade for several payment methods (credit card, debit card, Paypal, Sepa, Bitcoin, ...) with various languages and frameworks support. In some cases, you could decide to use the Payment module instead of the full Commerce distribution. This tutorial describes how to create a product as a node and process payment with Mollie, only via configuration. A possible use case can be an existing Drupal 8 site that just needs to enable a few products (like membership, ...).
Categories: Drupal

Agiledrop.com Blog: AGILEDROP: Accepted Business Sessions for DrupalCon Vienna

14 August 2017 - 11:27pm
This year European DrupalCon will take place in Vienna, Austria. It's still more than a month away. However, the sessions were already selected. We will look at the ones, which were accepted in the business track. And we will also explain why. DrupalCon Vienna is one of the biggest Drupal events in the world this year. Therefore, some of our team members will be present at the event in the capital city of Austria. But once again our AGILEDROP team will not be just present at the event. We had a »bigger« role. Namely, our commercial director Iztok Smolic was invited to the Business track… READ MORE
Categories: Drupal

Acquia Lightning Blog: Round up your front-end JavaScript libraries with Composer

14 August 2017 - 3:03pm
Round up your front-end JavaScript libraries with Composer phenaproxima Mon, 08/14/2017 - 18:03

In Lightning 2.1.7, we’re finally answering a long-standing question: if I’m managing my code base with Composer, how can I bring front-end JavaScript libraries into my site?

This has long been a tricky issue. drupal.org doesn’t really provide an official solution -- modules that require JavaScript libraries usually include instructions for downloading and extracting said libraries yourself. Libraries API can help in some cases; distributions are allowed to ship certain libraries. But if you’re building your site with Composer, you’ve been more or less on your own.

Now, the Lightning team has decided to add support for Asset Packagist. This useful repository acts as a bridge between Composer and the popular NPM and Bower repositories, which catalog thousands of useful front-end and JavaScript packages. When you have Asset Packagist enabled in a Composer project, you can install a Bower package like this (using Dropzone as an example):

$ composer require bower-asset/dropzone

And you can install an NPM package just as easily:

$ composer require npm-asset/dropzone

To use Asset Packagist in your project, merge the following into your composer.json:

"repositories": [ { "type: "composer", "url": "https://asset-packagist.org" } ]

Presto! You can now add Bower and NPM packages to your project as if they were normal PHP packages. Yay! However...

Normally, asset packages will be installed in the vendor directory, like any other Composer package. This probably isn’t what you want to do with a front-end JavaScript library, though -- luckily, there is a special plugin you can use to install the libraries in the right place. Note that you’ll need Composer 1.5 (recently released) or later for this to work; run composer self-update if you're using an older version of Composer.

Now, add the plugin as a dependency:

$ composer require oomphinc/composer-installers-extender

Then merge the following into your composer.json:

"extra": { "installer-types": [ "bower-asset", "npm-asset" ], "installer-paths": { "path/to/docroot/libraries/{$name}": [ "type:bower-asset", "type:npm-asset" ] } }

Now, when you install a Bower or NPM package, it will be placed in docroot/libraries/NAME_OF_PACKAGE. Boo-yah!

Let's face it -- if you're using Composer to manage your Drupal code base and you want to add some JavaScript libraries, Asset Packagist rocks your socks around the block.

BUT! Note that this -- adding front-end libraries to a browser-based application -- is really the only use case for which Asset Packagist is appropriate. If you're writing a JavaScript app for Node, you should use NPM or Yarn, not Composer! Asset Packagist isn't meant to replace NPM or Bower, and it doesn't necessarily resolve dependencies the same way they do. So use this power wisely and well!

P.S. Lightning 2.1.7 includes a script which can help set up your project's composer.json to use Asset Packagist. To run this script, switch into the Lightning profile directory and run:

$ composer run enable-asset-packagist
Categories: Drupal

Elevated Third: E3 Named Finalist in 5 Acquia Engage Award Categories

14 August 2017 - 11:04am
E3 Named Finalist in 5 Acquia Engage Award Categories E3 Named Finalist in 5 Acquia Engage Award Categories root Mon, 08/14/2017 - 12:04

As an Acquia Preferred Partner, we are thrilled to announce our work has ranked amongst the world’s most innovative websites and digital experiences in the 2017 Acquia Engage Awards. Elevated Third received recognition in the Nonprofit, Brand Experience, Financial Services, Digital Experience, and Community categories for the following projects. 

The Acquia Engage Awards recognize the amazing sites and digital experiences that organizations are building with the Acquia Platform. Nominations that demonstrated an advanced level of visual design, functionality, integration and overall experience have advanced to the finalist round, where an outside panel of experts will select the winning projects.

Winners will be announced at Acquia Engage in Boston from October 16-18, of which we are sponsors.  

“Acquia’s partners and customers are setting the benchmark for orchestrating the customer journey and driving the future of digital. Organizations are mastering the art of making every interaction personal and meaningful, and creating engaging, elegant solutions that extend beyond the browser,” said Joe Wykes, senior vice president, global channels, and commerce at Acquia. “We’re laying the foundation to help our partners and customers achieve their greatest ambitions and grow their digital capabilities long into the future. We’re inspired by the nominees and impact of their amazing collective work.”

Check out our competition! The full list of finalists for the 2017 Acquia Engage Awards is posted here.

Categories: Drupal

Nextide Blog: Maestro D8 Concepts Part 1: Templates and Tasks

14 August 2017 - 8:07am
Maestro D8 Concepts Part 1: Templates and Tasks randy Mon, 08/14/2017 - 11:07

Templates and tasks make up the basic building blocks of a Maestro workflow.  Maestro requires a workflow template to be created by an administrator.  When called upon to do so, Maestro will put the template into "production" and will follow the logic in the template until completion.  The definitions of in-production and template are important as they are the defining points for important jargon in Maestro.  Simply put, templates are the workflow patterns that define logic, flow and variables.  Processes are templates that are being executed which then have process variables and assigned t

Categories: Drupal

Nextide Blog: Maestro D8 Concepts Part 1: Templates and Tasks

14 August 2017 - 8:07am
Maestro D8 Concepts Part 1: Templates and Tasks randy Mon, 08/14/2017 - 11:07

Templates and tasks make up the basic building blocks of a Maestro workflow.  Maestro requires a workflow template to be created by an administrator.  When called upon to do so, Maestro will put the template into "production" and will follow the logic in the template until completion.  The definitions of in-production and template are important as they are the defining points for important jargon in Maestro.  Simply put, templates are the workflow patterns that define logic, flow and variables.  Processes are templates that are being executed which then have process variables and assigned t

Categories: Drupal

Appnovation Technologies: Appnovator Spotlight: Tony Nguyen

14 August 2017 - 8:03am
Appnovator Spotlight: Tony Nguyen Meet Tony Nguyen, our Manager of Product R&D from Vancouver, BC. 1. Who are you? What's your story? I'm Tony Nguyen and I manage the Product Research & Development team with the osCaddie R&D being our main project. I'm originally from New Zealand and moved to Vancouver just over three years ago and have been with Appnovation for two of...
Categories: Drupal

Isovera Ideas & Insights: A Practical Guide to Configuration Management in Drupal 8

14 August 2017 - 7:30am
In this post we'll examine some common pitfalls developers and site owners face when learning the configuration management system in Drupal 8, as well as some practical tips and tricks to help you become a configuration management ninja.
Categories: Drupal

Acquia Developer Center Blog: Template Doesn’t Mean Cookie Cutter

14 August 2017 - 6:11am

The mere mention of website templates makes some clients bristle. Nobody likes being told they have to conform to a set of rules they feel weren’t written with them in mind. They also believe that their site will look like everyone else’s and not meet their unique needs.

Let’s start by dispelling that myth: that using templates means your site will look like everyone else’s.

Tags: acquia drupal planet
Categories: Drupal

Moshe Weitzman: Devel Releases 1.0 for Drupal 8.

13 August 2017 - 5:00pm

With pride and pleasure, the Devel maintainers have released 1.0 for Drupal 8. Even at the ripe age of 14, Devel is an active, popular, and nimble project. Devel has been downloaded 3.5M times, and 200,000 sites currently report Devel as an enabled project. Devel’s whole codebase was deeply improved in this release. A few highlights are below, with annotated screenshots and gifs below each section. Please upgrade and report your success or failure using the new features!

Categories: Drupal

Sooper Drupal Themes: Unsplash Drupal Module, Product Updates For Drupal 7 and Drupal 8.x-alpha2

12 August 2017 - 3:28pm

Today we announce updates to our Drupal 7 Glazed Theme and Builder, an update alpha2 release for Drupal 8 (Testing only) and announce the Unsplash Media module.

Media Unsplash: Free Photos Without Leaving Your Website

This week we're adding a new module to our Glazed CMS Distribution that will be especially exciting to all designers, publishers, marketers, and lovers of photograph among us. Rather than searching Google for free photos, you can browse the Unsplash collection of over 200.00 free photos right in your Drupal 7 Media popup. To the uninitiated: Unsplash is a carefully curated collection of professional photography that has been shaking up the stock photography market in the past few years. All photos are provided totally free with a do whatever you want license. This module provides a simple search interface right in your Media popup, see how simple it works in the video:

Sorry, the Youtube video can't load here, you may view this post SooperThemes.com and play the video

This module was built by Vallic based on our initiative/idea, collaboration and co-sponsoring. It was an especially smooth collaboration because Vallic has previously ported the media_pixabay module and allthough the Unsplash API was slightly more complicated, the scaffolding of that module could be re-used.

Integration with the Drupal 7 Media module means that the Unsplash library is also available when configuring theme settings, building pages with our Drupal Drag and Drop Builder, and in any other form that leverages the Media browser.

Drupal 8 Alpha2 Test Release

Just 10 days after our first test release for Drupal 8 we are bringing you alpha2! If you are a customer and curious (or excited) about Drupal 8 please join us in the alpha2 testing and feedback thread! The more testing we can do now, the faster we can release the beta and stable version when Drupal 8.4 comes out. Join in and test our latest and greatest today!

Changes in alpha2:

  • Demo Content Import now works if you select and import any language in the installer! The content will be naturalized to match your selected language. This means you can edit demo content and translate it as if it was initially created in your webite's primary language.
  • Fixed missing titles on views and blocks in Glazed Builder
  • Updated branding & Design
  • Minor performance improvements
Glazed Theme 7.x-2.6.5 Release

Today's updates for Glazed theme include a number of minor bug fixes as well as improvements to the admin interface for themers. Several performance improvements were also realized. We added minification to more of the custom Glazed javascript files, we updated some 3rd party libraries (animate.css), and dropped the modernizr dependency for our animated mobile menu. See Changelog for more details.

The branding and design of some elements are slightly changed to reflect the changes we are making for the Drupal 8 release. There's even a single SVG icon that made it into this release, it's from Font Awesome 5 (beta). Expect more where that came from!

Glazed Builder 7.x-1.1.4 Release

This minor release for Glazed Builder includes small bug fixes, some editor-experience enhancements. Modernizations in code and design that reflect the work we are doing for the Drupal 8 release are also included. See Changelog for details.

Try Glazed Builder On Trysooperthemes.com

The Admin demo is free, no registration required!

Important NoteS If You're Updating A Complete Installation Profile

We open sourced our GridStack Drupal module! Now our profiles includes sooperthemes_gridstack. This is a rebrand of the glazed_gridstack module that you might have in your website. If you're updating your installation profile you should check if you use any GridStack view on your site. If you do, you can choose to either disable the sooperthemes_gridstack module, or rebuild (or export/import) them using the SooperThemes GridStack module and then disable and uninstall the glazed_gridstack module. This goes both for customers using our premium theme and for people on the free Glazed CMS Distribution.

Join SooperThemes Or Upgrade To Unlimited today!

We're super excited about our Drupal products and we think you will be too! If you're on the fence about getting a subscription, or waiting for the Drupal 8 products, wait no longer! Join now and get 10% discount if you join our newsletter. Once you've tried Glazed Theme and our Glazed Drag And Drop Builder you''ll never build Drupal sites the old way again. Joining is risk free, no questions asked refund policy if you change your mind within 20 days after purchase.

Subscribe Now To Download

Risk Free: 20 day refund policy

Categories: Drupal

Drupal core announcements: Drupal core security release window on Wednesday, August 16, 2017; 8.4.0 beta begins week of August 14

12 August 2017 - 1:01pm
Start:  2017-08-15 12:00 - 2017-08-17 12:00 UTC Event type:  Online meeting (eg. IRC meeting)

The monthly security release window for Drupal 8 and 7 core will take place on Wednesday, August 16.

This does not mean that a Drupal core security release will necessarily take place on that date for any of the Drupal 8 or 7 branches, only that you should watch for one (and be ready to update your Drupal sites in the event that the Drupal security team decides to make a release).

Drupal 8.4.0-beta1 will also be released sometime during the week to continue preparation for the upcoming minor release in October.

There will be no bug fix or stable feature release on this date. The next window for a Drupal core patch (bug fix) release for all branches is Wednesday, September 06. The next scheduled minor (feature) release for Drupal 8 will be on Wednesday, October 5.

For more information on Drupal core release windows, see the documentation on release timing and security releases, and the discussion that led to this policy being implemented.

Categories: Drupal

DrupalCon News: Wednesday Keynote with Joe Shindelar

11 August 2017 - 1:59pm

We're looking forward to  our community keynote in Vienna, and here's why.

Joe Shindelar is a developer, artist, and snowboarding enthusiast who has been building Drupal sites and participating in Drupal core development since 2006. Joe is also very active in the Drupal issue queues where he has helped to develop and improve Drupal's image handling and manipulation features, contextual links, and various other bits and pieces.

Categories: Drupal

Palantir: Learning by Doing: Palantir’s Internship Program

11 August 2017 - 8:44am
Learning by Doing: Palantir’s Internship Program brandt Fri, 08/11/2017 - 10:44 Alex Brandt Aug 14, 2017

Our interns bring fresh new perspective to our team.

In this post we will cover...
  • Why we love having interns
  • Some skills our interns learn
  • An intro to our current Summer interns

Stay connected with the latest news on web strategy, design, and development.

Sign up for our newsletter.

There are many different facets of “the Palantir way,” but one principle that sticks out the most is the encouragement to be continuously learning. As a company, we are strong advocates for the concept of “learning by doing,” which is why we’ve had a summer internship program going for years. We believe paid internship opportunities are essential to figuring out what career path is best for you, and they can be beneficial for both the company and the intern.

Our interns are provided the opportunity to see what it’s like to work on real projects with a development team while getting exposure to working through a process with clients. They gain experience using tools like Github and JIRA, and a deeper understanding of responsive design, open source software, and Agile development.

We’ve found that our interns bring huge value with new perspective to our team. They give other Palantiri an opportunity to work on mentorship, and our buddy system means we gain a quick understanding of our interns’ existing skills, so we can help them grow that skillset more effectively.

The added bonus of our internship program is that both sides get to leave with an understanding of whether or not it’s a good fit. Being a remote-first company, it’s nice for our interns to be able to test drive remote work and see if it works for them.

We’ve had such tremendous success in hiring our interns as full-time employees (you might be familiar with Ashley, Kelsey, Patrick, and Matt), that we’ve recently decided to expand our program beyond summer to accommodate the awesome candidates that have extended availability.

Meet Our 2017 Summer Interns! Lily Fisher

Q: Why were you excited to come work at Palantir?
A: While poking around the website and blog, I saw the previous clients Palantir worked with. I wanted my first job to be fulfilling and a learning experience that allowed me to grow during my pursual of a Computer Science career. Based on the eloquent, effective, and personal approach this company takes when serving their clients, I felt like working with Palantir would allow me to grow while working on real projects in a wholly-understanding professional environment.

Q: Who is the most famous person you’ve ever met?
A: I had a conversation with Alan Parson about my involvement in music.

Q: What do you most like to do to unwind?
A: Skateboard.

Q: What is the first thing you do when you wake up/start your day?
A: Cuddle with my hamster.

Jose Arreluce

Q: Why were you excited to come work at Palantir?
A: I was excited to come work at Palantir as I believed that Palantir’s internship perfectly fit what I was looking for. It presented the opportunity to work on real projects that would have an impact on real people, while also allowing me to learn extensively about how websites are developed in a professional environment. I was also excited by what I saw on Palantir’s website regarding its previous projects and the company culture, as well as by the emphasis on learning.

Q: What excites you about the web?
A: The vast amount of knowledge and opportunity for learning it provides. The memes are nice too.

Q: In 5 years time you hope to be. . .
A: In five years I hope to be working as a software engineer, pursuing an advanced degree, and to have run at least a half marathon.

Q: What do you most like to do to unwind?
A: Running, especially on the Chicago lakefront on a nice day.

 

Want to know more about Palantir? Check out our culture page or read through our bios. Think it sounds like a good fit? Send us your resume.

Want to work at Palantir?

Send us your resume!
Categories: Drupal

Dutch Open Projects: Content Security Policy and Drupal

11 August 2017 - 5:19am
What is CSP?

Content Security Policy – or CSP – is a security feature of modern browsers. Browsers will ignore data from domains that are not cleared in the CSP http-response header. For instance if you embed a YouTube movie on a webpage and the domain is not whitelisted in the CSP header, then the movie will not be loaded. All traffic from youtube.com will be blocked and the movie cannot be displayed.

Categories: Drupal

InternetDevels: Web development “chemistry”: a fantastic reaction between Drupal and ReactJS

11 August 2017 - 4:57am

Combining different tools to produce fantastic reactions is the true “chemistry” of web development. The special trend of the day is using Drupal with JavaScript tools. We’ve had a chance to look at the benefits of using Drupal with Angular and Drupal with Node.

Read more
Categories: Drupal

agoradesign: Horizontal Tabs in Drupal 8

11 August 2017 - 4:48am
Drupal 8 ships with a great and easy to use 'vertical_tabs' form element but unlikely a horizontal counterpart is missing. I'll show you, how can get horizontal tabs into your forms.
Categories: Drupal

Anubavam LLC: PHP 7 can help improve Drupal site performance

11 August 2017 - 3:38am
PHP 7 can help improve Drupal site performance

Drupal is PHP 7-ready and sites that run many contrib modules, or particularly memory-intensive ones, will need more memory requirements. Optimizing Drupal website performance with PHP 7 version will boost the overall page speed. 

PHP 7 was released in December 2015 and offers high performance, huge load capacity and asynchronous programming support  for online applications. According to the latest study, PHP 7 is twice as fast as PHP 5.6 and reduces memory usage.

Why this is the right time to move to PHP 7

Drupal 7 core officially supports PHP 5.2.5 or higher  However, PHP 7 introduces backward incompatible changes which may need to be addressed in contributed or custom modules and themes. While some Drupal 7 sites may run on minimum of PHP versions, you can move to Drupal 8 with PHP 7 support to enhance the performance of the site.

Drupal 8 officially supports 200+ new features and improved functionalities, and upgrading to PHP 7 brings a lot of improvements and delivers high performance Drupal site, whether you are a website owner or a Drupal developer

Drupal core's automated test suite is now fully passing on a variety of environments where there were previously some failures (PHP 5.4, 5.5, 5.6, and 7). Several bugs affecting those versions were fixed as well. These PHP versions are officially supported by Drupal 7 and recommended for use where possible.

Anecdotal evidence from a variety of users suggests that Drupal 7 can be successfully used on PHP 7, both before and after the 7.50 release. 

A slow website load time impacts visitors, overall user experience, and the bottom line. With the improved speed enhancements of Drupal 7 and Drupal 8 with PHP 7, your user engagement and experience will increase and less likely they will leave your website

admin Fri, 08/11/2017 - 06:38 Drupal 8 Drupal Application Development
Categories: Drupal

Chen Hui Jing: Drupal 7 versus Drupal 8

10 August 2017 - 5:00pm

I’ve recently embarked on my first official Drupal 8 project, for Sinvict Technology (case study when the project launches), and it was interesting to see how certain things changed for the better, certain things stayed familiar and certain things seemed slightly worse off. I thought I’d write up some comparison notes between the two versions. This is my personal opinion based on my experiences. You should have your own opinion too.

Core is so much better

I really like the improvements made to core for Drupal 8. Making views part of core was a great idea, as was making the date field core as well. I felt the organisation of files in the new folder structure was more intuitive...

Categories: Drupal

PreviousNext: Using Composer to debug issues updating Drupal core

10 August 2017 - 3:33pm
Share:

This week whilst trying to update one of our projects to the latest version of Drupal 8 core, we had some issues.

We use Composer to manage our dependencies, modules etc, and on this particular occasion, things weren't straightforward.

In order to solve it, we had to use some of the lesser known features of Composer, so decided to share.

by lee.rowlands / 11 August 2017 The problem

So updating Drupal core with composer is normally pretty simple. And on this occasion, we had no reason to suspect it would be anything different.

Normally we'd just run

composer update "drupal/core" --with-dependencies

But this time, nothing happened.

So we checked that there was a newer version available

composer show -a "drupal/core"

And sure enough, we can see 8.3.6 in the available versions.

Time to dig deeper.

The why

Luckily, composer will tell you why it won't install something.

composer why-not "drupal/core:8.3.6"

Which yielded

drupal/core 8.3.6 conflicts drush/drush (<8.1.10)

Aha, so drush is the issue.

So maybe we just update both

composer update "drupal/core" "drush/drush"

Nope.

Digging deeper

So after trying a few different combinations of version constraints etc, we decided to remove drush, update and then add it back.

composer remove --dev "drush/drush"

Which worked.

composer update "drupal/core" --with-dependencies

Ok, nice, we now have Drupal 8.3.6

composer require --dev "drush/drush"

Nope.

Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for drush/drush 8.1.12 -> satisfiable by drush/drush[8.1.12]. - Conclusion: remove phpdocumentor/reflection-docblock 3.2.2 - Conclusion: don't install phpdocumentor/reflection-docblock 3.2.2 - drush/drush 8.1.12 requires phpdocumentor/reflection-docblock ^2.0 -> satisfiable by phpdocumentor/reflection-docblock[2.0.0, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0a1, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0a2, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0a3, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.1, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.2, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.3, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.4, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.5, 3.2.2]. - Installation request for phpdocumentor/reflection-docblock (locked at 3.2.2) -> satisfiable by phpdocumentor/reflection-docblock[3.2.2]. Installation failed, reverting ./composer.json to its original content.

Hm, so we have a version of phpdocumentor/reflection-docblock in our lock file that is too high for drush.

composer why "phpdocumentor/reflection-docblock"

Yields

phpspec/prophecy v1.6.1 requires phpdocumentor/reflection-docblock (^2.0|^3.0.2)

Aha, so prophecy - but it allows either version .. but our lock file has pinned it to the 3.x branch

So lets force composer to downgrade that

composer require --dev "phpdocumentor/reflection-docblock:^2.0"

Now lets see if we can add drush back

composer require --dev "drush/drush"

Success!

Now all that remains is to clean up, because we don't really want to depend on phpdocumentor/reflection-docblock

composer remove --dev "phpdocumentor/reflection-docblock"

Done - quick - commit that lock file while you're winning!

Summary

So while it might be easy to curse Composer for not letting you upgrade, its actually doing exactly what you told it to do.

Your lock file has a pinned version, it is honoring that.

And in order to resolve it, Composer provides all the tools you need in the form of the why and the why-not commands.

Tagged Composer, Drupal 8

Posted by lee.rowlands
Senior Drupal Developer

Dated 11 August 2017

Add new comment
Categories: Drupal

Pages