Drupal Planet

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

OpenLucius: Drupal 8 development: non-content | Part 1/3: Backend configuration form

May 3, 2017 - 2:20pm

Within a Drupal 8 website, there are usually a number of texts that the content manager must be able to manage but that are not real content items.

We resolve this by making a user-friendly configuration form in the backend of Drupal 8, accessible to content managers. This allows us to make sure that all non-content is easy to manage, so that content managers do not have to dig through all kinds of screens in a technical backend to find the correct settings.

Categories: Blogs

Acquia Developer Center Blog: Contribution Stories: Beyond Websites - Using Drupal for Digital Signs

May 3, 2017 - 1:53pm

Using Drupal 8 to power real-time signage systems. Drupal gets better when companies, organizations, and individuals build or fix something they need and then share it with the rest of us. Our community becomes better, stronger, and smarter when others take it upon themselves to make a positive difference contributing their knowledge, time, and energy to Drupal. Acquia is proud to play a part, alongside thousands of others, in making tomorrow’s Drupal better than today’s. One of them is Adam Weingarten and Mike Madison’s.

Tags: acquia drupal planet
Categories: Blogs

Acquia Lightning Blog: Lightning's Oxford Comma Helper

May 3, 2017 - 11:58am
Lightning's Oxford Comma Helper phenaproxima Wed, 05/03/2017 - 10:58

(This was originally posted on Medium, and re-posted here by the author.)

I added a useful function to the Lightning distribution of Drupal 8! Its purpose is to apply the Oxford comma (with the final conjunction) to an array of strings, returning a single nicely formatted string.

I did this because I don’t enjoy seeing this kind of thing littered throughout Drupal:

The following file types are accepted: gif png jpg txt pdf doc

It gets the point across, and clearly, but it feels so…careless to me. A little polish wouldn’t hurt. Now, if you’re using Lightning, you can generate the string like so:

use Drupal\lightning_core\Element; echo 'The following file types are accepted: ' . Element::oxford(['gif', 'png', 'jpg', 'txt', 'pdf', 'doc']);

This will produce “The following file types are accepted: gif, png, jpg, txt, pdf, and doc”. Much nicer! In fact, this opens the door to smoother phrasing in general:

Element::oxford(['gif', 'png', 'jpg']) . ' files are acceptable.';

This will produce the even nicer “gif, jpg, and png files are acceptable.” Yowza!

Element::oxford() will default to using ‘and’ as the final conjunction, but you can override that:

Element::oxford(['apples', 'oranges', 'mangoes'], 'or');

This will produce “apples, oranges, or mangoes”.

The function is smart enough to not apply the Oxford comma if there are fewer than three items. So this:

Element::oxford(['foo', 'bar']);

...will produce “foo and bar”.

I think you get the idea. Go forth, Lightning users, and generate smoother, more grammatically correct lists of items!

Categories: Blogs

BlackMesh: One more down: DrupalCon Baltimore

May 3, 2017 - 10:24am

This past week, Baltimore definitely earned its nickname – “Charm City.”

That’s because I just got back from there after attending my fifth North American DrupalCon with the BlackMesh team. We had an amazing week full of productive talks, seeing old friends, and making new ones.

The BlackMesh team went into this conference with focus on our government and security services. However, with the wide range of diverse attendees, I was surprised to find myself having great conversations about the services we provide in healthcare, education, and finance markets as well.

Aside from meeting new people, it was great having a lot of our current clients stop by the BlackMesh booth to say hi and talk shop – it was great to see you all again!

Speaking of customers, we were thrilled that our very own Ron Johnson, BlackMesh Sales Engineer, had the opportunity to discuss the work we’ve done with the Sierra Club migrating their Drupal 7 site from a Windows-based platform to a fully managed cloud solution. If you missed it, you can check out the presentation here.

Our president, Eric Mandel, attended this year’s Government Summit. It was a day dedicated to panel discussions, break-out sessions, and case studies pertaining to Drupal initiatives for city, state, and federal governments. Eric shared with me some key takeaways from the summit:

  1. Drupal 8 is definitely ready for government sites. In fact, the platform is already being used for a number of sites at varying levels of government.
  2. Security, compliance, and accessibility are major concerns for government site deployments. While security and compliance have been a priority for quite a while, accessibility is a more recent area of focus for developing government sites.
  3. The multisite capabilities and accessibility improvements offered by Drupal 8 are perfect fits when it comes to meeting the needs of local and federal government agencies.

Thank you to everyone who attended, and particularly those of you who stopped by our booth. It was great to have attendees – particularly first time DrupalCon-ers – come up to our booth because they’ve heard about our work in the Drupal community. It’s a great feeling, and we can’t help but wonder if seeing attendees wearing BlackMesh shirts from previous DrupalCons sparked their interest in us (our t-shirts are a real crowd-pleaser every year)!

DrupalCon is one of our most meaningful and constructive events of the year. Introducing more of the Drupal Community to the BlackMesh brand entails hard work, but is a lot of fun. The Drupal Association does a great job of getting everyone involved in the event and pulling in more resources from different industries. For that, we’re very appreciative and are already looking forward to the next conference.

We’ll see you at the next DrupalCon!

DrupalCon BaltimoreDrupalGovernment
Categories: Blogs

Valuebound: Configuration Management in Drupal 8 VS Drupal 7

May 3, 2017 - 10:00am

In drupal whenever you are making changes in settings configuration changes are made .For example if we enable a permission then its a configuration change.

Categories: Blogs

Tim Millwood: Enforce SSL in Drupal 8 using a redirect

May 3, 2017 - 7:40am
Enforce SSL in Drupal 8 using a redirect timmillwood Wed, 03/05/2017 - 11:40

Place this code within .htaccess underneath `RewriteEngine on`.

RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Tags drupal-planet drupal drupal 8 ssl Add new comment
Categories: Blogs

SMGA Web Solutions: Custom Video Export/Import Process With Views and Feeds

May 2, 2017 - 5:49pm

Creatng a custom video node export/import process using custom forms, RSS feeds with Views, and a custom Feeds importer using the SimplePie parser.

read more

Categories: Blogs

Redfin Solutions: Installing Let's Encrypt Certificates on Acquia

May 2, 2017 - 2:23pm
Chris May 02, 2017 Installing Let's Encrypt Certificates on Acquia

Recently, one of our Enterprise clients asked for some help installing SSL certificates on their Acquia-hosted Stage and Development environments. This is not something that Acquia seems to provide (they do provide basic SSL on dev/stage environments, but not with hostname matching), so we set out to get them set up. They use their dev and staging environments to demonstrate new content and features to stakeholders, and some were getting scared off by the SSL certificate warnings.

Categories: Blogs

Acquia Developer Center Blog: What You’ll Learn at Acquia's Developer Experience Roadshow

May 2, 2017 - 1:33pm

Since its founding, Acquia has set a strong precedent for investing in developer experience. Developers are users and influencers of Acquia products, and need to be armed with state-of-the-art tools to build leading digital experiences with Drupal. From Acquia Dev Desktop to the Drupal 8 Module Acceleration Project, Acquia is committed to developing tools and resources that empower development teams.

Tags: acquia drupal planet
Categories: Blogs

CiviCRM Blog: Using Price Set Fields in Drupal with CiviCRM Entity

May 2, 2017 - 11:15am

As of CiviCRM Entity 2.0-beta4 the sub module called CiviCRM Entity Price Set Field provides a Drupal field type for the Event entity type.  In this article we’ll review the features of this submodule and discuss how to configure and customize it to fit your needs.

Event Registration on the Event view page

When configured to display on the Event view pages, this field generates a registration form that supports:

  • Registering multiple Participants
  • Uses the event’s price set and all price fields of any type
  • Pay later or credit card transactions utilizing CiviCRM’s payment processing
  • Profiles
  • Default values for the profile fields corresponding to the logged in user’s contact information
  • Customizable Ajax-fied confirmation and thank you panes
  • Utilizes the event’s settings such as “Is paid event?” etc..
  • Test or Live transactions
Field widget for the Event Edit Form

A “simple” field widget is provided by default for this module.  At the time of this writing, only the first price field can be edited via this widget.  

Getting Started

CiviCRM Entity and CiviCRM Entity Profile are dependencies for CiviCRM Entity Price Set Field. Go to the Drupal module page and enable all three modules and enable CiviCRM Entity Price Set Field, CiviCRM Entity, and CiviCRM Entity Profile.

