Planet Drupal

Syndicate content - aggregated feeds in category Planet Drupal
Updated: 11 min 23 sec ago

Acquia Developer Center Blog: Meet Paul Johnson, the face behind @drupal, #celebr8d8, and more

Mon, 11/07/2016 - 18:51
div class=field field-name-field-podcast-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src= width=340 height=260 alt=Drupal social media lead, Paul Johnson, and Jeffrey A. quot;jamquot; McGuire talk Drupal social media, community, and more. title=Drupal social media lead, Paul Johnson, and Jeffrey A. quot;jamquot; McGuire talk Drupal social media, community, and more. //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedp I sat down with Drupal Social Media Lead, Paul Johnson at Drupal Camp London 2016, a few weeks after DrupalCon Asia in Mumbai. Paul runs the official community social media accounts on Twitter and elsewhere. I feel Paul is a kindred soul, since he and I both love highlighting and celebrating the Drupal community's stories and achievements. /p p The @drupal Twitter account alone has more than 65 thousand followers and Paul uses his powers for good. I get so much satisfaction out of it. There's nothing I like more than to hear that it's made a difference to somebody, or I've heard something and made other people aware of it privately and that's maybe solved a problem. Social media is used for quite a lot of things ... It's not just a marketing channel. /p h2 Our conversationbr //h2 piframe width=640 height=360 src= frameborder=0/iframe/p h2 Follow Drupal on social media!br //h2 p Here are the accounts Paul runs: /p ulliTwitter ulliDrupal a href= /li liDrupalCon a href= /li liDrupalCon Europe a href= /li liDrupalCon North America a href= /li liDrupalCon Asia a href= /li /ul/li liFacebook a href= Drupal group/a /li liLinkedIn a href= group/a /li /ulp Here is the a href= Association Social Media Request Form/a that Paul mentions during our conversation. /p p And here is the full, a href= Drupal social media directory/a. /p h2 Mentioned in the conversationbr //h2 ulli a href= and Paul's blog about how the campaign came together: a href= Drupal 8 - how it was done/a /li li a href= Digital/a /li li a href= Ormond Street Hospital/a Drupal site /li liDrupal 8 release podcasts with Dries Buytaert ulli a href= 1 - Drupal 8 Release amp; Happy Birthday Dries Mega Episode!/a /li li a href= 2 - Drupal 8 Release amp; Happy Birthday Dries Mega Episode!/a /li li a href= 3 - Drupal 8 Release Mega Episode Bonus Behind the Scenes!/a /li /ul/li /ulh2 Celebrate D8!br //h2 piframe width=640 height=360 src= frameborder=0/iframe/p h2 Images used in the podcast videobr //h2 ullia href= - a href= /li lia href= - a href= /li lia href= - a href= /li li a href= - a href= /li /ul/div/div/divdiv class=field field-name-field-podcast-audio field-type-file field-label-hiddendiv class=field-itemsdiv class=field-item evenaudio controls=controlssource src= type=audio/mpeg //audio/div/div/divdiv class=field field-name-field-podcast-series field-type-taxonomy-term-reference field-label-inline clearfixdiv class=field-labelPodcast series:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/podcast-series/drupal-8 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal 8/a/div/div/divdiv class=field field-name-field-skill-level field-type-taxonomy-term-reference field-label-inline clearfixdiv class=field-labelSkill Level:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/skill-level/beginner typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Beginner/a/divdiv class=field-item odda href=/skill-level/intermediate typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Intermediate/a/divdiv class=field-item evena href=/skill-level/advanced typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Advanced/a/div/div/div frontpage posts: Drupal Accepted into Google Code-In 2016

Mon, 11/07/2016 - 18:11
pProud to announce that Drupal was officially accepted to participate in Google's Code-In 2016 contest. More info @ a href= title= pAt this point, Drupal needs mentors. Please contact me directly if interested in mentoring a few tasks or many tasks over next few months. We need all the help we can find. Tasks for GCI are meant to be easier for students ages 13-17. Amount of effort to mentor a few tasks is actually easy and enjoyable./p pNot interested in mentoring, but have tasks for students? Do you want someone to write/test patches or create video tutorials for your module? Ping me for access to our task spreadsheet and add as many tasks as you want./p pChat with us in real time on IRC @ Freenode in #drupal-google/p

Evolving Web: Using Configuration Management and Git in Drupal 8

