Drupal

Contextual Filter Range Validator

New Drupal Modules - 29 March 2018 - 4:31pm
Contextual Filter Range Validator About

Contextual Filter Range Validator adds a filter validator that can evaluate a
numerical filter value based on user-supplied constraints.

Use Cases Hide or show a view attachment based on a page URL parameter.

The example steps below can be used to display a view attachment on the first
page only:

Categories: Drupal

SVG Sprite Icon Field

New Drupal Modules - 29 March 2018 - 2:23pm

This module adds a new field type called SVG Icon, using this field you can select an icon from a dropdown list which is auto-generated from your uploaded SVG Sprite.

It reads your SVG Sprite and automatically adds every <symbol id="">...</symbol> to the list, which is typically how SVG Sprites are generated.

It outputs something similar to file.svg#symbol-id

Categories: Drupal

Live Maintenance Mode

New Drupal Modules - 29 March 2018 - 2:00pm

Block all site users from logging in while your site is live and without having to put your site into maintenance mode.

This functionality can be useful for busy sites when administrators are applying maintenance updates or other configuration changes that require a maintenance window but do not necessarily wish to put the site into full maintenance mode.

Categories: Drupal

Payment Moip

New Drupal Modules - 29 March 2018 - 12:17pm

This module enables using Moip as a payment method for the Payment module.

More information about Moip can be found at https://moip.com.br.

Categories: Drupal

Drupal blog: Thanks to the Drupal Security Team for keeping us safe

Planet Drupal - 29 March 2018 - 11:06am

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

We released new versions of Drupal 7 and Drupal 8 yesterday that fixed a highly critical security bug. All software has security bugs, and fortunately for Drupal, critical security bugs are rare. What matters is how you deal with security releases.

I have the utmost respect for how the Drupal Security Team manages a security release like this — from fixing the bug, testing the solution, providing advance notice, coordinating the release, to being available for press inquiries and more.

The amount of effort, care and dedication that the Drupal Security Team invests to keep Drupal secure is unparalleled, and makes Drupal's security best-in-class. Thank you!

Categories: Drupal

Redfin Solutions: Getting Started with Herman: Living Style Guides and Pattern Libraries

Planet Drupal - 29 March 2018 - 10:55am
Getting Started with Herman: Living Style Guides and Pattern Libraries

It all started with an innocent tweet:

https://twitter.com/mirisuzanne/status/948637526612324352

"Excited to announce our new open-source, Sass-driven pattern-library generator! Go design some systems!"

Chris March 29, 2018
Categories: Drupal

CKEditor Print Button

New Drupal Modules - 29 March 2018 - 10:41am
ntroduction

This module enables the Print plugin from CKEditor.com in your WYSIWYG. This plugin activates the printing function. A standard operating system printing pop-up window will appear where you will be able to choose the printer as well as all relevant options.

Requirements

CKEditor Module (Core)

Install via Composer

1. Add ckeditor/print repositories to your `composer.json`.

Categories: Drupal

Texas Creative: Frosted Glass - HTML CSS TWEAKS

Planet Drupal - 29 March 2018 - 9:35am

Creating a frosted glass effect using CSS is a better method than the old javascript hacks. Using CSS to create the frosted effect uses fewer resources from the site visitors computer by using the native browser rendering engine.

To test this just drag the frosted glass example in the top right of this page

Ok, without wasting much of your time I’m going to jump straight into it.

The main components used for a classic frosted glass effect are:

  • > The original content
  •  - - > The frosted glass container ( Exp. <div> )
  •  - - - - > Original content copy inside the glass container (the element that mimics the content on the page with a blur effect).

For a basic idea of how this works. Here is a simple example:

HTML structure:

Read More
Categories: Drupal

Commerce Guys: Commerce Kickstart Covered for SA-CORE-2018-002

Planet Drupal - 29 March 2018 - 8:06am

On March 21st 2018, the Drupal security team posted a public service announcement that Drupal core would be receiving a security release. The vulnerability affected Drupal 6, Drupal 7, all versions of Drupal 8, and Backdrop (a fork of Drupal during the rewrite to version 8.) On March 28th that security release landed, and the Drupal world went scrambling to apply updates. As maintainers of Commerce Kickstart we have to be conscious of Drupal core releases, especially security ones.

In preparation for the upcoming security release, we had patches ready to commit. Since there would be no other Drupal core releases before the security update, we could make our prepared changes ahead of time and push them once the releases landed. Within minutes of the security release dropping and the Git backend for drupal.org becoming available, the release tags were pushed.

For our Pantheon users, our first step was to merge in Pantheon’s Drupal 7 upstream and receive the Drupal core security fix. Once the packaging system of drupal.org built the Commerce Kickstart 2.53 release, we pushed that out as well.

All in all, by 3PM CDT the drupal.org releases for Commerce Kickstart 1.51 and 2.53 were out. We experienced some packaging issues due to a malicious attack hitting drupal.org during the security announcement and a backed up packaging queue. However, we monitored chat channels and communicated the process throughout.

Commerce Kickstart 1.51, 2.53 released. The @getpantheon upstream has been updated as well. GO AND GET YOUR SA-CORE-2018-002 FIXES NOW.

— Matt Glaman (@nmdmatt) March 28, 2018

Thanks to the Drupal Security and Infrastructure teams for handling this release and all the stress they endured.

Categories: Drupal

Acro Media: Drupal Website Debugging and Site Performance

Planet Drupal - 29 March 2018 - 8:00am

Debugging a website (Drupal or otherwise) can be challenging. In this video, I go through a recent situation I faced where a client had reported their Drupal Commerce site completely slowing down every hour or so. I'll discuss the process I followed to figure out the problem and get it fixed.

Here's a breakdown of what happened
  1. I first used New Relic to see where the slowdown was happening. It could be a database issue, a PHP issue, maybe an external service call, who knows? New Relic can help determine this and I was able to determine that it was a database load issue that I was facing.

  2. Then I checked the system logs. Every hour or so, there were a lot of database insertions happening on a number of tables. It seemed really out of place and initially I couldn't narrow down why. I checked the logs and found that system cron was running at the exactly same time as the slowdown. It was also running for a similar amount of time that the slowdown was taking place. Normally, system cron only takes 1-20 seconds, but here it was running for about 3 minutes!
  3. Now I can review cron's code to see what should be happening. I found that cron will generate a list of tables and flush out the expired cache. Generating the list is a very resource intensive process and on this particular site, the list being generated was very large and complicated. After the list is generated, it should get permanently cached in the database and therefor it doesn't become a resource issue later. However, for some reason it was being deleted every time. This ended up being the issue I needed to find out, what was deleting the list.

  4. Since I needed to determine why it was being deleted, I attached logging to the general function used for deleting cache. From here I was able to trace it back to Drush, but I still didn't understand why Drush would be deleting this list of tables. I had to dig further.

  5. Eventually, I discovered what was happening. It turned out that the version of Drush that was being used was doing a call to try and find the system logging. However, it couldn't find it and as a side effect it cleared the cached list that cron had generated. Cron, which ran every hour, then couldn't find the cached list and so need to build it again. It was a cycle that just kept repeating itself every hour. I now understood the problem!

  6. And now for the fix. I needed to know why Drush was doing this and if I could prevent it. I first looked around the Drush project issue queue on Drupal.og and talked to a Drush maintainer. I wanted to know if this was an issue others were also experiencing. It turns out that it WAS a known issue and that it was resolved in a later release! The version on the site that I was working on was a few major versions behind. I bought the site up to the latest release and the issue was fixed! Cron ran and took only about 5 seconds, the generated list of tables was being cached and staying cached, and Drush was not clearing it out.
A good debugging exercise

