Drupal

Drupal.org blog: What's new on Drupal.org? - August 2016

Planet Drupal - 13 September 2016 - 7:44am

Read our Roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community.

Our latest update about Drupal.org comes as the Drupal Association has moved out of our central office in Portland, OR, and gone to an all-distributed team. A move of that sort always creates some upheaval but amidst the move we've continued to push forward on several initiatives to improve Drupal.org.

At the same time we've been pushing forward towards DrupalCon Dublin at the end of September- and we hope to see you there!

Drupal.org updates A new home page, coming soon

As we recently previewed on the Drupal.org blog, some changes are coming to the home page. We're building some new editorial tools to allow for more flexibility with the home page content, and to enable an increased focus on the adoption journey for visitors to Drupal.org. You'll see styles reminiscent of the Drupal 8 release announcement pages, and a continued modernization of theme.

The launch of the new home page is coming soon, but as a precursor we've been making some small improvements. The new user menu which we launched in July has been updated for better keyboard accessibility, and to show a user picture as an indicator that a user has logged in. We've also moved the search feature into an icon in the top navigation. This gives us more flexibility with the header, which can be customized per-page type or per-section with the overall site search box still being present. For example, the header in the new documentation section features search box specific to this particular section, so while you are there you can search for other documentation without having to go through the full-site search and then filtering down. Lastly, we've merged the 'Get Started' and 'Download & Extend' pages. 90% of the content on these pages was duplicated with each other - and the new page presents a cleaner experience with the essential details needed for getting started with Drupal.

The new front page is beginning editorial review, with the help of DA staff, a marketing task-force from the Drupal Association board, and a few key community members.

We've also just launched our fall membership campaign, and we've used this opportunity to beta test some of these new editorial tools to build the campaign landing page. Your support makes our work possible. Thank you!

Documentation

There's some news to report on the documentation front as well. Firstly, as mentioned above, we've updated the header of the documentation section to default to a documentation-specific search box. While not so important for other areas of the site,, we want to preserve and improve the highly-visible, in context search for Documentation.

We've also made some updates to the new system for Documentation maintainers. Authors of new documentation guides will now automatically become maintainers of those guides and automatically 'follow' the guide content so that they will receive notifications of activity in that guide. Any user following a guide can modify notifications settings at any time from their user profile. Within the notification settings a user can select their prefered method of receiving updates - via email or via their tracker page.

Tvn has continued to spearhed the migration of documentation from the old book pages, to our new documentation system.

We have completed the migration of the majority of the 'general' documentation. While that is done, there is still a lot of work to do to make the documentation content better using the new tools that are now available.

We need community volunteers to take on small sub-sets of documentation to clean them up post-migration and to maintain going forward.

If you don't want to commit to maintaining a guide, you can still help out by doing some of the pending tasks for any of the documentation pages.

Lastly, if any Drupal developers are interested in contributing code to the new documentation system to clean up a few minor bugs and features, please contact tvn. And if you are going to be at DrupalCon Dublin, consider joining us at the sprints!

Quality of Life Improvements

We also took the time in August to make a few quality of life improvements, both for our end users, and for our own team. Firstly, we've made it easier than ever to download a copy of your invoice for DrupalCon. Any user can now log into events.Drupal.org and any time, go to "My Account" -> "Orders" and download a pdf of their invoice for any past event. If your company is sending you to DrupalCon, this makes the process easier than ever. (And if they're not, here are some tools to convince your boss!)

Behind the scenes, we've made some additional improvements to our sophisticated spam prevention system, which focuses on preventing bad actors from even registering on Drupal.org in the first place. For those few bad actors that do get through, the system is also tuned to allow us to prevent those users from making multiple account registrations, as one of the primary methods for targeting Drupal.org in the past has been to make a large number of 'sleeper' account registrations that can be later updated with spam links. Unfortunately, on rare occasions this tool can make it difficult for legitimate users to register an account, so we've updated the system with a whitelisting system that allows legitimate to register, without opening the floodgates to the bad actors.

Infrastructure Virtualization and better Drupal.org dev sites

On the infrastructural side we've been focused on improving the maintainability, stability, and portability of our infrastructure with our smaller engineering team. In particular we've been focusing on virtualizing all the components of our infrastructure.

In August in particular we completed the virtualization of pre-production services. We've optimized the snapshotting and whitelisting process that allows us to create staging and development environments to make that process more efficient and easier to manage. We've also replaced our drupal.org dev site architecture with a new architecture that is no longer vulnerable to docker-fs faults which have multiple times resulted in data loss on our development environments. Drupal.org contributors who've been affected by dev site fragility should find dev sites to be much more robust moving forward.

Community Initiative Updates

Finally, here are some updates on our active community initiatives. Community initiatives are a collaboration; with dedicated community volunteers building improvements to Drupal.org with the architectural guidance and oversight of the Drupal Association engineering team.

Drupal 8 User Guide

The Drupal.org user guide is an effort lead by jhodgdon and a number of other contributors to create a highly produced, tightly editorially controlled guide to using Drupal 8. This user guide has been written to the standard of an industry publication, and uses a custom editorial workflow with git + asciidoc. Jhodgdon has been building out functionality to publish the user guide to a Documentation guide on Drupal.org.

Security

A few interrelated initiatives are in progress to improve how information about project security is displayed on Drupal.org. Mlhess has been working on a new security advisory content type for Drupal.org, which will allow security advisory content to be more easily related to project releases, among other things.

With the input and collaboration of quite a few community members, including the security working group, we've also deployed an update to project pages.

This update adds a shield icon next to stable releases. This shield icon indicates which releases are covered by the security advisory policy. This small change is also part of the groundwork for a project application revamp.

Community initiatives are not work that the Drupal Association can tackle on our own. Our mandate requires us to remain focused. That said, whenever the community has arrived at a strong plan and individual volunteers are ready to contribute code, the engineering team can provide architectural advice, code review, and deployment support.

———

As always, we’d like to say thanks to all the volunteers who work with us, and to the Drupal Association Supporters, who made it possible for us to work on these projects.

If you would like to support our work as an individual or an organization, consider becoming a member of the Drupal Association.

Follow us on Twitter for regular updates: @drupal_org, @drupal_infra

Categories: Drupal

OSTraining: 3 More Major Features in Drupal 8.2

Planet Drupal - 13 September 2016 - 7:32am

In early August, we wrote about 7 improvements you'll see in Drupal 8.2.

During the four weeks since that post, the Drupal team has added more major features. Drupal 8.2 is now in the release candidate stage, so the features are finalized. Now is a good time to download and test.

You can read the 8.2 changelog for a rundown of all the changes, but in this blog post we'll introduce you to three more big improvements.

Categories: Drupal

Toolbar Themes

New Drupal Modules - 13 September 2016 - 6:31am

Provides themes for the Drupal 8 Toolbar module and a way to apply these to your site.Modules and Theme can provide new themes (to be documented shortly) simply by declaring in a yml file.

Three themes are provided by the Toolbar Themes module:

  1. Toolbar Mini - a miniture version of the standard Drupal toolbar
  2. Admin Menu - a riff on the old D7 Admin menu
  3. Seven - a light coloured menu with colors complimentary to the Seven admin theme.

Additional feautures:

Categories: Drupal

Valuebound: Most Commonly Used hooks in Drupal 7

Planet Drupal - 13 September 2016 - 6:28am

Before I begin with hooks, I am sure that you must be aware of the Drupal hook system. What is hook? How modules interact with the core code of Drupal? How hooks make it possible for a module to define pages, content, bundle, entity, menu, region, table, url etc? In this article I will be re-introducing you to the hooks and if you are looking for more information on the hook system then my suggestion is to go through Understanding hook system for Drupal module

First, I would like to give a small summary on hooks. A hook is a way to place a piece of your own custom code to be run by Drupal. Using hooks, you can ask Drupal to run a piece of code when a node is viewed/edited/deleted. hooks are conceptually related to method. They…

Categories: Drupal

Zivtech: 3 Things Junior Devs Should Know About Writing Drupal PHP

Planet Drupal - 13 September 2016 - 6:00am
PHP can be challenging to learn, especially if you’re learning Drupal at the same time. Three things stood out to me while I learned how to write PHP within Drupal, and I’m hoping by highlighting them, it might help other junior developers.

I’m going to use a snippet from a basic Drupal form with a submit handler (see code for the entire form here). It’s an example of code you will see often, since Drupal re-uses their form API for consistency in form processing and presentation. This particular code snippet adds a fieldset called ‘name’ to the form.
/** * Returns the render array for the form. */ function my_module_my_form($form, &$form_state) { $form['name'] = array( '#type' => 'fieldset', '#title' => t('Name'), '#collapsible' => TRUE, '#collapsed' => FALSE, ); Three items within just these few lines seemed strange to me starting out. Function t '#title' => t('Name'), You’ll see this bugger everywhere! Of course I know how to write a string, but what is the t for? Straight from the Drupal 7.x API:

“Translates a string to the current language or to a given language.”

As explained here, each string within function t can be translated through the Drupal UI, which is great for the accessibility of your site. All strings need to be passed through this function, but it’s worth noting that content translations are actually handled elsewhere (see the Internationalization module for more information).

& - Passing by reference function my_module_my_form($form, &$form_state) { } As I started to write functions in PHP for Drupal sites, I noticed that so many of the arguments had ampersands in front of them. So what is that about?
From the PHP Manual:

“You can pass a variable by reference to a function so the function can modify the variable. The syntax is as follows:”

<?php function add_one_to(&$var) { $var++; } $a=5; add_one_to($a); // $a is 6 here ?>

In my function my_module_my_form, I want to modify the variable’s $form_state. This variable is used to retrieve the values entered from the user in the form, so it follows that I probably want that variable to be modified in order to store those entries. It’s worth noting, however, that by default, objects are copied before they are passed to a function. From php.net:

“When an object is sent by argument, returned or assigned to another variable, the different variables are not aliases: they hold a copy of the identifier, which points to the same object.”


This acts as a safety net by ensuring you don't change an object by mistake. But sometimes the purpose of a function IS to change one of the objects passed (like in our form example), and this is when you pass by reference.

# Properties $form['name'] = array( '#type' => 'fieldset',

The form API is robust in Drupal, and can be used over and over again. It would be reasonable, then, for the same properties to exist for certain variables, like $form (see complete list of properties for $form in the Drupal 7.x API). So when you’re setting the properties of your variable, the ‘#’ denotes that ‘type’ is a property, and so is ‘title’, etc. Not every property needs to be set, but you’ll see the major ones being defined often.

I hope I was able to demystify some of these conventions - the learning curve of Drupal is steep, and sometimes you just need to break it down into manageable pieces. I’d love to hear about other Drupal or PHP conventions that were odd to you when you started out.

A special thanks to Dan Zinkevich for helping to edit and clarify this post by lending his expertise!

Categories: Drupal

Annertech: Meet the Annertechies You'll Meet at DrupalCon

Planet Drupal - 13 September 2016 - 4:39am
Meet the Annertechies You'll Meet at DrupalCon

Annertech will be descending upon DrupalCon with (nearly) our full team of "Annertechies". So much so that there will be more Annertechies in attendance than all other people from Irish agencies combined. With that kind of showing, we thought we'd introduce ourselves and let you get to know us.

Categories: Drupal

Scald gallery - owlcarousel integration

New Drupal Modules - 13 September 2016 - 4:07am

This module provides integration between Scald gallery module and owlcarousel module. In general it creates scald player that can be used together with existing scald contexts. Given context can be used to create gallery that use owlcarousel library for producing slide shows in WYSIWYG editors for example ckeditor.

How to create slideshow?

Categories: Drupal

Valuebound: 7 Things you need to know before expanding to a Multilingual Website

Planet Drupal - 13 September 2016 - 4:03am

For a Digital Media website, expanding business to another language is a quite challenging and tough task to deal with. It makes you re-evaluate your CMS . A lot of questions come forward while you take the decision. Firstly Why? But now that you know you want to translate, you think, What all should we translate? How will we handle pages in default language? What components do we add? What services to use and how to maintain pages?

A major chunk of content these days is written, managed and stored with the help of a CMS or Content Management System (CMS). Selecting the right CMS at the beginning of expansion into a multilingual site ensures that the website and its contents are effectively managed and displayed right from the beginning.

# 1 What  is the…
Categories: Drupal

OpenLucius: Update OpenLucius | September 2016

Planet Drupal - 13 September 2016 - 2:04am



We've updated OpenLucius, a Drupal social intranet / work management system. This is the most important new stuff we built for you:

1. Board

We added a new app: Board. In this Kanban board you can collaborate on tasks more easily and efficient:

Categories: Drupal

OpenLucius Board

New Drupal Modules - 13 September 2016 - 1:09am

In this Kanban board for OpenLucius you can collaborate on tasks more easily and efficient:

  • Inline add and edit tasks (cards).
  • Drag and drop to change status.
  • Drag and drop to change priority: highest placed task has highest priority.
  • Inline changing of due date.
  • Inline changing of assignee.
  • View task in modal / pop-up, so you’ll keep the board in the background.
Categories: Drupal

DrupalCon News: Drupal in Ireland - Project 2

Planet Drupal - 13 September 2016 - 1:00am

As part of our series of showcasing what Drupal is doing in Ireland, we are happy to bring you another awesome online experience that Drupal has created.  

Categories: Drupal

Dewy: Stop The Update Module From Scaring Your Clients And Users

Planet Drupal - 12 September 2016 - 11:00pm
The update module provides an important view of what modules are out-of-date and insecure on your Drupal site. But to your users and clients, the list is confusing, alarming, and the more they see these warnings before you can get to them, the more risk to your reputation.
Categories: Drupal

Nocaptcha Recaptcha

New Drupal Modules - 12 September 2016 - 9:42pm

Nocaptcha Recaptcha integrates the standard captcha module with the nocaptcha service provided by google.

On websites using this new API, a significant number of users will be able to securely and easily verify they’re human without actually having to solve a CAPTCHA. Instead, with just a single click, they’ll confirm they are not a robot.

Categories: Drupal

LinkedIn OAuth login

New Drupal Modules - 12 September 2016 - 2:43pm
Categories: Drupal

Colan Schwartz: User-friendly encryption now in Drupal 8!

Planet Drupal - 12 September 2016 - 1:54pm
Topics: 

The problem with most encryption strategies nowadays is that they require third-party software and/or services, require maintenance of additional keys and/or secrets, and provide an awful user experience.

Earlier this year, I started wondering why we couldn't simply encrypt data with pre-existing secrets, the passwords users already have for logging into their Drupal sites. They shouldn't have to deal with public and private keys and other cryptographic details. So I did some research, and was happy to discover that the security model is already in existence. The folks at ownCloud have not only published it (Data Encryption Model 1.1 and 2.2); they've already implemented it in their product. What's even better is that the product is also written in PHP like Drupal, and has an open-source license. So the ideas and code can be reused.

Not too long after I made this discovery, the Drupal community was looking for project ideas for Google's Summer of Code (GSOC). So I added mine to the list. There were several students interested in the topic, and wrote proposals to match. Talha Paracha's excellent proposal was accepted, and he began in earnest. With Adam Bergstein (nerdstein) and I mentoring him, Talha successfully worked though all phases of the project. For details, please see his blog posts.

Now that GSOC 2016 has come to a close, we have a full project release for the Pubkey Encrypt module. It's currently in beta, awaiting community review before we publish a production-ready version. We've included an architecture document, user stories, and usage documentation. There's also a video! Please take the time to experiment with the module, and create tickets for any issues that you find.

At the time of this writing, only field data can be encrypted via the Field Encryption module. The File Encryption module is still in development, but as soon as it's released, it should work with Pubkey Encrypt as well.

This article, User-friendly encryption now in Drupal 8!, appeared first on the Colan Schwartz Consulting Services blog.

Categories: Drupal

Media entity video

New Drupal Modules - 12 September 2016 - 1:21pm

Local video files integration for Media entity module.

Categories: Drupal

Palantir: Dublin DrupalCon, Here We Come!

Planet Drupal - 12 September 2016 - 9:00am
Dublin DrupalCon, Here We Come! brandt Mon, 09/12/2016 - 11:00 Alex Brandt Sep 12, 2016

See us speak at Dublin DrupalCon September 26 - 30, 2016.

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

Sign up for our newsletter.

If there’s any event that gets us excited, it’s DrupalCon. Dublin DrupalCon is approaching in two short weeks, and we will have three Palantiri in attendance speaking about Drupal and its community values. Check out the full list of our presentations below. We can’t wait to see you there!

Contextual Configuration in Core: Do We Want It and Can We Do It? By Ken Rickard
Tuesday, September 27, 2016
3:45 - 4:45pm
Room: Liffey Meeting 4

Why you shouldn’t miss it:

  • If you need to change site variables within a specific context, such as a group, a domain, or a workspace, building a UI is currently blocked by core limitations.
  • For instance, do you need to change the timezone of your site based on that language of your users? Right now, you have to do that with YAML files.
  • We’ll explore these limitations, discuss possible solutions, and try to decide if it’s important enough to fix.

 

Improving the Drupal Contributor Experience by George DeMet
Tuesday, September 27, 2016
10:45 - 11:45am
Room: Liffey Meeting 3

Why you shouldn’t miss it:

  • George and other members of the Drupal Community Working Group (CWG) will be exploring some of the root causes of contributor frustration and burnout in the Drupal community and discuss some possible solutions.
  • The session will talk about how things like formalized mentorship programs, leadership training, and better community conflict resolution resources can help improve the experience of contributing to Drupal for everyone.
  • Attendees will gain insight into the kinds of issues that people experience when contributing to Drupal and other open source projects, but also learn about some important non-technical tools and techniques that can help improve communication and make it easier for people to become more engaged community members.

 

Workbench for Drupal 8 by Ken Rickard
Thursday, September 29, 2016
10:45 - 11:45am
Room: Liffey Hall 1

Why you shouldn’t miss it:

  • Workbench makes building complex editorial workflows easy.
  • Learn how to select and configure the components that make up Workbench.
  • Workbench Moderation has moved into Drupal core. Find out what that means for your project.

 

Midcamp Madness and Planning Human-Centered Events by Avi Schwab
Thursday, September 29, 2016
2:15 - 3:15pm
Room: Liffey Meeting 4
Why you shouldn’t miss it:

  • Avi will channel the knowledge of the whole MidCamp organizing team to share the special sauce that makes MidCamp one of the premier Drupal camps in the country.
  • Conferences often focus more on the code than the people who make it. Whether you are an organizer or an attendee, we’ll try to help you feel more like a human being at any event.
  • A wealth of Drupal knowledge awaits those who seek to find it. Learn how we achieve some of the fastest video turnaround and highest recording rate of any camp out there.

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

Sign up for our newsletter.
Categories: Drupal

Acquia Developer Center Blog: Multisite Governance, Site Delivery, and Other Issues Related to Managing Many Sites: Part 4

Planet Drupal - 12 September 2016 - 7:35am

This is Part 4 of an interview with Will Eisner, Senior Director, Product at Acquia. Will’s primary focus is on Acquia Cloud Site Factory, which helps organizations create and manage many sites, from a dozen to thousands.

Tags: acquia drupal planet
Categories: Drupal

Migrate source XLS

New Drupal Modules - 12 September 2016 - 5:57am

A source migrate plugin, to allow us to use XLS and XLSX files as a migration source.

Requirements:
  • Drupal 8.1.x
  • PHPExcel library(>=1.8.1)
  • Migrate module (>= 8.1)
Usage:

To use this plugin you have to:

  • install PHPExcel library via Composer
  • install this module via default installation process

Next point it's specifying a source plugin in your migration
and all it's params:

Categories: Drupal

Drupal Association News: Membership is connection

Planet Drupal - 12 September 2016 - 5:00am

Today we launch the membership campaign focused on the Drupal Association Community Cultivation Grants program. Association members fund grants to kickstart community-strengthening projects around the world.

The campaign runs through October 28 and our goals are 265 new members signed up and $10,918 in revenue. These are a 10% increase over the same period of time last year.

We'll have a banner on drupal.org throughout the campaign and a landing page. In it, you'll read how grant recipients feel connected in the community.  Their pride shows in their words about work on Drupal camps and a traveling roadshow. Thanks to Andrey, Ricardo, Martha, Ivo, and Tom for sharing stories.

You can help make this campaign a success. Join the Drupal Association and share your story. How has community connected you with people, resources, and success? Tell your story to the Drupal community members and open source advocates you know.

Spread the word

Personal blog tags: Membershipcommunity cultivation grants
Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal