Newsfeeds

jsonform

New Drupal Modules - 2 August 2018 - 2:31am

Integrate jsonform library with Drupal

Categories: Drupal

How a twitter campaign brought in 95 new game reviews - by Hannah Flynn

Gamasutra.com Blogs - 1 August 2018 - 10:23pm
Failbetter Games (Sunless Sea, Sunless Skies) created #loveindies as a way to celebrate indie games and drive players to leave valuable reviews and ratings. Hannah Flynn, Communications Director, shares what they learned.
Categories: Game Theory & Design

Agiledrop.com Blog: AGILEDROP: How to Embed Videos in Drupal 8

Planet Drupal - 1 August 2018 - 6:19pm
Videos have become a major part of the internet alongside images and of course text. They not only increase the engagement of your website but also making it more engaging. Historically, Drupal hasn’t been too media friendly and has been criticized for that compared to other CMS. But with Drupal 8 as well as its media initiative, those days are behind us. In this post, let’s take a look at how easy it is to embed a video on your Drupal 8 site. Start off by downloading the Video Embed Field module. Install the module and enable it (It requires the Drupal Media module to be enabled). Before we… READ MORE
Categories: Drupal

Debug Academy: How to quickly patch your Drupal site for today's Moderately Critical security release ( SA-CORE-2018-005 )

Planet Drupal - 1 August 2018 - 5:04pm
Author: Ashraf Abed

Do you manage a Drupal site? You are likely to have heard about today's moderately critical security update: https://www.drupal.org/SA-CORE-2018-005

There's no time to spare - what now?

This update is has one key difference from the other recent security updates. Those security issues resided within Drupal core's code, whereas this update is in an external vendor package which Drupal core relies on. I'll spare you some of the details - the tl;dr is that makes it harder for us to provide a single patch you can reliably apply. Knowing the version of Drupal core you're running does not necessarily give us enough information to generate a patch.

Here is how to apply the security updates to your website if you are already on Drupal 8.5:

  • SSH into your website
    • Git add and commit all files
    • Create a database backup with drush:
      • drush sql-dump > ../../2018-08-01-pre-sa-core-2018-005.sql
  • Using Composer, and on Drupal 8.5.x?
    • composer update drupal/core --with-dependencies
    • Unsuccessful? Try: composer update drupal/core --with-all-dependencies
    • Still no luck? OK - this should work:
      • composer require symfony/http-foundation:~3.4.14
      • composer require symfony/http-kernel:~3.4.14
  • Not using composer, but are on Drupal 8.5.x?
    • I strongly recommend using composer in the near future. Until then, manually update the two packages:
    • ​Now that we have the new versions of the two packages, we need to replace the unsecure versions of those packages in our project:
      • Open your project
      • Within your project, find for these folders:
        • http-foundation
          • This can usually be found in: YOUR-PROJECT/vendor/symphony/http-foundation
        • http-kernel
          • This can usually be found in: YOUR-PROJECT/vendor/symphony/http-kernel
      • Those are the two unsecure folders. Note their location, and delete those folders
        • ​This step will break your website until the remaining steps are completed. Because of which, you should always perform development work on a dev environment, not on the live website.
    • Remember the zip files we downloaded earlier? Find those on your machine now.
    • Unzip the two zip files. You should now have these two folders on your computer:
      • http-foundation-3.4.14/
        • Rename this folder to http-foundation
        • Then move the renamed into your project, replacing the old http-foundation folder
          • This is normally YOUR-PROJECT/vendor/symphony/http-foundation
      • http-kernel-3.4.14/
        • Rename this folder to http-kernel
        • Then move the renamed folder into your project, replacing the old http-kernel folder
          • This is normally YOUR-PROJECT/vendor/symphony/http-kernel
    • Save (git add and commit) the updated folders on your website
    • Clear your websites cache
    • Test your website thoroughly
    • If everything looks good, you should be able to deploy these changes to the live website before clearing its cache

These steps come with no warranty, implied or otherwise.

Those steps will allow you to patch your site, not fully update it. Once the patches are in, you can rest assured that your site should now be secure. Take 24 hours off, then schedule fully updating your website to the latest version very soon. Future patches are not guaranteed to be applicable to earlier versions.

Categories: Drupal

Drupal Association blog: Changes Coming for DrupalCon Seattle 2019

Planet Drupal - 1 August 2018 - 3:58pm

DrupalCon is evolving and improving to better meet your needs and those of the Drupal market. The goal of the project and the Drupal Association is to grow Drupal adoption and its impact in the world, and based on your feedback, we’re segmenting DrupalCon’s offerings -- which we affectionately call “tracks” -- to achieve this. This also comes with a different price point.

While the programming, speakers, sessions and more still make up the core of DrupalCon, for the first time, we’re retooling and creating more value to serve everyone in the Drupal lifecycle; builder/developers, agency owners, sales teams, content editors, marketers, end-user decision-makers….

The Backstory and Evolution

Growing adoption means inspiring and educating all decision-maker personas, so we’re creating programming and experiences uniquely tailored to each personas needs so that they can all find ways to participate in the continued evolution of the project.

Over the past few years, through surveys, evaluation forms, in-person comments, attendance data and meetings, the community provided valuable feedback and ideas about how DrupalCon North America could best target each of the differing attendees.

While making changes, we also want to make the experience for our alumni attendees even better. We pinpointed common themes and requests; namely more in-depth content, learning opportunities, and concentrated time for networking.

Serving Drupal's Personas

DrupalCon’s overall programming is now a siphoning of who you are and how your role uses Drupal. We’ll carve the Seattle conference center into 4 distinct areas; one for each persona track:

  • Builder Track
  • Agency Leadership Track
  • Content and Digital Marketing Track
  • Executive Summit

These tracks can better inform each group, allowing attendees’ time to be targeted and well-spent at DrupalCon as a whole. Each of these tracks will have their own space, their own journey and their own content -- with opportunities to come together in keynotes, social events, and the hallway track for the cross-pollination, community building, and DrupalCon’s culture of collaboration, which remain core benefits of attending the conference.

More About the Builder Track

As mentioned, in addition to expanding who DrupalCon serves, we also want to create a more valuable experience for returning attendees. The Builder Track will be for people who make the software and create the experience, with job roles including but not limited to: back end and front end developers, themers, QA specialists, technical leads and architects, site builders and other technical personas.

Here’s what’s new and different for this track, so that it better serves you:

  • Sessions will include multiple topic tags; content will be more accessible to attendees instead of in strict silos; no missing out!
  • Due to feedback, we have expanded our one-day programs to run on Monday and Tuesday, and our session, BoF and keynote content to full days on Wednesday and Thursday.
  • Adding new summits to provide expanded vertical networking opportunities in strong and emerging industries.
  • Increasing our offering of hands-on trainings and labs throughout the week to up-level knowledge.
  • We will work to provide more meaningful interactions at Drupal Association hosted social events.
  • More featured speakers -- offering new and relevant information from both inside and outside of Drupal.
  • Additional grants and scholarships so that a cross-section of contributors can attend.
  • An increase in the Speaker Inclusion Fund to ensure diverse voices and perspectives on our stages.
  • All-day free coffee (you read that right!)
In Dollar Terms

With all of this value comes another change that we haven’t made in three years, even as our costs to hold and host the event have escalated year over year: ticket prices. After careful consideration and analysis, the prices for 2019 have increased. Prices now align with industry standards in the North American market, yet remain the most affordable across the board. For context, Linux Open Source Summit starts at $950 and O’Reilly’s conferences start at $1,795. DrupalCon remains at or lower than similar events.

New Ticket Pricing:

Supporter Price

Conference Price

Early-Bird $595 $795 Regular $695 $894 Last Chance $795 $995 On-Site $1,095 $1,095

Supporting Partners’ organizations do a lot financially for Drupal, Drupal Association and DrupalCon. We recognize that many are also sponsors of DrupalCon and send numerous employees to attend every year. As a thanks for funding Drupal.org and the Engineering Team, we’re providing Supporting Partner organizations with a lower pricing tier on DrupalCon tickets moving forward.

To learn more about becoming a Supporting Partner, how fees fund Drupal.org, and how to get the supporter rate, click here.

Easing the Transition

While we are creating more value for DrupalCon attendees, we know it can be a challenge when pricing increases, so for 2019, we have an Individual Alumni Rate. If you have attended DrupalCon twice or more in recent years -- self-funded -- you have the opportunity to register with a different pricing structure. Those who attended both Nashville and Baltimore (or Nashville and Vienna) -- and who have provided us with their email contact information and opted in to our communications -- will be emailed this offer. If you are not opted in to DrupalCon communication but believe you qualify, you can go directly to https://seattle2019.drupal.org/registration. If you are logged in and you qualify, your Drupal.org username will allow you to access the registration button.

Supporting Partner organization employees who are sponsored by their employer to attend are not included in this rate; their early-bird rate is on par with the alumni rate.

Alumni registration opens Wednesday, August 1; General Registration opens Saturday, September 1 -- as does the Call for Papers.

Mark Your Calendars

We are committed to DrupalCon as the go-to event that accelerates the creation of Drupal digital experiences, and the place to collaborate with the largest open source community. The Drupal Association invites you to share what changes about the Con you're most excited about. Watch for our news outlining new programming, and we plan to see you face-to-face in Seattle, April 8-12, 2019!

Categories: Drupal

TGN Review: Iconic Blue 2 Dice Set From Kraken Dice

Tabletop Gaming News - 1 August 2018 - 3:00pm
#NoSuchThingAsTooManyDice That’s my honest belief. I mean… I guess if you’re not able to feed or clothe yourself, but you’re buying more dice, that might be too many, but until you reach that point, you can never have enough. A couple months back, people were talking about a website that’ll show you exactly how much […]
Categories: Game Theory & Design

Commerce Guys: Drupal Commerce 2.8 & Cart Flyout Module Updates

Planet Drupal - 1 August 2018 - 2:25pm

We recently released Drupal Commerce 2.8 and are excited to highlight some of the new features. We also published new releases of two key contributed modules that make lightning-fast, client-side Add to Cart forms possible, representing a significant improvement to the customer experience.

Drupal Commerce 2.8 adds BOGO support

The most significant new feature in the 2.8 release is the “Buy X, Get Y” offer type funded by Norwegian Drupal agency Ny Media. You can now configure promotions with just core functionality that grant free or reduced price products after a set number of other products have been added to the cart. This work required a re-architecture of parts of the promotions data model and a redesign of the user interface to make it easier for merchants to create promotions in general.

Other key updates and improvements in this release include:

Read the release notes to get the full scope of additional updates and also to learn about some backward compatibility breaks that affect custom promotions, custom tax types, and order processors. We'll keep chipping away at the core roadmap and plan to add query-level entity access to the API for the next release.

Commerce Cart Flyout “Add to Cart” Update

The newest release of the Cart Flyout module includes notable updates to its JavaScript based “Add to Cart” feature. In addition to powering an editable shopping cart in a “flyout” sidebar, it now improves the Add to Cart experience with a very fast client-side solution using resources defined by the Commerce Cart API.

The standard Add to Cart form uses Drupal’s Forms API to update form elements based on attribute selection. It can submit three to four Ajax requests on average while customers select a product variation, but the new module can build, update, and submit the form purely in the client via JavaScript. Because the server sends the browser all the data it needs to build the interactive form in the initial request, we're able to avoid any additional requests to the server until the customer is actually ready to initiate the Add to Cart. Check it out:

Following up on our Commerce 2.8 release, we've released updates to our Cart Flyout and Cart API modules to build, update, and submit dynamic Add to Cart forms purely in the browser via JavaScript. More on this decoupling effort in the latest blog: https://t.co/yXcZOv1RQy pic.twitter.com/bIikuiERaq

— Drupal Commerce (@drupalcommerce) August 1, 2018

Even under high visitor load, users will have a faster experience overall. Server resources are only devoted to users who decide to convert. Casual visitors can browse and modify product variations as much as they like and not affect other users’ load times. This is yet another step on our path toward providing a progressively decoupled eCommerce solution for the community to build robust experiences for merchants and consumers.

Categories: Drupal

Demigods for WarGods of Olympus Now Available

Tabletop Gaming News - 1 August 2018 - 1:00pm
The Greek gods are well-known for having offspring. Semi-divine followers on Earth whose powers and abilities led them to complete mighty deeds. Now, you can have these characters fight for you in WarGods of Olympus, as Crocodile Games has released a whole set of them into their webshop. From the announcement: The new Demigods for […]
Categories: Game Theory & Design

Lullabot: Quick Tip: Add a Loading Animation for BigPipe Content

Planet Drupal - 1 August 2018 - 12:22pm

BigPipe is a technique pioneered by Facebook that’s used to lazy-load content into a webpage. From the user’s perspective, the “frame” of a webpage will appear immediately, and then the content will pop in place when it’s ready. BigPipe has been included as a module in Drupal core since 8.1.x, and is very simple— just enable the module.

On my latest project, I'm using it to lazy-load content that’s generated from a very slow API call. The functionality works great out of the box, but we noticed a user-experience problem where the end-user would see a big blank area while the API call was waiting on a response. This behavior made the website seem broken. To fix this, we decided to implement a simple loading animation.

Finding the CSS selector to attach the animation to wasn’t as simple as I hoped it would be.

Spoiler: Let’s see the code

Looking for the code, and not the process? The CSS selector to target is below. Note that you’ll want to qualify this within a parent selector, so the loader doesn’t appear everywhere.

.parent-selector [data-big-pipe-placeholder-id] { /* Loading animation CSS */ }

BigPipe’s placeholder markup is only one <span> element, which makes styling tricky. Luckily, we can make use of CSS pseudo-selectors to make a Facebook-style throbber animation.

Here is some Sass with easy-to-use variables:

$pulse-duration: 0.2s; $pulse-color: rebeccaPurple; @keyframes pulse-throbber { 0% { opacity: 1; transform: scaley(1); } 100% { opacity: 0.2; transform: scaley(0.5); } } [data-big-pipe-placeholder-id] { position: relative; display: block; margin: 20px auto; width: 6px; height: 30px; background: $pulse-color; animation: pulse-throbber $pulse-duration infinite; animation-delay: ($pulse-duration / 3); animation-direction: alternate; &:before, &:after { content: ''; position: absolute; display: block; width: 100%; height: 100%; background: $pulse-color; top: 0; animation: pulse-throbber $pulse-duration infinite; animation-direction: alternate; } &:before { left: -12px; } &:after { left: 12px; animation-delay: ($pulse-duration / 1.5); } } Tracking down the placeholder’s CSS selector

Finding this selector wasn’t as simple as I initially hoped. The first technique that I tried was setting a DOM breakpoint in Chrome Developer Tools. This functionality allows you to pause the execution of JavaScript when a DOM element’s attributes change, the element gets removed, or any descendant DOM elements are modified.

In our case, we want to set a breakpoint when any descendant element is modified and then reload the page. Hopefully, when BigPipe inserts the rendered HTML, the breakpoint will trigger, and we can then inspect the placeholder HTML to find the appropriate CSS selector.

undefined

Unfortunately, this didn’t work. Why? I’m still not sure. This appears to be a bug within Google Chrome. I created an issue within the Chromium bug tracker and will update this article when there’s progress.

PHP Breakpoints to the rescue!

Because I know I’m using the BigPipe module to stream the content in, the next step is setting a PHP breakpoint within the BigPipe module within PHPStorm. I ended up setting a breakpoint within the sendContent() function within BigPipeResponse.php. This had the expected result of pausing the lazy-loading of the content, which enabled me to easily inspect the HTML prior so I could find the placeholder’s selector.

undefinedundefined Conclusion

Sometimes a seemingly simple theming task ends up being tricky. It’s important to understand proper front-end and backend debugging techniques because you never know when you’re going to need them in a pinch. Hopefully, this article will save someone from having to go through this process.

Photo by Jonny Caspari on Unsplash

Categories: Drupal

CMON Posts Gen Con Preview

Tabletop Gaming News - 1 August 2018 - 12:00pm
And we have another for you. CMON’s really grown over the years I’ve been with the company. From one booth of moderate size to a really big booth filled with all sorts of stuff, with games seemingly bursting at the seams. What sort of things can you expect to see there this year? Thankfully, they’ve […]
Categories: Game Theory & Design

Security advisories: Drupal Core - 3rd-party libraries -SA-CORE-2018-005

Planet Drupal - 1 August 2018 - 11:54am
  • Advisory ID: SA-CORE-2018-005
  • Project: Drupal core
  • Version: 8.x
  • CVE: CVE-2018-14773
  • Date: 2018-August-01
Description

The Drupal project uses the Symfony library. The Symfony library has released a security update that impacts Drupal. Refer to the Symfony security advisory for the issue.

The same vulnerability also exists in the Zend Feed and Diactoros libraries included in Drupal core; however, Drupal core does not use the vulnerable functionality. If your site or module uses Zend Feed or Diactoros directly, read the Zend Framework security advisory and update or patch as needed.

The Drupal Security Team would like to to thank the Symfony and Zend Security teams for their collaboration on this issue.

Versions affected

8.x versions before 8.5.6.

Solution

Upgrade to Drupal 8.5.6.

Versions of Drupal 8 prior to 8.5.x are end-of-life and do not receive security coverage.

Contact and More Information

The Drupal security team can be reached at security at drupal.org or via the contact form at https://www.drupal.org/contact.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.

Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity

Drupal version: Drupal 8.x
Categories: Drupal

Dries Buytaert: Acquia a leader in 2018 Gartner Magic Quadrant for Web Content Management

Planet Drupal - 1 August 2018 - 11:49am

Today, Acquia was named a leader in the 2018 Gartner Magic Quadrant for Web Content Management. Acquia has now been recognized as a leader for five years in a row.

Acquia recognized as a leader, next to Adobe and Sitecore, in the 2018 Gartner Magic Quadrant for Web Content Management.

Analyst reports like the Gartner Magic Quadrant are important because they introduce organizations to Acquia and Drupal. Last year, I explained it in the following way: "If you want to find a good coffee place, you use Yelp. If you want to find a nice hotel in New York, you use TripAdvisor. Similarly, if a CIO or CMO wants to spend $250,000 or more on enterprise software, they often consult an analyst firm like Gartner.".

Our tenure as a top vendor is not only a strong endorsement of Acquia's strategy and vision, but also underscores our consistency. Drupal and Acquia are here to stay, which is a good thing.

What I found interesting about year's report is the increased emphasis on flexibility and ease of integration. I've been saying this for a few years now, but it's all about innovation through integration, rather than just innovation in the core platform itself.

An image of the Marketing Technology Landscape 2018. For reference, here are the 2011, 2012, 2014, 2015, 2016 and 2017 versions of the landscape. It shows how fast the marketing technology industry is growing.

Today, there is an incredible amount of value in community-driven innovation. Just look at the 2018 Martech 5000 — the supergraphic now includes 7,000 marketing technology solutions, which is a 27% increase from a year ago. This accelerated innovation isn't exclusive to marketing technology; its happening across every part of the enterprise technology stack. From headless commerce integrations to the growing adoption of JavaScript frameworks and emerging cross-channel experiences, organizations have the opportunity to re-imagine customer experiences like never before.

It's not surprising that customers are looking for an open platform that allows for open innovation and unlimited integrations. The best way to serve this need is through open APIs, decoupled architectures and an Open Source innovation model. This is why Drupal can offer its users thousands of integrations, more than all of the other Gartner leaders combined.

When you marry Drupal's community-driven innovation with Acquia's cloud platform and suite of marketing tools, you get an innovative solution across every layer of your technology stack. It allows our customers to bring powerful new experiences to market, across the web, mobile, native applications, chatbots and more. Most importantly, it gives customers the freedom to build on their own terms.

Thank you to everyone who contributed to this result!

Categories: Drupal

Acquia a leader in 2018 Gartner Magic Quadrant for Web Content Management

Dries Buytaert - 1 August 2018 - 11:49am

Today, Acquia was named a leader in the 2018 Gartner Magic Quadrant for Web Content Management. Acquia has now been recognized as a leader for five years in a row.

Acquia recognized as a leader, next to Adobe and Sitecore, in the 2018 Gartner Magic Quadrant for Web Content Management.

Analyst reports like the Gartner Magic Quadrant are important because they introduce organizations to Acquia and Drupal. Last year, I explained it in the following way: "If you want to find a good coffee place, you use Yelp. If you want to find a nice hotel in New York, you use TripAdvisor. Similarly, if a CIO or CMO wants to spend $250,000 or more on enterprise software, they often consult an analyst firm like Gartner.".

Our tenure as a top vendor is not only a strong endorsement of Acquia's strategy and vision, but also underscores our consistency. Drupal and Acquia are here to stay, which is a good thing.

What I found interesting about year's report is the increased emphasis on flexibility and ease of integration. I've been saying this for a few years now, but it's all about innovation through integration, rather than just innovation in the core platform itself.

An image of the Marketing Technology Landscape 2018. For reference, here are the 2011, 2012, 2014, 2015, 2016 and 2017 versions of the landscape. It shows how fast the marketing technology industry is growing.

Today, there is an incredible amount of value in community-driven innovation. Just look at the 2018 Martech 5000 — the supergraphic now includes 7,000 marketing technology solutions, which is a 27% increase from a year ago. This accelerated innovation isn't exclusive to marketing technology; its happening across every part of the enterprise technology stack. From headless commerce integrations to the growing adoption of JavaScript frameworks and emerging cross-channel experiences, organizations have the opportunity to re-imagine customer experiences like never before.

It's not surprising that customers are looking for an open platform that allows for open innovation and unlimited integrations. The best way to serve this need is through open APIs, decoupled architectures and an Open Source innovation model. This is why Drupal can offer its users thousands of integrations, more than all of the other Gartner leaders combined.

When you marry Drupal's community-driven innovation with Acquia's cloud platform and suite of marketing tools, you get an innovative solution across every layer of your technology stack. It allows our customers to bring powerful new experiences to market, across the web, mobile, native applications, chatbots and more. Most importantly, it gives customers the freedom to build on their own terms.

Thank you to everyone who contributed to this result!

Categories: Drupal

Privateer Press Announces New Legend of the Five Rings Miniatures Subscription Box

Tabletop Gaming News - 1 August 2018 - 11:33am
Well, this is an interesting pairing that I didn’t see coming. Privateer Press, makers of such games as Warmachine and Hordes, is teaming up with Fantasy Flight Games to bring you a new subscription box service (via their Minicrate service) that will include figures from the Legend of the Five Rings universe. Perfect for use […]
Categories: Game Theory & Design

Commerce Pays.cz

New Drupal Modules - 1 August 2018 - 11:15am

Payment module for Drupal Commerce integrating Pays.cz gateways integrator (cards, bank transfer, PayPal, premium SMS, cash and reporting to EET).

Categories: Drupal

Midweek Snippets

Tabletop Gaming News - 1 August 2018 - 11:00am
It’s August. And I know that this month is still summer, but… I mean, they’re already selling Reese’s Pumpkins at my Kroger (and have for 2 weeks now). I’ve got the doors and windows open because it’s only supposed to get into the upper 70s here today, and I’ve put on my Type O Negative […]
Categories: Game Theory & Design

CCP to transition EVE Online publisher to NetEase in China

Social/Online Games - Gamasutra - 1 August 2018 - 10:51am

CCP has ended its arrangement with Tiancity, the previous publisher handling EVE Online†™s Serenity server, and penned a deal with NetEase to keep the online game up and running going forward. ...

Categories: Game Theory & Design

CKEditor Placeholder

New Drupal Modules - 1 August 2018 - 10:44am

This module implements the "Placeholder" add-on integration into CKEditor.
The optional Placeholder plugin allows you to create and modify read-only elements that are only editable through the Placeholder Properties dialog window. This feature is useful in all sorts of templates and texts that are repeated in numerous places whose format should not be modified.

Categories: Drupal

New Releases Available From Zenit Miniatures

Tabletop Gaming News - 1 August 2018 - 10:00am
A whole new batch of releases are available over at Zenit Miniatures, and they’re bringing out the big guns, literally. The far East was the first place that gunpowder was used in a military setting, and those big booms are coming to Kensei. There’s two different cannons, along with several other new figures you can […]
Categories: Game Theory & Design

Kliens

New Drupal Modules - 1 August 2018 - 9:39am

Demo module

Categories: Drupal

Pages

Subscribe to As If Productions aggregator