Once enabled, you can add the Price Set Field to the Event Entity Type.

  • Go to the Event Manage Fields form at “/admin/structure/civicrm-entity/civicrm_event”
  • Scroll to the “Add New Field” section, enter a Label, and select the ‘CiviCRM Entity Price Set’ field type, for this example select the “Simple -- one price field” widget
  • There’s no special field or field instance settings, so just click save until you’re back to the Manage Fields page
  • Now go to the Manage Display Full Content form at “/admin/structure/civicrm-entity/civicrm_event/display/full
  • Set the new field to display
  • There is a field formatter setting to optionally submit test transactions
  • Pat yourself on the back, you’re setup to take registrations from the Drupal based Event view pages at /civicrm-event/[id]

Please note that the registration form takes into account the different settings on the CiviCRM Event.  For instance it will only enable CC transactions and render a billing block if the “Paid Event?” checkbox is checked. The form conforms to registration start and end dates, only renders if Online Registration is enabled.  The form checks to see if Max Participants has been reached, even when adding additional participants. Additional participants can only be added if “Allow Multiple Registrations” is enabled.

To learn more about registration form, how transactions work with the Contribution API, and how it can be customized, please continue reading on Skvare.com.

ToolsCiviCRMCiviEventDrupalExtensions
Categories: Blogs

Dale McGladdery: VanDUG April 2017 Meeting

May 2, 2017 - 3:10am

At our April 2017 meeting Renée Stephen gave the Vancouver Drupal User Group (VanDUG) an encore of her Pacific Northwest Drupal Summit (PNWDS) presentation: No more performance anxiety! The presentation walked us through the formal process of server load testing.

Renée's current gig as Technical Consultant at Acquia gives has given her lots of experience on the subject and she knows how to present. It's always a pleasure when someone deeply steeped in domain knowledge gives a great presentation.

I can't begin to summarize the entire presentation. Renée's slide-deck is available for download at the presentation description on the PNWDS website: No more performance anxiety: get your Drupal site tuned and ready to take the stage! Direct PDF link: PNWDS 2017 - No more performance anxiety.pdf

Here are the take-aways that surprised me:

  • The standard definition of load testing is backend server oriented and does not include front-end performance issues. For example, large hero images or JavaScript widget rendering. While these are important they are not part of this discipline and usually require different tool sets.
  • You'll want at least 2 days, possibly more, to familiarize yourself with jMeter.

I was also reminded of how much server and tool knowledge is required if you're the one doing the remediation. No single detail is exceedingly complicated but each technology in the stack has its particulars, tools, and metics.

Here are the tools Renée mentioned in her presentation:

Profiling Toolkit

  • Blazemeter Recorder
  • Postman
  • HAR
  • jMeter

Dynamic & Static Analysis

  • Blazemeter / jMeter
  • Apachebench (ab)
  • New Relic / TraceView / XHProf
  • WebPage Test
  • Chrome Inspector
  • Server logs and stats
  • varnishstat / varnishlog
  • Redis monitor / memcached-tool
  • Drupal Devel module WebProfiler

She also made a repo of her jMeter example files available at https://github.com/reinette/loadtest

A big thank you to Renée for presenting. I missed the presentation at PNWDS and was happy for the second change to see it.

Tagged:
Categories: Blogs

Dries Buytaert: State of Drupal presentation (April 2017)

May 1, 2017 - 4:41pm

Last week, 3,271 people gathered at DrupalCon Baltimore to share ideas, to connect with friends and colleagues, and to collaborate on both code and community. It was a great event. One of my biggest takeaways from DrupalCon Baltimore is that Drupal 8's momentum is picking up more and more steam. There are now about 15,000 Drupal 8 sites launching every month.

I want to continue the tradition of sharing my State of Drupal presentations. You can watch a recording of my keynote (starting at 24:00) or download a copy of my slides here (108 MB).



The first half of my presentation provided an overview of Drupal 8 updates. I discussed why Drupal is for ambitious digital experiences, how we will make Drupal upgrades easier and why we added four new Drupal 8 committers recently.

The second half of my keynote highlighted the newest improvements to Drupal 8.3, which was released less than a month ago. I showcased how an organization like The Louvre could use Drupal 8 to take advantage of new or improved site builder (layouts video, workflow video), content author (authoring video) and end user (BigPipe video, chatbot video) features.

I also shared that the power of Drupal lies in its ability to support the spectrum of both traditional websites and decoupled applications. Drupal continues to move beyond the page, and is equipped to support new user experiences and distribution platforms, such as conversational user interfaces. The ability to support any user experience is driving the community's emphasis on making Drupal API-first, not API-only.

Finally, it was really rewarding to spotlight several Drupalists that have made an incredible impact on Drupal. If you are interested in viewing each spotlight, they are now available on my YouTube channel.

Thanks to all who made DrupalCon Baltimore a truly amazing event. Every year, DrupalCon allows the Drupal community to come together to re-energize, collaborate and celebrate. Discussions on evolving Drupal's Code of Conduct and community governance were held and will continue to take place virtually after DrupalCon. If you have not yet had the chance, I encourage you to participate.

Categories: Blogs

Acquia Developer Center Blog: 7 Topics that Should be Covered During a Digital Discovery Workshop (including 70+ Specific Questions You Should Ask)

May 1, 2017 - 11:54am

Discovery Workshops play an important role in the success of any development project. If a Discovery Workshop is not conducted the right manner, its value can be lost.

Tags: acquia drupal planet
Categories: Blogs

Mediacurrent: Angular Contributor's Day at ngconf

May 1, 2017 - 10:29am

On Saturday, April 9th, as most of the attendees of ngconf were catching flights home, a group of the core Angular team from Google and prominent community members came together for a Contributor’s Day discussion organized by ThisDot. The stated goal was to discuss areas where the core team and community could better support each other and help advance adoption and ease of entry into using Angular.

Categories: Blogs

Drupal core announcements: Drupal 8 core release window on Wednesday, May 03, 2017

May 1, 2017 - 10:19am
Start:  2017-05-02 12:00 - 2017-05-04 12:00 UTC Organizers:  catch cilefen xjm Event type:  Online meeting (eg. IRC meeting)

The monthly core patch (bug fix) release window is this Wednesday, May 03. Drupal 8.3.2 will be released with dozens of fixes for Drupal 8. There will be no Drupal 7 bugfix release this month.

To ensure a reliable release window for the patch release, there will be a Drupal 8.3.x commit freeze from 12:00 UTC Tuesday to 12:00 UTC Thursday. Now is a good time to update your development/staging servers to the latest 8.3.x-dev code and help us catch any regressions in advance. If you do find any regressions, please report them in the issue queue. Thanks!

To see all of the latest changes that will be included in the release, see the 8.3.x commit log.

Other upcoming core release windows after this week include:

  • Wednesday, May 17 (security release window)
  • Wednesday, June 07 (patch release window)
  • Wednesday, October 5 (scheduled minor release)

For more information on Drupal core release windows, see the documentation on release timing and security releases, as well as the Drupal core release cycle overview.

Categories: Blogs

Tim Millwood: What is Drupal?

April 30, 2017 - 8:28am
What is Drupal?

In his keynote at DrupalCon Baltimore 2017, Dries talked for some time about how Drupal is now for Ambitious Digital Experiences. There has been a lot of talk over the last few years, especially since Drupal 8 was release, that Drupal is now an enterprise CMS. With this keynote it seems as though Dries is, in a way, acknowledging this. Ambitious Digital Experiences reads as something more complex than a blog, a brochure site, or sites for SMEs.

With this in mind, and recent discussions about the Future of Drupal, maybe it's time to put together a sort overview of where we are and what we have in Drupal.

Drupal 8 took nearly 5 years to develop and had over 4,000 people contribute code to it. There are now 11 core committers for Drupal 8, with a further 3 committers tasked with Drupal 7. Listed in MAINTAINERS.txt are over 60 subsystem maintainers who oversee the development of parts of Drupal known as "subsystems".

When downloading Drupal 8 the majority of the code sites within the core directory, and from there is split into a number of distinct parts. There are 22 Drupal components, which are independent libraries and don't depend on anything else within Drupal, there are all available via github. On top of are over 70 base subsystems, these may depend on components or other base subsystems, but don't depend on any modules. Finally there's over 70 modules, 5 themes, and 2 profiles, these may depend on any other parts of Drupal core. From these modules there are 12 that are (or were) experimental, experimental modules are here to add new functionality into core for testing purposes, but not yet fully supported.

The documentation for Drupal core is pretty awesome, and well worth a read for those looking for more information on the governance, "gate", or development workflow.

timmillwood Sun, 30/04/2017 - 12:28 Tags drupal-planet drupal drupal core Add new comment
Categories: Blogs

Tim Millwood: What is Drupal?

April 30, 2017 - 8:28am
What is Drupal?

In his keynote at DrupalCon Baltimore 2017, Dries talked for some time about how Drupal is now for Ambitious Digital Experiences. There has been a lot of talk over the last few years, especially since Drupal 8 was release, that Drupal is now an enterprise CMS. With this keynote it seems as though Dries is, in a way, acknowledging this. Ambitious Digital Experiences reads as, something more complex than a blog, a brochure site, or sites for SMEs.

With this in mind, and recent discussions about the Future of Drupal, maybe it's time to take a look at where we are and what we have in Drupal.

Drupal 8 took nearly 5 years to develop and had over 4,000 people contribute code to it. There are now 11 core committers for Drupal 8, with a further 3 committers tasked with Drupal 7. Listed in MAINTAINERS.txt are over 60 subsystem maintainers who oversee the development of parts of Drupal known as "subsystems".

When downloading Drupal 8 the majority of the code sites within the core directory, and from there is split into a number of distinct parts. There are 22 Drupal components, which are independent libraries and don't depend on anything else within Drupal, there are all available via github. On top of are over 70 base subsystems, these may depend on components or other base subsystems, but don't depend on any modules. Finally there's over 70 modules, 5 themes, and 2 profiles, these may depend on any other parts of Drupal core. From these modules there are 12 that are (or were) experimental, experimental modules are here to add new functionality into core for testing purposes, but not yet fully supported.

The documentation for Drupal core is pretty awesome, and well worth a read for those looking for more information on the governance, "gate", or development workflow.

timmillwood Sun, 30/04/2017 - 12:28 Tags drupal-planet drupal drupal core Add new comment
Categories: Blogs

DrupalEasy: DrupalCon Baltimore Day 2 Recap

April 29, 2017 - 1:25pm

Direct .mp3 file download.

Join Chris Weber, Ted Bowman, Kelley Curry and Mike Anello discuss the goings-on at Day 2 of DrupalCon Baltimore. Music: We'll Get the Hard Part Done Tonight (Hamilton Parody)

Categories: Blogs

DrupalEasy: DrupalCon Baltimore Day 1 Recap

April 29, 2017 - 1:22pm

Direct .mp3 file download.

Join Kelley Curry, Ryan Price, Liz Lipinski, Dan Schiavone, Kevin Lannahan, Lakia Newkirk and Mike Anello discuss the goings-on at Day 1 of DrupalCon Baltimore. Music: Drupalcon Baltimore (to the tune of Good Morning Baltimore) from the Prenote.

Categories: Blogs

CiviCRM Blog: CiviCRM Entity 2.0-beta7 Released

April 28, 2017 - 12:36pm

CiviCRM Entity 2.0-beta7 has been released.

Pick it up now at the Drupal.org Project Page

Changes since beta6:

Add Rules action Assign Contact to Group
Add Rules action Remove Contact from Group
Add Integration for IM entity
Add Integration for Website entity
Add integration for Contribution Recur
Add Rules event for CiviCRM Price Set Field 'After Successful CC Transaction'
CiviCRM Price Set Field , improved support for price fields with multiple checkboxes
Fix issues with CiviCRM Core Contribution Recur Views integration
Enable CiviCRM Entity Reference field on parent entity 'add', Inline Entity Form Single widget, for Contacts
Expose civicrm_world_region table to Views

Views Relationships:

  • Membership -> Membership Payment
  • Participant -> Participant Payment
  • Participant Payment -> Participant
  • Explicit Relationship from Address -> Country
  • Country -> World Region

Overhaul of CiviCRM Entity Inline, inline entity form widget FAPI generation and handling
Minor bug fixes for CiviCRM Entity, CiviCRM Price Set Field, CiviCRM Entity Discount, CiviCRM Entity Reference Field

 

CiviCRM Entity is close to its stable, non-beta release.  We've had fewer and fewer bug reports each release, and only 1 found in the main module since beta6. Unless something is broken, 2.0 will be cut next.

Development sponsored by Skvare

Thanks to all our contributors and users!

ToolsDrupalExtensionsRelease
Categories: Blogs

Pages