Mon, 11/07/2016 - 15:55
a href= img src= width=220 height=146 alt=How to export and track Drupal 8 configuration on Git typeof=Image class=img-responsive //apDrupal 8 a href= Managment/a (CM) is a killer feature for a web Content Management System (CMS). When setting up a Drupal site, we spend a lot of time on site configuration: Roles, Permissions, Content Types, Menus, Vocabularies, etc. In most CMS's, all these changes are stored in their databases, making it hard to deploy, track, reuse and rollback important changes./pa href= hreflang=enread more/a

Mediacurrent: Dropcast: Episode 25: The Good, The BadCamp and The Ugly

Mon, 11/07/2016 - 14:48
img typeof=foaf:Image src= width=200 height=152 / p dir=ltrRecorded October 26th/p p dir=ltrThis episode we are all back in the ‘studio’ to talk about the great time most of us had at BADCamp the weekend prior. Ryan didn’t go so he won’t have much to say, but he will of course have his Final Bell, along with some Blog Mentions, Drupal News and a variety of failed humor./p

Mediacurrent: Habitat for Humanity launches new website in Drupal 8

Mon, 11/07/2016 - 14:38
img typeof=foaf:Image src= width=200 height=152 alt=Mediacurrent launches new Drupal 8 site for Habitat for Humanity title=Mediacurrent launches new Drupal 8 site for Habitat for Humanity / pHabitat for Humanity wanted to explore new ways to further highlight volunteer opportunities, broaden international reach, increase donations, and build an engaging desktop and mobile presence through its website, Habitat undertook a new digital and content strategy to better help users find the information they are looking for to achieve these goals. The new recently was launched using Drupal 8 as its content management system./p

Annertech: Things I Learned from the DrupalTwig Slack: Volume 2

Mon, 11/07/2016 - 14:15
span class=field field-node--title field-name-title field-type-string field-label-hiddenThings I Learned from the DrupalTwig Slack: Volume 2/span div class=field field-node--body field-name-body field-type-text-with-summary field-label-hidden div class=field-items div class=field-itempWelcome to Volume 2 of my adventures in learnings from the a href= target=_blankDrupalTwig Slack/a, a resource that continues to be the best source of (frontend) knowledge for Drupal. Again, if you haven't joined, do so. a href=/blog/things-learned-drupal-twig-slack-volume-1(Volume 1 is here.)/a/p pAnd without further ado, here's some things I've learned (or helped others to learn):/p/div /div /div - Thoughts: Drupalcon - My First Encounter

Mon, 11/07/2016 - 12:05
p dir=ltr /p p dir=ltr /p p /p

Palantir:'s Guide to Digital Governance: Organization

Mon, 11/07/2016 - 04:09's Guide to Digital Governance: Organization/span a href='s Guide to Digital Governance/a spanspan lang= about= typeof=schema:Person property=schema:name datatype= xml:lang=brandt/span/span spanSun, 11/06/2016 - 21:09/span Scott DiPerna time datetime=2016-11-07T12:00:00ZNov 7, 2016/timeimg src= width=1300 height=731 alt=Illustrated collage of website icons typeof=foaf:Image /div class=lede pThis is the seventh installment of’s Guide to Digital Governance, a comprehensive guide intended to help get you started when developing a governance plan for your institution’s digital communications./p /div In this post we will cover... ulliWhy organization is important to site visitors/li liQuestions you should consider regarding your main site and subsites/li liSome tools for creating good test-driven information architecture/li /ulsection class=ctah3 class=cta__title /h3pWe want to make your project a success./p span class=cta__link a href='s Chat./a /span /sectionpA website’s organization is one of the most important factors in determining how effective and useful the site is for its visitors. Sites that are well-organized, in a manner that visitors intuitively understand, will be more effective and useful than those which aren’t. Therefore, it is important to define for your institution who will have the authority and responsibility to determine your website’s organization, and how they will make those decisions./p pHere are some questions to consider with regard to main websites and subsites within the main site./p h3Main Website/h3 ulliWho determines the overall organizational hierarchy of the main website?/li liWho determines the top-level menu options? How are those decided?/li liWho determines the subsequent levels of navigation, order, labeling, etc.? How are those established?/li liWho determines other navigational structures, such as utility menus, topic-based menus, etc.?/li liAre there site-wide taxonomies to be maintained? Who determines and edits those?/li liWhat role does usage data, analytics, and user-testing play in those decisions?/li liAre there limits to the size, quantity, or depth of navigation?/li liAre there any site-wide standards for how navigation and sub-navigation are displayed?/li liIs there a process for addressing concerns or proposed changes to the site’s organization?/li liWho has the ability to make changes to the website’s overall structure?/li liIs there a review or approval process that needs to be followed?/li /ulh3Subsites/h3 ulliWho determines the organizations of sub-sites within the larger website?/li liAre there any guidelines or services for website owners who must create their own site organization?/li liAre there limits to the size, quantity, or depth of navigation?/li liAre there any site-wide standards for how navigation and sub-navigation are displayed?/li liAre there any site-wide standards for where navigation and sub-navigation are displayed on sub-site pages?/li liAre there rules for the labeling of navigation?/li liAre there sub-site specific taxonomies? How are those determined and edited? Must they conform to any site-wide standards or rules?/li /ulpThese questions cover only the definition of responsibility surrounding website organization, which presumes that you have good information architecture in place already. For more information on creating good, test-driven information architecture, a href= Workshop/a has both advice and tools for conducting your own a href= sorts/a (a href= and a href= “tree” tests/a (a href= We use these tools regularly in our work./p p /p blockquote pThis post is part of a larger series of posts, which make up a Guide to Digital Governance Planning. The sections follow a specific order intended to help you start at a high-level of thinking and then focus on greater and greater levels of detail. The sections of the guide are as follows:/p /blockquote ollia href= at the 10,000ft View/a – Define the digital ecosystem your governance planning will encompass./li lia href= and Platforms/a – Define all the sites, applications and tools that live in your digital ecosystem./li lia href= – Consider who ultimately owns and is responsible for each site, application and tool./li lia href= Use/a – Establish the fundamental purpose for the use of each site, application and tool./li lia href= and Permissions/a – Define who should be able to do what in each system./li lia href= – Understand how ownership and permissions should apply to content./li liOrganization – Establish how the content in your digital properties should be organized and structured./li liURLs – Define how URL patterns should be structured in your websites./li liDesign – Determine who owns and is responsible for the many aspects design plays in digital communications and properties./li liPersonal Websites – Consider the relationship your organization should have with personal websites of members of your organization./li liPrivate Websites, Intranets and Portals – Determine the policies that should govern site which are not available to the public./li liWeb-Based Applications – Consider use and ownership of web-based tools and applications./li liE-Commerce – Determine the role of e-commerce in your website./li liBroadcast Email – Establish guidelines for the use of broadcast email to constituents and customers./li liSocial Media – Set standards for the establishment and use of social media tools within the organization./li liDigital Communications Governance – Keep the guidelines you create updated and relevant./li /olaside class=ctah3 class=cta__title /h3pStay connected with the latest news on web strategy, design, and development./p span class=cta__link a href= up for our newsletter./a /span /asideul class=list--simpleli class=taga href= hreflang=enStrategy/a/li /ul

PreviousNext: Building a layout system for Paragraphs

Sun, 11/06/2016 - 23:37
pA recent Drupal 8 project of ours had some great requirements around it’s landing pages, aimed at reusing existing components in a range of layouts and combinations. Paragraphs quickly established itself as the site-building tool of choice and Flexbox always wins for me as the CSS grid/layout approach, so we looked at how the two could be combined to give the client the flexibility they needed, without over-complicating the editor experience./p span property=dc:title content=Building a layout system for Paragraphs class=rdf-meta element-hidden/span

OhTheHugeManatee: Writing Drupal 8 Code for Drupal 7

Sat, 11/05/2016 - 12:05
pA year ago I proposed a session for a href= Mumbai/a and a href= New Orleans/a, called a href=;The best of both worldsrdquo;/a. It promised to show attendees how to write Drupal 8 code for Drupal 7 sites. I never ended up giving the session, but this week I got an email asking for more information. So in case it ever comes up again, herersquo;s my own collection of resources on the subject./p pThe big improvement thatrsquo;s hard for D7 developers to get used to is injected services. The a href= container module/a makes that possible in D7. The brilliant a href= wrote it to make his life easier in writing a href= cache/a, and his is always a good example to follow! This module creates a service container for D7, which you use just like the container in D8. You can write independent, OO code that is unit testable, with service dependencies declared in a YAML file. Note that you will also need the a href= autoload/a module to get PS4 namespaced autoloading!/p pI just mentioned unit testable code as a benefit of the service container. To be honest this is a little tricksy in Drupal 7. For my own custom work I tend to isolate the test environment from the rest of Drupal, so I donrsquo;t have to deal with everything else. Again, I followed Fabianrsquo;s example there by looking at how a href= cache does itrsquo;s tests/a. If you do want better integration, there is a good lullabot post that talks about (more) proper PHPUnit integration. a href= ./p pNext on my list is Composer-managed dependencies. The Acquia developer blog has a great post about a href= Composer Manager for this in D7/a. This is a huge win for a lot of custom modules, and very easy./p pLast is plugins. The rest of this list is in no particular order, but I left plugins for last because I think this isnrsquo;t actually necessary in D7. Personally I use modules#8217; own hooks and just autoload independent classes. You might consider using plugins instead if yoursquo;re going to write several plugins for the same module. In any case, a href= Rowlands has the go-to blog post about this/a./p pAll together, you can combine these approaches to write code for D7 with the biggest Dx features of D8: service injection, phpunit testing, composer libraries, and plugins. Note that each of these blog posts assumes different workarounds for all the other functionalitieshellip; but they should help you get an understanding of how to use that particular Dx improvement in 7./p pWhen I wrote that session proposal, I thought of this as a good way for D7 developers to learn D8 practices gradually, one at a time. I no longer think thatrsquo;s true. Mostly, there are so few working examples of D7 code using these practices, that itrsquo;s quite hard to get your stuff working. This is particularly hard when yoursquo;re just learning about the concept in the first place! Personally, I could mess around with this stuff and make my life harder with it in D7. But I couldnrsquo;t really get the best advantage out of them until I had better examples. My best learning aids were the examples in D8 core, and the code scaffolding available through Drush and Drupal console./p pBut now that Irsquo;m comfortable with the conceptshellip; I would absolutely use these approaches in D7 work. You know, if Irsquo;m FORCED to work in the old system. :)/p pOne last aside here: it is easy to fall into the mindset that Drupal 8 practices are better just because theyrsquo;re newer. This is simply not true. These practices are not handed down from heaven, after all! When you have the rest of the D8 architecture in place, certain kinds of code tasks are much easier. Thatrsquo;s why we like developing for it so much more. But other (less common, IMO) tasks are harder. And doing any of this in D7 means you have to put the architecture in place, too. Thatrsquo;s a lot of time, and itrsquo;s only worthwhile if yoursquo;re going to use the particular strengths of these practices./p pSo if it looks like one of these D8 practices will make your life easier for a particular task in D7, then by all means use these approaches to get there. Composer manager has a particularly low bar ndash; itrsquo;s so easy to use, and makes so many tasks easier, itrsquo;s a good approach to many tasks. But if I ever catch you implementing service container to get two lines of code into a form_alter, I will come to where you work and slap your hands off the keyboard./p pHappy coding!/p

MTech, LLC: ¿Cómo agregar tamaño y tipo de fuente a CKEditor?

Fri, 11/04/2016 - 19:02
spanHow to add size and font family to CKEditor?/span div class=field field--name-body field--type-text-with-summary field--label-hidden field--itempAs already discussed in a previous blog a href=, CKEditor is a very useful module for creating and editing content. In my work editing content, I found the need to occasionally change the font size and type to avoid using css./p pHere I will explain how to extend the CKEditor module using the CKEditor_font module, using composer, bower and gulp./p pIn our terminal, use the following command to download the most stable version of the module:/p/div spana title=View user profile. href= lang= about= typeof=schema:Person property=schema:name datatype= xml:lang=Charlotte León/a/span spanFri, 11/04/2016 - 12:02/span

Isovera Ideas Insights: Writing good code is an art!

Fri, 11/04/2016 - 16:36
div class=field field-name-field-teaser-text field-type-text-long field-label-hiddendiv class=field-itemsdiv class=field-item evenWhat is quot;good codequot;? This question is very subjective and is opened to ones interpretation. I personally think quot;good codequot; is code that is: readable, efficient, and modular. These three key points all play their part in keeping your code maintainable./div/div/div - Thoughts: Migrating from Drupal 6 to Drupal 8

Fri, 11/04/2016 - 16:25
pThis is a summary of the process we undertook to migrate the Ixis site from Drupal 6 to Drupal 8 including some of the issues we came across./p