The bug ended up being one that was with Drush, and not the website. The result, through an odd chain of events, ended up bringing the clients site to a standstill nearly every hour. Now that it's resolved, I can look back and see that it was a good exercise in debugging. Even though I didn't need to build the fix myself, it still took a lot of time and understanding to arrive at the fix, and it was great to have it resolved. Hopefully, if you find this because of a similar issue, maybe I can save you a little bit of time.

We can help

If your experiencing issues with your Drupal Commerce website, the good news is that we can help! Contact us if you would like to discuss your options.

Related Links
Categories: Drupal

Static root page

New Drupal Modules - 29 March 2018 - 7:49am

This module provides a static root page for multilingual websites with no
prefered language.

Categories: Drupal

Wunder blog: Drupal security update: Wunder clients safe and sound

Planet Drupal - 29 March 2018 - 7:11am
Drupal security update: Wunder clients safe and sound peeter.pratka Thu, 29/03/2018 - 15:11

We are happy to announce that the highly important Drupal core security update “SA-CORE-2018-002” has been carried out successfully at Wunder: All our clients’ websites are patched and secure.

Our secret? Excellent preparation.

Last Wednesday (21st March 2018), the Drupal Security Team shook the community when they announced that a major security update is to be rolled out on the evening of Wednesday 28th March. Some even started nicknaming the update “Drupalgeddon 2.0” due to the resemblance to a highly critical security update in 2014.

Our team of Wunderers in charge stayed calm and immediately went into preparation mode. An internal plan of action was released soon after to make sure that the update could be applied as fast as possible to provide maximum security to our clients. Several Wunderers along our dedicated security team took responsibility over services to make sure we get them updated quickly.

Our team? Dedicated and fast.

So when update night rolled around, our team knew exactly what to do: Updating and applying hotfixes to our clients’ sites was executed in the smoothest way possible. To give you some numbers: More than 130 different websites were done in about 3 hours!

Shoutout to the team: You rock!

None of this would have been possible without our exceptional team of Wunderers who worked tirelessly to ensure that all client projects received the security update as fast as possible. Huge thanks for your outstanding performance and excellent work!

Special thanks go to those members of our team who were part of the task force that kept our client's applications safe and sound yesterday:

Agnis Mateuss
Aleksi Johansson
Annina Järvenpää
Artis Krumins
Arturs Vilkajs
Fredrik Lassen
Gatis Rudins
Gints Erglis
Hannes Kirsman
Ilmari Oranen
Jan Lindström
Janne Koponen
Joao Ventura
Karlis Daugavietis
Karlis Kalnins
Lauris Igaunis
Marc Galang
Maris Abols
Martins Bertins
Matti Hernesniemi
Mikael Kundert
Mikelis Zalais
Mikk Miggur
Nikita Izotov
Olli Erinko
Pasi Kauraniemi
Pauli Huhtiniemi
Peeter Pratka (also organiser)
Raimonds Kalnins
Saimons Jegers
Santeri Lindgren
Timo Kirkkala
Tomi Mikola
Toni Sinisalo
Tormi Tabor
Tuomas Leppänen (also organiser)
Viljami Salmi

Drupal Drupal Planet Drupal8 Security
Categories: Drupal

Acquia Developer Center Blog: Decoupling Drupal 8 Core: Core REST, HAL, and Setting Up Drupal as a Web Services Provider

Planet Drupal - 29 March 2018 - 6:38am

Perhaps the most critical piece of any decoupled CMS architecture is the API layer which exposes data in the back end for consumption by other applications. In Drupal's case, the REST module (also known as the RESTful Web Services module) in Drupal 8 core fulfills this responsibility. The REST module contains important logic that drives the availability of data through formatted responses.

Tags: acquia drupal planet
Categories: Drupal

Opportunities widget from Science-Community.org

New Drupal Modules - 29 March 2018 - 6:12am

This widget allows you to incorporate smart self-updating list of academic conferences, scholarships or vacancies into your web-site.

You can configure and display these types of opportunities:
-- academic conferences; you can specify scientific area
-- grants/scholarships; you can select their type
-- scientific vacancies; you can choose their area

Additionally you can configure the language and the quantity of opportunities being displayed.

Categories: Drupal

Brazilian Address Field

New Drupal Modules - 29 March 2018 - 6:09am

This defines a new field type to store brazilian postal adresses according to
recommendations of the brazilian postal service company, Correios. The address
consists of the following fields:

* Thoroughfare (Logradouro): type and name of the thoroughfare
* Number (Número): the number of thoroughfare
* Complement (Complemento): apartment number and/or another info
* Neighborhood (Bairro)
* City (Cidade)
* State (Estado)
* Postal code (CEP)

Categories: Drupal

bootstrap simple carousel

New Drupal Modules - 29 March 2018 - 3:41am

The module provides the carousel block. It uses the bootstrap carousel with all the features of bootstrap script.
All the info and available settings yon can see on the bootstrap page.

Features

The bootstrap carousel module:

Categories: Drupal

Thanks to the Drupal Security Team for keeping us safe

Dries Buytaert - 29 March 2018 - 12:36am

We released new versions of Drupal 7 and Drupal 8 yesterday that fixed a highly critical security bug. All software has security bugs, and fortunately for Drupal, critical security bugs are rare. What matters is how you deal with security releases.

I have the utmost respect for how the Drupal Security Team manages a security release like this — from fixing the bug, testing the solution, providing advance notice, coordinating the release, to being available for press inquiries and more.

The amount of effort, care and dedication that the Drupal Security Team invests to keep Drupal secure is unparalleled, and makes Drupal's security best-in-class. Thank you!

Categories: Drupal

Dries Buytaert: Thanks to the Drupal Security Team for keeping us safe

Planet Drupal - 29 March 2018 - 12:36am

We released new versions of Drupal 7 and Drupal 8 yesterday that fixed a highly critical security bug. All software has security bugs, and fortunately for Drupal, critical security bugs are rare. What matters is how you deal with security releases.

I have the utmost respect for how the Drupal Security Team manages a security release like this — from fixing the bug, testing the solution, providing advance notice, coordinating the release, to being available for press inquiries and more.

The amount of effort, care and dedication that the Drupal Security Team invests to keep Drupal secure is unparalleled, and makes Drupal's security best-in-class. Thank you!

Categories: Drupal

OSTraining: Learn Drupal 8 Layout and Theming By Taking the Class

Planet Drupal - 29 March 2018 - 12:16am

One of the most frequently asked questions among our Drupal students is "How to control layouts?"

If you really would like to be in control of layouts, you need to learn theming.

We created a brilliant "Drupal 8 Theming and Layout" video class to help you. In this post, you will take a look at the class modules and what you can learn while taking them.

Categories: Drupal

myDropWizard.com: The continuing importance of the Drupal 6 Long-Term Support program

Planet Drupal - 28 March 2018 - 10:02pm

Drupal 6 reached End-of-Life over 2 years ago, so you might be forgiven for thinking that Drupal 6 and its Long-Term Support (D6LTS) no longer matter.

However, yesterday (March 28th, 2018), there was a HIGHLY CRITICAL security vulnerability announced that affected Drupal 6, 7 & 8 (and even Backdrop).

This wasn't the first Drupal 6 LTS core release (did anyone notice that one?) and it probably won't be the last. And there are still ~65,000 sites running Drupal 6 according to Drupal.org, which were affected by this issue, and could be affected by future issues.

Luckily, the Drupal 6 LTS program is still going, and we got a patch and release out immediately!

But the D6LTS program won't go on forever... at least without users of Drupal 6 continuing to buy support from the D6LTS vendors.

I think this is a good time to remind everyone what the D6LTS program is and why it's still important to the Drupal community...

Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal