Planet Drupal

Subscribe to Planet Drupal feed
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 42 min 49 sec ago

INsReady: Containerize Zen Style-guide Driven Development

Tue, 16/02/2016 - 08:54

The latest version Zen 7.x-6.x adopted Style-guide Driven Development approach. For those who are not familiar with the Style-guide Driven Development, you should watch John Albin's presentation. The new aGov distribution theme is also built on top of Zen 7.x-6.x. Style-guide Driven Development is awesome, and the latest Zen 7.x-6.x will be released very soon. However, getting started with subtheming Zen 7.x-6.x can take a lot of learning. Particularly, if we compare to the previous Zen sub-theming:

  • The old zen requires: SASS and Compass, which also requires Ruby
  • The new zen requires: 494 Node.js modules and 1 Ruby module (yes, Ruby is still needed, at least for now, even we have Node.js)

In order to simplify the installation, Node.js module update, and overall process. I decided to put them in containers, therefore, I can use a few commands to take care of them all. On the other hand, because the development tools will be in containers, I will never worry about Node.js or other things running even if I am not doing the Zen subtheming work on this computer.

Below is my documentation, (if you are not familiar using Docker for Drupal development, please see this short tutorial, it's extremely easy: https://insready.com/en/blog/testing-new-drupal-8-installation-2-docker-...):

Zen 7.x-6.x-dev subtheme Node.js modules installation
Go to the subtheme folder

docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app node:5.6-slim npm install --unsafe-perm

gulp watch the development
Go to the subtheme folder

docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app insready/zen-subtheming ./node_modules/.bin/gulp watch

Notes: all the containers above for development tools are self terminated after you stop them. Because these containers don't need to be saved.

Happy Style-guide Driven Development!

Tag: Drupal PlanetZenSASSNode.jsDockerRuby
Categories: Elsewhere

Dries Buytaert: In memoriam: Richard Burford

Tue, 16/02/2016 - 05:09

It is with great sadness that we learned last week that Richard Burford has passed away. This is a tragic loss for his family, for Acquia, the Drupal community, and the broader open source world. Richard was a Sr. Software Engineer at Acquia for three and a half years (I still remember him interviewing with me), and known as psynaptic in the Drupal community. Richard has been a member of the Drupal community for 9+ years. During that time, he contributed hundreds of patches across multiple projects, started a Drupal user group in his area and helped drive the Drupal community in the UK where he lived. Richard was a great person, a dedicated and hard-working colleague, a generous contributor to Drupal, and a friend. Richard was 36 years young with a wife and 3 children. He was the sole income earner for the family so a fundraising campaign has been started to help out his family during these difficult times; please consider contributing.

Categories: Elsewhere

Drupal @ Penn State: Creating secure, low-level bootstraps in D7

Tue, 16/02/2016 - 03:06

In order to push education, we’ve needed to at times bend Drupal to our will.

Categories: Elsewhere

Drupal @ Penn State: Producing new applications in our network

Tue, 16/02/2016 - 03:06

This video shows the automation involved in creating a new tool in ELMSLN. A tool in ELMSLN = new install profile = new domain = new drupal distribution.

Categories: Elsewhere

Drupal @ Penn State: Youtube Uploader widget

Tue, 16/02/2016 - 03:06

This is a quick video I shot showing how you can use the YouTube Uploader widget to streamline your workflows of interacting with Drupal and Youtube. I’m demonstrating this in the context of ELMS Learning Network as we’re looking at utilizing this module as part of our ELMSmedia distribution. It’s pretty impressive what the 7.x-2.x version is able to do and without further ado; enjoy.

Categories: Elsewhere

Drupal @ Penn State: Another month of camps!

Tue, 16/02/2016 - 03:06

Before I say anything… DRUPAL 8 IS RC1!!! Great work to all the contributors that poured themselves into it to get it “done when it’s ready”. It’s looking like a really solid platform to build on down the road. Now..

Categories: Elsewhere

Mediacurrent: New Case Study: Travelport Reaches Destination Drupal

Mon, 15/02/2016 - 22:27

Mediacurrent partnered with Travelport to build a new fully responsive Drupal website that would deliver a stable platform to support future growth, a more fluid user experience to satisfy their customer base, and a digital strategy roadmap to help build their brand.

Categories: Elsewhere

Roy Scholten: An example of current inside-out Drupal UX

Mon, 15/02/2016 - 16:51

Drupal UX can be problematic. Many of the big conceptual issues have their roots in a user interface model that maps the UI directly to the underlying technical model. There is no translation made to map functionality to how people expect things to work. Currently, Drupal UI follows how the system works. Turning Drupal outside-in means making Drupal UI work like people expect it to work.

Example: adding fields

The capability to define different types of containers for your content is a core Drupal strength. For example, you could have an Event content type for your workshop or conference. Suppose lunch is included and you want to let people choose some options for lunch, like vegetarian, vegan, no preference, thanks but no lunch for me.

What people expect to do
  1. Lets add some checkboxes lunch options
  2. So that I can capture lunch preferences when people register for this event

People usually start from the specific form widgets they want to use (text field, date picker, select list, checkboxes) and (after realising out that those checkboxes don’t work automagically) then configure more specifically what those checkboxes should do: storing some pieces of data.

What Drupal asks you to do

  1. Define the type of data you want to store
  2. Define which user interface element to use for the input of this data

Drupal enforces a flow where you first have to think in more abstract data storage format terms. For this lunch options example, you first have to specify that you want to store a list of text items and only then do you get to choose “checkboxes” as the way to present these options.

This is a great example of “the UI is the application”, and turning Drupal outside-in means exactly that: finding ways to expose all the great functionality in a way that maps to people’s expectations. Otherwise, for many people the functionality might just as well not exist.

Tags: drupaluxdrupalplanetSub title: As a software, I need to know the data model so that I can provide a corresponding UI widget
Categories: Elsewhere

Drupal Aid: 3 Things You Should Hide In Your Drupal Site (Many of you aren’t hiding them)!

Mon, 15/02/2016 - 15:00

There are 3 things that Drupal can display without your knowledge. Before you launch any Drupal site you should make sure you address these items. These items may not always be a security risk. But you should at least be a good developer and take care of them – it shows you care and run a tight ship.

I’ll give you a few tips for why and how to hide these items. I’ve also included a free simple module for hiding the one which bugs me the most. You’ll be a better Drupal site builder if you check these items before you launch a site.

Read more

Categories: Elsewhere

OSTraining: Drupal 8: Internal Page Cache and Internal Dynamic Page Cache

Mon, 15/02/2016 - 14:29

Drupal 8 offers major advances over Drupal 7 in many areas, including caching. 

In Drupal 8, there are now two cache modules: Internal Page Cache and Internal Dynamic Page Cache. Do those two names sound confusingly similar? In that case, this blog post is for you.

In these three videos, Robert introduces us how Drupal 8's core caching systems work.

Categories: Elsewhere

Janez Urevc: Time to submit Summer of code proposals!

Mon, 15/02/2016 - 08:19
Time to submit Summer of code proposals!

Google Summer of Code is a global program focused on bringing more student developers into open source software development. Students work with an open source organization on a 3 month programming project during their break from school.

Drupal is applying to be part of the program in 2016 too. Our involvement in the program was extremely successful in the past. Some of the most prominent members of the community were introduced to Drupal through the Summer of code.

We are currently in the phase of collecting project ideas for 2016 edition of the program. There are few more days left to submit ideas. I just added my proposal today and you should do the same.

slashrsm Mon, 15.02.2016 - 08:19 Tags Drupal Media Summer of code Enjoyed this post? There is more! Drupal community, please meet Chandan Singh Summer of code! Progress of Entity embed module in GSoC 2014

View the discussion thread.

Categories: Elsewhere

DrupalCon News: Compelling business stories wanted for Drupalcon New Orleans

Mon, 15/02/2016 - 05:32

The Business track at Drupalcon New Orleans aims to fill the dual role of highlighting how Drupal can solve business problems as well as how members of the community are growing and scaling their own businesses.

The Drupal community has a long history of collaboration and sharing our collective experiences, especially when we all gather at Drupalcon. Together we can help each other get better at selling Drupal as a powerful solution, scaling our teams and improving our processes. We can also share our Drupal success stories, to highlight to others evaluating Drupal.

Categories: Elsewhere

Darryl Norris's Blog: Drupal 8 Contrib Releases: Bootstrap Layouts, Light Skeleton and Casper

Mon, 15/02/2016 - 00:59

For the past few months I have been playing around with few Drupal 8 projects, which they all are on working state and they are been hosted at Drupal.org. However, I did not consider them all ready for productions meaning they was not polished enough. Here you have three projects that now have a new release and what has changed. Bootstrap Layouts : This project is a combination of Display Suite Bootstrap Layouts and Panels Bootstrap Layouts for Drupal 8. I started this project back in November just for fun and never blog about it and suddenly the project got some activity. Currently this project have over 91 installed and I got few people opening issues about the project. I had this project on a dev release since November because there was some indentation minor bugs, missing templates and images. This week I decide to do a major refactor on entire project structure. Also, thank for @emptyvoid , which provide all the icons (images) for this project with a patch. Because all these chang

More
Categories: Elsewhere

DrupalEasy: DrupalEasy is Proudly Sponsoring Florida DrupalCamp (again!)

Sun, 14/02/2016 - 18:56

Florida DrupalCamp is coming up on March 5th, and DrupalEasy is happy to be involved as a sponsor and organizer. This year's event will be better than ever, with three amazing featured speakers flying in from three different countries! Karen Stevenson, Morten DK, and Jesus Manuel Olivas will be presenting double-length sessions on the lastest Druapl 8-related topics.

  • Morten DK is a major contributor to Twig in Drupal 8, and has been fighting extraneous markup in Drupal for years. He will be speaking on Drupal 8 theming.
  • Karen Stevenson is the Director of Technology at Lullabot. She is a prolific contributor to Drupal, including writing much of the code within CCK, Date, Calendar, and much more. She will be speaking on Drupal 8 changes and site-building.
  • Jesus Manuel Olivas is a Solutions Engineer at FFW, and is the creator of Drupal Console (used to generate boilerplate code, interact and debug Drupal 8). He will be talking about development in Drupal 8.

In addition, we'll have multiple tracks full of sessions from some of the brightest minds in the southeast United States (and around the world!) Sessions range from our full-day beginner course presented by OSTraining to in-depth sessions about module development, site building, theming, project management, and digital strategy. Sessions are still being accepted.

Coming in from out of town? There is a hotel block set up down the street from the event. In addition, Pantheon is once again sponsoring our after-party.

Register today at https://www.fldrupal.camp!

Categories: Elsewhere

DrupalEasy: DrupalEasy Podcast 168 - Spooning with a Fork (Jen Lampton, Nate Haug - Backdrop Update)

Sun, 14/02/2016 - 18:56

Direct .mp3 file download.

Drupal fork Backdrop co-founders Jen Lampton (jenlampton) and Nate Haug (quicksketch) joined Mike, Anna, and Ted to discuss the current state of Backdrop, its (surprising) relations with the Drupal community, Drupal 8, as well as some current Drupal news and our picks of the week!

Interview DrupalEasy News
  • The next session of the 12-week Drupal Career Online course starts in March, 2016 - visit DrupalEasy.com/dco for all the details.
Three Stories Sponsors Picks of the Week Upcoming Events Follow us on Twitter Five Questions (answers only)
  1. Equestrian.
  2. Many, many Android volume control apps (still looking for one that works).
  3. 2015 tax return.
  4. Koala.
  5. After developing her first two Drupal projects.
Intro Music

The Drupal Song - written and performed by Jeff Robbins.

Subscribe

Subscribe to our podcast on iTunes or Miro. Listen to our podcast on Stitcher.

If you'd like to leave us a voicemail, call 321-396-2340. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or corrections. If you'd rather just send us an email, please use our contact page.

Categories: Elsewhere

DrupalEasy: Drupal 8 paths inconsistencies

Sun, 14/02/2016 - 18:56

While Drupal 8 has plenty of things to be excited about, there are a few "gotchas" that site-builders need to be aware of as they build out sites. I found the first thing that I had trouble with was the way that Drupal 8 isn't very consistent (yet?) with the way it handles paths. In Drupal 7 and before, anytime you needed to enter a path, it (almost?) never started with a leading "/". For example, need to add an new alias for a node? You would enter "my-new-node", not "/my-new-node".

With Drupal 8, a leading slash is required for path aliases. Unfortunately, leading slashes are not required everywhere. For example, in Drupal 8 page displays in Views do not require a leading slash. Neither do contact form post-submit redirects (they actually require something like "entity:node/743"!) But, block visibility settings require the leading slash. In most cases, the help text indicates when the leading slash is necessary, so it helps to pay attention!

Categories: Elsewhere

Pages