Have you ever try it out creating a views field template in Drupal 8 ? When I started working with Casper, I was trying to create a template base on a views field template and I notice few thingsÂ inusual. First, there is no longer theming information from the views UI level instead they encourage you to use theme_debug (https://www.drupal.org/node/2362413). SadlyÂ theme_debug does not show all the suggestion possible (https://www.drupal.org/node/2118743) and one of those suggestion is views field templates.Â
I have been Drupal for quite a while so I know my work around to write a template without a suggestions. So I wrote something like this views-view-field--frontpage--title.html.twig to be able to add wrapper to title of the views frontpage, without need of a preprocess function. From here I use kint to debug which variables are available at this template and I run into multiple issues. First issue was a server error similar to this ..Drupal\Core\Database\DatabaseExceptio More
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
gulp watch the development
Go to the subtheme folder
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
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.
In order to push education, we’ve needed to at times bend Drupal to our will.
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.
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.
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..
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.
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
- Lets add some checkboxes lunch options
- 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
- Define the type of data you want to store
- 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
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.
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.
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
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.
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 changMore
A couple of weeks ago, I spoke to the Oxford Drupal Users Group about behaviour-driven design. Here are my slides and notes, in case you're interested in what I talked about.
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.
Register today at https://www.fldrupal.camp!
DrupalEasy: DrupalEasy Podcast 168 - Spooning with a Fork (Jen Lampton, Nate Haug - Backdrop Update)
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
- Jen Lampton (jenlampton on drupal.org, jenlampton on github.com), co-founder Backdrop CMS and Drupal 8 core contributor.
- Nate Haug (quicksketch on drupal.org, quicksketch on github.com), co-founder Backdrop CMS and Drupal 8 core contributor.
- The next session of the 12-week Drupal Career Online course starts in March, 2016 - visit DrupalEasy.com/dco for all the details.
- Crawling the top 15,000 Drupal websites: 2016 edition blog post by Kristian Polso (Risse).
- Work on Migrate UI, frontend testing, bug fixes, and more for Drupal 8.1.0 blog post from xjm.
- Drupal: 15 years old and still gaining momentum blog post by Dries.
- Mike - Contact Storage module for Drupal 8.
- Ted - Scheduled Updates module for Drupal 8.
- Anna - How I Stumbled Upon the Internet’s Biggest Blind Spot.
- Nate - Support the Software Freedom Conservancy, 1-1 donation matching until January 31, 2016.
- Jen - Radix Layouts for Drupal for Backdrop.
- Online Drupal 7 Module Development - Learn Module Development Online.
- DrupalCamp New Jersey - January 29-31, 2016.
- Drupal Global Sprints 2016 - January 30, 2016.
- SANDCamp - February 24-27, 2016.
- DrupalCamp Utah - March 4-5, 2016.
- Florida DrupalCamp 2016 - March 5, 2016.
- MidCamp - March 17-20, 2016.
- Many, many Android volume control apps (still looking for one that works).
- 2015 tax return.
- After developing her first two Drupal projects.
The Drupal Song - written and performed by Jeff Robbins.Subscribe
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.