Planet Drupal

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 14 min 26 sec ago

Phase2: DrupalCon Amsterdam Roundup

Wed, 10/08/2014 - 20:44
pAs I write this, I#8217;m on a plane back to the US after a whirlwind 10 days in Amsterdam for DrupalCon Amsterdam 2014. As always it is so gratifying to meet and work with the international Drupal community. I love getting to take a look at what everyone is working on and collaborate with people that you might otherwise only know as IRC nicks. Here are my highlights of DrupalCon Amsterdam:/p h2 id=sprints-and-drupalorg-loggingSprints and Drupal.org Logging/h2 pI volunteer my time to help the drupal.org infrastructure team with their logging infrastructure. I was very happy to be able to sprint for 3 days, mainly on drupal.org infrastructure. On Sunday, Friday, and Saturday, I worked with the Drupal.org Puppet configuration to get a new CentOS 6-based log aggregation host ready to go running the latest versions of the ELK (ElasticSearch, Logstash, and Kibana) stack. The new Logstash configuration that we#8217;ll be rolling out is much simpler. Stay tuned to the blog for information on some of the improvements we made in the process. We hope to deploy the new logging host within the week./p h2 id=devops-meetupDevOps Meetup/h2 pTuesday evening, I attended the DevOps Amsterdam meetup.  The meetup was sponsored by ElasticSearch, who bought a delicious dinner for all attendees as well as some drinks. During dinner, I sat with some folks from Germany and had a chance to speak with a number of ops-attuned folks about Docker and the possible use cases for it./p pThe meetup had some great content. There was a talk on how a href=http://www.jacobvosmaer.nl/files/omnibus-gitlab-20140930.pdfGitLab uses omnibus to package GitLab with far less hassle/a, a talk from fellow d.o infra team volunteer Ricardo Amaro on building the next-gen Drupal testbot on Docker, and a great talk from the DrupalCon Amsterdam DevOps chair Bastian Widmer a href=http://bastianwidmer.ch/slides/2014-09-30_Culture_BastianWidmer_DevOpsMeetupAmsterdam.pdfon developing culture and sharing knowledge in an agency/a./p h2 id=lsdLSD Leadership Meeting/h2 pEarlier this year, Phase2 contributed some of its innovation hours to the LSD project and worked with Acquia to present a webinar on Behat and release a pre-built virtual machine designed to make it easy to start doing automated testing using Behat. During the LSD leadership meeting I joined Melissa Anderson of Tag1 Consulting and Hugh Fidgens of Pfizer in a breakout session discussing Behat. Quite a few organizations present were very interested in how they could use Behat to enable a behavior-driven development workflow with their developers, or to develop a good set of automated tests that could be run either as smoke tests or as end-to-end integration tests./p h2Behat Everywhere/h2 pIn addition to the LSD leadership meeting, automated testing and BDD were topics on everyone#8217;s minds throughout DrupalCon./p pI attended 2 BoF about automated testing or Behat, the Testing Drupal 8 BoF, and Hugh Fidgen#8217;s Organizational Behat BoF. These talked about how we could better leverage automated testing tools in Drupal core and in client work we build today, respectively. Many people have had some success in getting automated tests or a BDD workflow started, but there was a lot of talk about writing good sustainable tests and how to integrate these tools into your workflow./p pSpeaking of writing sustainable tests, my favorite session of the conference was definitely a href=https://amsterdam2014.drupal.org/session/doing-behaviour-driven-development-behatthe session by Konstantin Kudryashov (the creator of Behat and Mink) on how to do BDD with Behat/a. The session was remarkable and left an impact on many folks who went there. It really emphasized the point that BDD must be about identifying and delivering business value in our projects, and that doing that is the way to write good tests. It is definitely worth an hour of your time to watch./p pAs testing best practices are refined in the Drupal community as well as in Phase2, I#8217;m very excited that the talented Jonathan Hedstrom a href=http://www.phase2technology.com/blog/phase2-and-opensourcery-whats-new-in-portland/has joined the Phase2 team/a.  Jonathan is a maintainer of a href=https://www.drupal.org/project/drupalextensionthe Behat DrupalExtension/a, and is sure to help us further refine our testing practices as Phase2. Jonathan has been doing work recently on upgrading the DrupalExtension to support Behat 3 and has plans to generalize the drivers that the Behat DrupalExtensions provides so that it could be used with Mink for writing tests in straight PHP without needing to use Behat./p pspan style=font-size: 1.5em; line-height: 1.5em;My #8220;Open Source Logging and Monitoring Tools#8221; Session/span/p pOn Wednesday I presented my session #8220;a href=https://amsterdam2014.drupal.org/session/using-open-source-logging-and-monitoring-toolsUsing Open Source Logging and Monitoring Tools./a#8221; I covered a lot of information in my session including using Logstash, ElasticSearch, and Kibana.  Thanks to the tireless work of the DrupalCon A/C crew, the a href=https://www.youtube.com/watch?v=ERsBKxCTNgEvideo recording of my session is online/a, and a href=http://www.slideshare.net/Phase2Technology/open-source-logging-and-metrics-toolsthe slides are available on SlideShare if you would like to follow along/a.  The session had an excellent turnout, and there were some great questions and discussions following my session. I was quite pleased at the large turnout, and so was a title=@KrisBuytaert href=https://twitter.com/KrisBuytaert@KrisBuytaert/a, who been bringing information about DevOps-related topics to DrupalCons for years./p blockquote class=twitter-tweet lang=enpI need to rephrase my state of a href=https://twitter.com/hashtag/devops?src=hash#devops/a and a href=https://twitter.com/hashtag/drupal?src=hash#drupal/a conclusion, 2 years ago in Munich there were 10 people in this talk ..(1/2)/p p— Kris Buytaert (@KrisBuytaert) a href=https://twitter.com/KrisBuytaert/status/517289878355468288October 1, 2014/a/p/blockquote pscript charset=utf-8 type=text/javascript src=//platform.twitter.com/widgets.js async=/script/p blockquote class=twitter-tweet lang=enp Back then by a href=https://twitter.com/samkottler@samkottler/a , this year a href=https://twitter.com/stevenmerrill@stevenmerrill/a #8216;s talk is packed , we are winning this ! a href=https://twitter.com/hashtag/logstash?src=hash#logstash/a, a href=https://twitter.com/hashtag/drupalcon?src=hash#drupalcon/a a href=https://twitter.com/hashtag/elasticsearch?src=hash#elasticsearch/a/p p— Kris Buytaert (@KrisBuytaert) a href=https://twitter.com/KrisBuytaert/status/517290078893531136October 1, 2014/a /p/blockquote pscript charset=utf-8 type=text/javascript src=//platform.twitter.com/widgets.js async=/script/p pWe were also fortunate to have Leslie Hawthorne of ElasticSearch in the audience. She gave out ElasticSearch ELKs to sprinters at the Friday event./p blockquote class=twitter-tweet lang=enpPacked house for a href=https://twitter.com/stevenmerrill@stevenmerrill/a in a href=https://twitter.com/hashtag/DrupalCon?src=hash#DrupalCon/a a href=https://twitter.com/hashtag/DevOps?src=hash#DevOps/a track. About to learn how the d.o infra team uses a href=https://twitter.com/hashtag/elkstack?src=hash#elkstack/a a href=http://t.co/MThDhkA48Epic.twitter.com/MThDhkA48E/a/p p— Leslie Hawthorn (@lhawthorn) a href=https://twitter.com/lhawthorn/status/517286601073119232October 1, 2014/a/p/blockquote pscript async src=//platform.twitter.com/widgets.js charset=utf-8/script/p h2 id=takeawaysTakeaways/h2 pBased on the sheer number of people interested and sessions to devoted to both topics, it is clear that there is a growing interest in both logging and metrics and automated testing or BDD in the Drupal Community. This is also the 11th DrupalCon I#8217;ve been to, and this year#8217;s keynotes were the best I could remember. I really enjoyed Dries#8217;s ideation around sustainable methods for getting contributions to Drupal core and contrib, and getting to see Cory Doctorow speak live about the perils of DRM and restrictions software freedoms was also excellent./p pThis is an exciting time for Drupal. Drupal 8 beta 1 is live. The community is active and engaged around making Drupal better, both by contributing to Drupal 8 and by doing a better job testing projects built on it. The DA and an army of volunteers have made huge strides on improving the infrastructure around core testing as well as around all the online communities under drupal.org./p

Mediacurrent: Drupal Agency, Mediacurrent, Awarded Best Overall SMB by Salesforce

Wed, 10/08/2014 - 20:33
img typeof=foaf:Image src=http://www.mediacurrent.com/sites/default/files/styles/thumb_blog_spotlight/public/named-best-overall-01.png?itok=ER9cLhOk width=200 height=152 alt=Mediacurrent Named Best Over SMB by Salesforce title=Mediacurrent Named Best Over SMB by Salesforce / pToday, Mediacurrent is extremely proud to announce that we have been named the 2014 Best Overall Small Business by Salesforce. The award celebrates the best overall marketing and sales story at the SMB level (1-100 employees). Over a href=https://www.salesforce.com/crm/100,000 companies use Salesforce/a, and hundreds of nominations were submitted for thea href=http://www.salesforce.com/campaigns/surfboard-awards/ Salesforce Surfboard awards/a, so saying “we’re honored” to, not only be nominated, but win this award would be an understatement./p

Mark Shropshire: DrupalCamp Atlanta 2014

Wed, 10/08/2014 - 19:54
div class=field field-name-body field-type-text-with-summary field-label-hidden view-mode-rssdiv class=field-itemsdiv class=field-item even property=content:encodedpAs expected, I had a great time at a href=http://drupalcampatlanta.comDrupalCamp Atlanta/a 2014 last weekend. While I enjoy attending sessions, it is the chance to catch up with old friends and make new ones that I love./p pI want to thank all of those who made this camp a great one (sponsors, a href=http://www.meetup.com/drupalatlanta/ADUG/a, presenters, volunteers, and attendees)!/p pSome of my session notes can be found below (unedited):/p h2Sessions/h2 ul listronga href=http://drupalcampatlanta.com/2014-drupalcamp-atlanta/sessions/building-web-apps-drupal-and-mongo-entityBuilding web apps with Drupal and Mongo Entity/a - a href=https://www.drupal.org/u/bartramBart Nason/a/strong ul lia href=https://www.drupal.org/project/mongo_entityMongo Entity/a ul liQuickly create new entity types without database schema/li liStore entire entity in a MongoDB collection/li liEmbed entities/li /ul/li liConsider using Watchdog with the MongoDB module/li liCould use Mongo Entity to integration Drupal and MeteorJS/li liUse EFQ to query/li liEntity API required the ID in MongoDB to be integer IDs/li /ul/li listronga href=http://drupalcampatlanta.com/2014-drupalcamp-atlanta/sessions/plan-your-chunks-future-proofing-your-siteDIY Continuous Integration: Know It. Do It. Now./a - a href=https://www.drupal.org/user/1021328Johnnie Fox/a/strong/li liI wasn't able to attend :( Got there too late and the room was full. Can't wait to catch this one on video soon!/li listronga href=http://drupalcampatlanta.com/2014-drupalcamp-atlanta/sessions/developing-drupalangularjs-hybrid-appsHybrid Drupal/Angular.js apps/a - a href=https://www.drupal.org/u/jitesh-doshiJitesh Doshi/a/strong ul liCould we embed Meteor apps in a Drupal app or Drupal in a Meteor app?/li liBetter UX because front-end is faster/li liFaster development/li liDemo app - http://restng-demo.spinspire.com ul liUses JSON Web Token (JWT) used for security/li liUses a href=https://www.drupal.org/project/restwsRESTful Web services module/a/li liThe cart related div is pure AngularJS, but the reset of the page is Drupal/li /ul/li /ul/li /ul /div/div/divsection class=field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above view-mode-rssh2 class=field-labelBlog Category:nbsp;/h2ul class=field-itemsli class=field-item evena href=/taxonomy/term/13 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal/a/li/ul/section

Acquia: Drupal 8 - An intro field guide for front-end developers

Wed, 10/08/2014 - 18:22
div class=field field-name-body field-type-text-with-summary field-label-hidden div class=field-items div property=content:encoded class=field-item evenpDrupal 8 is almost here, and it’s bringing big front-end improvements, including new methods to display data on mobile devices using breakpoints, build flexible templates in Twig and better management for tools and libraries. /p pMost importantly, changes to the display layer mean that Drupal has become much more agile and extendable for Front-end Developers. /p h4strongThe journey so far/strong/h4 pUp till now, Front-end Developers have been working with a display layer that was originally introduced in Drupal 4.5, here’s how it worked.../p/div /div /div span property=dc:title content=Drupal 8 - An intro field guide for front-end developers class=rdf-meta/span

Acquia: 1st DrupalCon, 1st Contribution! Meet Oliver and Victoria

Wed, 10/08/2014 - 17:18
div class=field field-name-body field-type-text-with-summary field-label-hidden div class=field-items div property=content:encoded class=field-item evenp DrupalCon Amsterdam was something of a family outing for me. My wife Francesca attended all week and my kids were able to come out Thursday evening to attend Trivia Night and the Friday sprints. My daughter Victoria had sewn a dress and a cape to appear as Drupal Girl on Thursday evening. Her weeks of work on that really paid off; she was a big hit. She also got to meet her Drupal idol, MortenDK, who was the inspiration for her brand new Drupal.org and Twitter username: Drupal_Princess. There's a great photo of her meeting Webchick floating around online, too. /p/div /div /div span property=dc:title content=1st DrupalCon, 1st Contribution! Meet Oliver and Victoria class=rdf-meta/span

Appnovation Technologies: OS Initiative Community Site Launched

Wed, 10/08/2014 - 16:28
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encoded The community site for our OS Initiative is now live! /div/div/divdiv class=field field-name-field-blog-header-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evena href=/blog/os-initiative-community-site-launchedimg typeof=foaf:Image src=http://www.appnovation.com/sites/default/files/styles/blog_listing_page_header/public/communitysitelaunched.jpg?itok=EaR2JwmJ width=680 height=200 alt= //a/div/div/divdiv class=sharethis-buttonsdiv class=sharethis-wrapperspan st_url=http://www.appnovation.com/blog/os-initiative-community-site-launched st_title=OS Initiative Community Site Launched class=st_facebook/span span st_url=http://www.appnovation.com/blog/os-initiative-community-site-launched st_title=OS Initiative Community Site Launched class=st_twitter/span span st_url=http://www.appnovation.com/blog/os-initiative-community-site-launched st_title=OS Initiative Community Site Launched class=st_sharethis/span script type='text/javascript'var switchTo5x = false;/scriptscript type='text/javascript' src='http://w.sharethis.com/button/buttons.js'/scriptscript type='text/javascript'stLight.options({publisher:dr-75626d0b-d9b4-2fdb-6d29-1a20f61d683});/script/div/div

mcdruid.co.uk: How to cleanly delete a Drupal file with drush

Wed, 10/08/2014 - 15:43
pThis is a simple trick which (unless my googlefu simply failed me) I didn't find described anywhere when I had a quick look:/p pdiv class=geshifilterpre class=bash geshifilter-bash style=font-family:monospace;$ drush ev span style=color: #ff0000;'$file = file_load(21749); var_dump(file_delete($file, TRUE));'/span boolspan style=color: #7a0874; font-weight: bold;#40;/spanspan style=color: #c20cb9; font-weight: bold;true/spanspan style=color: #7a0874; font-weight: bold;#41;/span/pre/div/p pThis means all the appropriate hooks are called in a href=https://api.drupal.org/api/drupal/includes%21file.inc/function/file_delete/7 rel=nofollowfile_delete/a so the Drupal API gods should smile on you, and you should get to see the TRUE/FALSE result reflecting success or otherwise. Note that we're passing $force=TRUE indicating that the file should be deleted even if the file is reported as in use by the file_usage table. So be careful./p pTo delete multiple files you could use a href=https://api.drupal.org/api/drupal/includes%21file.inc/function/file_load_multiple/7 rel=nofollowfile_load_multiple/a but there's not a corresponding file_delete_multiple function, so you'd have to loop over the array of file objects./p pThat's all there is to this one./p

Drupal Bits at Web-Dev: Codit and Codit: Local Introduction Video

Wed, 10/08/2014 - 07:04
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpThis is a short screencast showing the basic concept of Codit and Codit: Local and where to place them in a Drupal site./p /div/div/divul class=links inlineli class=node-readmore firsta href=/info/drupal-drupal-7/codit-and-codit-local-introduction-video rel=tag title=Codit and Codit: Local Introduction VideoRead morespan class=element-invisible about Codit and Codit: Local Introduction Video/span/a/li li class=comment_forbidden last/li /ul

Don't Panic: A blog about Drupal: DrupalCon Amsterdam: quot;There and back againquot;

Wed, 10/08/2014 - 00:01
article id=node-139 class=node node-illustrerande-bild clearfix about=/en/drupalcon-amsterdam-logo typeof=sioc:Item foaf:Document header h2 class=title property=dc:title datatype=a href=/en/drupalcon-amsterdam-logo/a/h2 /header div class=content div class=field field-name-field-image field-type-imagefield-crop field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src=http://www.adamevertsson.se/sites/default/files/styles/viewnodesize/public/content/illustrated_picture/drupalconamsterdam.jpg?itok=dzzmGllk width=589 height=253 alt= //div/div/div /div footer /footer /article !-- /.node -- pDrupalCon Amsterdam has come to an end (well, it ended last week, buy hey, I need to catch up on some work as well). It was the biggest DrupalCon in Europe ever, 2,300 attendees! Pretty impressive. I've written a couple of blog entries, trying to capture my stay in Amsterdam and my feelings for a DrupalCon which I attended for more than three days (which has been the case with DrupalCon London and DrupalCon Munich)./p pNot only did Drupal 8 get a BETA during these days, but a lot of sprinting was happening (as always) and it was pure joy walking through the Berlage in the center of town and at the venue, seeing all that work being put into Drupal./p pTuesday and Wednesday was filled with interesting sessions, and both Tuesday evening with nice boat rides and pub crawl and Wednesday evening with open museums (the light installations at the EYE was spectacular!) was very nice indeed. Thursday, the day for separation for many of us, was also filled with good sessions and the closing talk with Holly and Stephanie both invited us to DrupalCon Barcelona next year, as well as presenting cool statistics about the Con.  /p h2The good.../h2 pAll of the sessions I attended was good, and, as always, I'm impressed by the time and energy people devote to making Drupal happen and spreading the knowledge and some love. Dries Buytaert's keynote ('the Driesnote') was inspiring, but I didn't agree with everything he said. He talked about the free-riders, the ones who doesn't help out with Drupal, the ones who only take advantage of the system witouth giving something back. Such a thing is a bad thing, according to Dries. But I think that we also need those free-riders, becuase those free-riders are the ones using the system, making the statistics for Drupal go up worldwide, spreading the word of Drupal. If we don't have free-riders, are the only ones who should use Drupal the ones who code it and support it? If so, Drupal won't get far.../p pAmsterdam RAI, the venue, was a good venue. Apart from some sessions being very popular (which is a pain in the a** forseeing) so I couldn't get into them, the rooms and hallways were good for sessions and sprinting. The technique was good as well, sound and vision in the sessions was flawless. Big thumbs up for that. The recorded sessions was also professionally made, at least the ones I've had time to watch. Finding them on YouTube the same day or, to some extent, the next is also impressive. Big thumbs up to the techinal team who worked on that during the Con./p pThe evening activites was also impressive. Ingenuity, local connection and very nice people raised the bar a lot. I kind of fell in love with the architecture of Amsterdam with it's old crooked buildings, canals and the narrow streets, and the boatride on Tuesday evening was magical!/p h2...the bad.../h2 pBut there's always something that brings a frown to the face. This time I frowned upon three things. The wi-fi. The coffee. The food./p pstrongThe wi-fi./strong It's shouldn't be that hard to calculate that if 2,300 persons gather in a closed area and at least half of them have both laptops and phones, there will be much traffic. I don't want to drag Drupal Association of the local community in the dirt here, they hired a company to manage the network and wi-fi, but it's irritating trying to get online for various reasons, and the network dies several times a day./p pstrongThe coffee. /strongApparantely the coffee last year in Prague was bad. The worst thing about coffee this year, was that it wasn't free. It cost me 2.5 Euro. When I pay this much for a ticket to a DrupalCon I kind of expect coffee or some other drink to be free. If it's too hard to calculate, try giving out beverage tickets, two or three per day. Some will get lost, some won't be used, but at least I won't have to pay 2.5 Euro for a small cup of coffee that's not even that good./p pThe food. A small bowl of pasta or paella. A sandwich and some dessert. I was hungry three hours later. I had the opportunity to visit DrupalCon Munich in 2012 and the food there was out of this world. Every DrupalCon after that will always have worse food. But this one is a killer. No imagination. Lots of garbage (in a time where we try to limit our carbon footprints). No drink. (At least I couldn't find any. Or maybe I was supposed to go and buy me a drink for 2-3 Euros.) Didn't get that. Didn't do that either./p pThere. Now that's out of my system. I won't remember that when I', 60. But I'll remember the rest of DrupalCon Amsterdam. The sessions. The laughs. The excursions./p h2...and the ugly.../h2 pWell... I found an ugly statue somewhere in town, but otherwise that headline was only in it for the Clint Eastwood reference./p h2Special thanks to.../h2 pIt takes a lot of work making a DrupalCon happen, and the Drupal Association pulled it off with a gold star I think. Sure, there were flaws, but then perhaps those won't happen next time, or there were good reasons to why there were flaws. But the Drupal Association do this for a living, so I will only give them a normal-sized 'thank you'. The big 'thank you' goes to the local community who gave the DrupalCon a Dutch feeling. I also want to say thank you to those people who were mentoring before, during and after DrupalCon. Instead of working with the code like you perhaps wanted to, you devoted your time and energy to encourage us lesser beings who want to learn more about Drupal. Also, a big hug to Annertech, who made the Quiz Night happen. It's not an easy task trying to get strikeMorton and Bert/strike the crowd quiet so you can present questions and answers. The man with the microphone also liked the name of our team - emFools drush in/em - which was nice!/p pYou all know who you are - THANK YOU!/p

Chapter Three: 5 Hurdles to Adopting Drupal 8

Tue, 10/07/2014 - 23:36
p dir=ltrspan id=docs-internal-guid-68bfae30-ecbf-f713-b973-ef37ee188beea href=https://www.drupal.org/drupal-8.0Drupal 8/a/span presents major improvements to the existing Drupal ecosystem. It offers much, including a revamped Entity API that adds tremendous flexibility to content modeling, a core-level translation system for multilingual sites, responsive theming, in-place editing and the configuration management system. But with all of its improvements, Drupal 8 presents some hurdles for agencies like Chapter Three to identify and overcome./pbr / br / p dir=ltrimg alt=5 Hurdles to Adopting Drupal 8 data-picture-align=center data-picture-group=c3 src=http://www.chapterthree.com/sites/default/files/5-hurdles-to-adopting-drupal8.jpg title=5 Hurdles to Adopting Drupal 8 //p

Tyler Frankenstein: Drupal User Entity Reference Field with Custom Autocomplete that uses an Address Field

Tue, 10/07/2014 - 22:24
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encoded pUser reference fields (aka entity reference fields) are great. As you may have guessed, we can use these fields to reference users on other entities (e.g. nodes)./ppSay we had a user reference field on the Article content type... by default, when selecting a user to reference, we could configure the field widget to be an autocomplete. This allows us to begin typing the user's login name as a way to reference them. This works well in most cases./ppWhat if we had an address field on our user entities, and collected the user's first and last names? It may be more usable for site administrators to be able to search across the user's actual name instead of their user name for logging in./ppWe can use stronghook_menu()/strong, stronghook_form_alter()/strong, and a strongcustom callback function/strong to provide a custom autocomplete widget that searches across our address field's values instead.../div/div/div

Mediacurrent: Installing the Pardot Drupal Module

Tue, 10/07/2014 - 21:40
img typeof=foaf:Image src=http://www.mediacurrent.com/sites/default/files/styles/thumb_blog_spotlight/public/pardotmodule.png?itok=ip5L3lUB width=200 height=152 alt=Pardot Drupal Module title=Pardot Drupal Module / pMediacurrent has made a commitment to work with the Drupal community to help maintain and improve modules for the la href=http://www.mediacurrent.com/blog/mediacurrent-adding-value-drupal-and-marketing-automationeading Marketing Automation services/a. In this tutorial, we will show you how to set up the newly upgraded a href=http://www.pardot.com/ target=_blankPardot/a (a a href=http://www.salesforce.com/ target=_blankSalesforce/a Company) module./p

Modules Unraveled: 121 The Harmony Forum Project with Alli Price - Modules Unraveled Podcast

Tue, 10/07/2014 - 19:34
div class=field field--name-field-image field--type-image field--label-hiddendiv class=field__itemsdiv class=field__item evenimg typeof=foaf:Image src=http://modulesunraveled.com/sites/default/files/styles/podcast_default/public/podcast/image/AlliPrice.jpg?itok=By-BJkci width=350 height=347 alt=Photo of Alli Price //div/div/divspan class=submitted-byPublished: Tue, 10/07/14/spandiv class=field field--name-field-podcast-file field--type-file field--label-hiddendiv class=field__itemsdiv class=field__item evendiv class=mediaelement-audioaudio src=http://traffic.libsyn.com/modulesunraveled/121_The_Harmony_Forum_Project_with_Alli_Price_-_Modules_Unraveled_Podcast.mp3 class=mediaelement-formatter-identifier-1412749364-0 controls=controls /audiodiv class=mediaelement-download-linka href=http://traffic.libsyn.com/modulesunraveled/121_The_Harmony_Forum_Project_with_Alli_Price_-_Modules_Unraveled_Podcast.mp3Download this episode/a/div/div/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:encodedh2Harmony Forum/h2 ulliWhat is Harmony Core?/li liWhat prompted you to develop it over using the core forum module?/li liDid you take a look at the Advanced Forum module? ulliWhat didn’t you like about it?/li /ul/li liSo what are some of the features? ulliKill switch/li liEntities/li liRevisions for Post entity, integration with Diff module/li liViews provides all listings including on a thread page/li liFlag action for Like of posts/li liAt.js/li /ul/li liDoes this integrate with other community related module? ie: Organic Groups/li liWhat are some of the sub-modules, or add-on modules that enhance Harmony Core? ulliHarmony Access/li liHarmony Forum Access/li liHarmony Search/li liHarmony Moderation/li liHarmony Migrate/li /ul/li /ulh2Use Cases/h2 ulliWho’s using Harmony now?/li liYou mentioned some upcoming events what are those?/li liHow can people get involved?/li liWhere should people go to find out more?/li /ulh2Questions from Twitter/h2 ullia href=http://www.twitter.com/hackmonk3yScott Wilkinson/abr / What kind of moderation tools will Harmony have? Like pruning posts or users? Forum Moderators?/li /ul/div/div/divdiv class=field field--name-field-items-mentioned field--type-link-field field--label-abovediv class=field__labelEpisode Links:nbsp;/divdiv class=field__itemsdiv class=field__item evena href=https://www.drupal.org/u/heylookalive rel=nofollow target=_blankAlli on drupal.org/a/divdiv class=field__item odda href=http://twitter.com/heylookalive rel=nofollow target=_blankAlli on Twitter/a/divdiv class=field__item evena href=https://groups.drupal.org/forum-development rel=nofollow target=_blankForum development group on g.d.o/a/divdiv class=field__item odda href=http://getharmony.io/ rel=nofollow target=_blankGet on the email list/a/divdiv class=field__item evena href=https://www.drupal.org/node/2233303 rel=nofollow target=_blankFeatures list/a/divdiv class=field__item odda href=http://frontend.getharmony.io/ rel=nofollow target=_blankDemo of the frontend/a/div/div/divdiv class=field field--name-field-tags field--type-taxonomy-term-reference field--label-abovediv class=field__labelTags:nbsp;/divdiv class=field__itemsdiv class=field__item evena href=/tags/forums typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Forums/a/divdiv class=field__item odda href=/tags/community-modules typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Community Modules/a/divdiv class=field__item evena href=/planet-drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=planet-drupal/a/div/div/div

Freelock : Importing foreign key references with Migrate

Tue, 10/07/2014 - 18:04
div class=g-plusone-wrapper style=margin: 0 1em 1em 1em;float:right g:plusone href=http://www.freelock.com/blog/john-locke/2014-10/importing-foreign-key-references-migrate size=medium annotation=bubble width=250 /g:plusone/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpOne of our clients wanted to regularly update a list of dealers along with the parts carried at that dealer, and a href=http://bonavitaworld.com/retailersshow them on a map/a. As I dug into the challenge, I was a bit surprised to find very little information on the web about how to hook up a migration that would essentially import a join table. So I had to create it myself!/p/div/div/divdiv class=field field-name-taxonomy-vocabulary-5 field-type-taxonomy-term-reference field-label-hiddendiv class=field-itemsdiv class=field-item evena href=/tag/migrateMigrate/a/divdiv class=field-item odda href=/tag/drupalDrupal/a/divdiv class=field-item evena href=/tag/drupal-planetDrupal Planet/a/divdiv class=field-item odda href=/tag/erpERP/a/divdiv class=field-item evena href=/tag/retailRetail/a/divdiv class=field-item odda href=/tag/manufacturingManufacturing/a/divdiv class=field-item evena href=/tag/dealersDealers/a/divdiv class=field-item odda href=/tag/entityreferenceentityreference/a/divdiv class=field-item evena href=/tag/technicalTechnical/a/div/div/div

Deeson: DrupalCon Amsterdam: the Deeson digest

Tue, 10/07/2014 - 16:52
pLast week was all about a href=https://amsterdam2014.drupal.org/DrupalCon Amsterdam/a./p pDeeson’s MD, Tim Deeson, sat on a a href=https://www.deeson.co.uk/blog/deesons-drupalcon-session-life-fast-lane-achieving-sustainable-growthpanel Qamp;A/a, I rallied the community with a href=https://www.deeson.co.uk/blog/take-look-our-swag-drupalcon-amsterdamgiveaways and things to play with/a and our Solutions Architect John Ennew joined in a href=https://www.deeson.co.uk/labs/drupalcon-amsterdam-phase2-hackathon-drupal-distributionshackathons/a. We also organised Birds of a Feather (BoF) sessions./p pFor those who want to know more, here is our complete guide to Europe’s biggest Drupal conference event which celebrates the community and experiences working with Drupal’s open source software./p h41. The keynotes/h4 pThe two main keynotes at the conference were delivered by Drupal founder, a href=http://buytaert.net/Dries Buytaert/a, and science fiction author, activist, journalist, blogger and co-editor of a href=http://boingboing.net/Boing Boing/a, Cory Doctorow. They were very different in style and approach, but both were fascinating and highly informative./p pstrongDries Buytaert/strong/p pDries’ keynote focused on the maturity of strongDrupal/strong as a platform and community. He touched on the inevitable growing pains and the tough choices we all face as Drupal expands its reach and influence./p pHe drew on proven growth principles, such as the a href=http://en.wikipedia.org/wiki/Tragedy_of_the_commonsTragedy of the Commons/a, to illustrate Drupal’s ‘journey’. He highlighted how Drupal's reach can grow with community support, from local leadership initiatives to rewarding Drupal contributors./p pstrongWatch Dries' keynote/strong/p p/p pstrongCory Doctorow/strong/p pCory discussed the significance of free and open source software, highlighting the challenges and issues which impact us all./p pAs a tech evangelist, he shared his expert insight into the importance of software transparency in an age where tech and devices infringe on our everyday lives. It was pretty sobering./p p/p h42. Drupal 8: the beta release/h4 pDries announced the a href=https://www.drupal.org/drupal-8.0beta release of Drupal 8/a. The Drupal community will now be working together to find and fix bugs before the full release of Drupal 8. /p h43. The sessions/h4 pTim took part in a business-focused panel session entitled: 'Life in the fast lane - achieving sustainable growth'./p pThe hour-long session went through issues and challenges faced by Drupal agencies, shops and freelancers trying to achieve growth. Read the a href=https://www.deeson.co.uk/blog/deesons-drupalcon-session-life-fast-lane-achieving-sustainable-growthkey takeaways here/a or check out the video:/p p/p h44. Mentoring/h4 pJohn signed up as a sprint mentor for the first time and taught new contributors to Drupal Core how they can set up contributing tools. /p pMentoring the Drupal community builds confidence and empowers developers to become regular contributors to Drupal Core./p p/p h45. Swag demand/h4 pThe event may focus on code but t-shirts feature heavily. /p pOur designer, Rachael Case, created a stunning Deeson DrupalCon tee which flew off our stand. They were so popular, people even nabbed the display tees off the wall!/p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images/tee_pic.jpeg?itok=hNuQZgyA width=400 height=507 alt=DrupalCon Amsterdam tee pic title=Deeson DrupalCon Amsterdam tee / h46.Frame of Fame/h4 pAs you might understand by now, community is at the core of Drupal. /p pWe wanted to celebrate the community who worked on Drupal 8 with our Frame of Fame. Check out the faces behind the code, contributes and commits…/p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images/fof_1_0.jpeg?itok=YYYa3hWq width=400 height=373 alt=Drupal8r Frame of Fame with Dries title=Drupal8r Frame of Fame with Dries /img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images/fof_2.jpeg?itok=Rnj_El-0 width=400 height=316 alt=Drupal8r Frame of Fame with developers title=Drupal8r Frame of Fame with developers / pWe took the Frame of Fame into the digital world with The Drupal8r.../p h47. The Drupal8r/h4 pOur developer, Chris, created an amazing data visualisation tool, The Drupal8r shows who in the Drupal community developed Drupal 8 during the last 5000 commits. a href=https://www.deeson.co.uk/drupal8rGive it a whirl yourself! /a/p p /p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images/drupal8r.png?itok=vepHGEAG width=400 height=408 alt=Drupal8r visualisation title=Drupal8r visualisation / h48. The Dries interview/h4 pIt’s not everyday you get to interview the founder of Drupal, Dries Buytaert. But we did./p pWe’ll be sharing our conversation with Dries soon, so sign up to our newsletter at the bottom of this page to find out about the successes and failures in Drupal 8 delivery. /p pWe’ll also be publishing our #AskDries video where Dries answers questions from DrupalCon attendees. Watch this space!/p h49. The BoFs/h4 pJohn and I ran BoFs at DrupalCon Amsterdam. John focused on experiences of integrating Customer Relationship Management (CRM) systems with Drupal while I explored the need for personas in the site build process./p pYou can read the full write up of a href=https://www.deeson.co.uk/labs/drupalcon-amsterdam-bof-crm-integrations-drupal-7John’s session here./a My session summary is a href=http://docs.google.com/a/deeson.co.uk/document/d/1zQ8ue2Z_VSvwHbljM8hZqhyr5WRo0J0l-UCOuMqZ3ro/edithere in a shareable Google Doc/a which highlights the basic persona questions, plus links to a few resources for persona newbies./p h4 dir=ltr id=docs-internal-guid-e266c32b-eb0d-632a-5050-d964c08d0e7a10. Nos vamos a Barcelona para DrupalCon 2015!/h4 pDrupalCon Europe 2015 is in Barcelona. So we're going to brush up on our Spanish. ¡Vamos!/p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images/dcb.png?itok=2e7dBnl9 width=400 height=248 alt=DrupalCon Barcelona 2015 title=DrupalCon Barcelona 2015 /

Digett: Product Review: New Relic APM for Drupal Performance Tuning

Tue, 10/07/2014 - 16:36
div class=field field-type-filefield field-field-teaser-image div class=field-items div class=field-item odd img src=http://www.digett.com/sites/default/files/imagecache/blog-main-image-full-node/filefield_images/field_teaser_image/newrelic-logo-square_0.png alt=New Relic APM for Drupal Performance Tuning title= class=imagecache imagecache-blog-main-image-full-node imagecache-default imagecache-blog-main-image-full-node_default width=275 height=183 / /div /div /div pa href=http://newrelic.com/New Relic/a APM (Application Monitoring) is an amazing tool to help you tune the performance of your Drupal website./p pa href=http://www.digett.com/blog/10/07/2014/product-review-new-relic-apm-drupal-performance-tuning target=_blankread more/a/p

Deeson: Six talks, two Deeson Drupal devs and Symfony Live London

Tue, 10/07/2014 - 16:00
img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/lead_image/20141001_153151.jpg?itok=UKkWPSh- width=400 height=533 alt=Symfony Live London title=Symfony Live London / pDan and I went to a href=http://london2014.live.symfony.com target=_blankSymfony Live London/a last Friday to find out what was happening in the world of Symfony./p pHere's a strongsummary/strong of the six talks we attended:/p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images_and_text/screen_shot_2014-09-23_at_14.36.13_1.png?itok=3FJioP2v width=400 height=188 alt=Symfony Live title=Symfony Live / h41. The Dependency Trap/h4 pa href=http://zalas.eu/strongJakub Zalas/strong/a gave an interesting talk about the difficulties of relying too heavily on third-party services and classes./p pHe went through the process of thinking about writing code while avoiding being overly reliant on a third-party. The main benefit is when you need to change your code or third-party service at a later date, it should be easy enough to do without having to re-write half of your application./p h42. How Kris Builds Symfony Apps/h4 pAlthough I haven't been working with Symfony that long, the name strong'a href=http://kriswallsmith.net/ target=_blankKris Wallsmith/a'/strong keeps coming up when looking around at various bundles. He talked about his approach to building apps./p pHe went through the different layers involved in building an app, such as controller, models, services, event handlers, etc. He dismissed the myth of 'thin controllers, fat models', by looking at what the controllers, models and services actually do at each level./p pIn his view they are all just 'mapping layers' between the different data abstraction layers apps have. When you look at it like this, you end up with 'thin controllers, thin models' and 'thin services with thin events'./p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images_and_text/imag0238.jpg?itok=47cCaXOV width=400 height=312 alt=Symfony Live title=Symfony Live / h43. The Naked Bundle/h4 pa href=http://php-and-symfony.matthiasnoback.nl/strongMatthias Noback/strong/a introduced the self-titled, 'Noback's Principle: Code shouldn't rely on something that it doesn't truly need'./p pHe suggested we should limit our dependency on the framework as much as possible. /p pWe should try to limit to the point where pretty much everything that you would normally put inside a Symfony Bundle (which is a concept very much tied to the framework) can be moved in some way into framework agnostic, re-usable components./p pThe talk was enlightening, but it made me wonder whether I am ready to break away from Symfony so soon!/p h44. One Commit, One Release. Continuously Delivering a Symfony Project/h4 pstronga href=http://www.slideshare.net/loalfJavier Lopez/a/strong went through the continuous integration process they used on a project. The talk explained that a release to production doesn't have to be a such a daunting task./p pInterestingly, they had managed to reduce the time it took to deploy a release from 30 minutes to 30 seconds. They released most days, rather than once a week or each fortnight. Also the product owner could trigger a release rather than relying on a developer to do it./p pAt Deeson we are using continuous integration for our web build projects more and more./p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images_and_text/20141001_153151.jpg?itok=L1VCcOea width=400 height=313 alt=Symfony Live title=Symfony Live / h45. Converting a Website to a New Religion: Symfony/h4 pstrongMichael Cullum/strong has been involved in the rebuild of phpBB using Symfony and went through their approach to rebuilding such a large scale app./p pWhen looking at rebuilding a site, you can be tempted to copy and paste a lot of code./p pMichael highlighted the problems with repasting code. In fact when we have the opportunity to rewrite code, we should be tackling it head on.  /p pWe all write code which we look at six months or a year later and think, what was I thinking when I wrote that? He told us to understand what we are trying to achieve and write efficient code now./p pWhat was interesting is that they had looked at a section of phpBB at a time. They started with the home page and got that working, then moved onto the next page. /p pThis is different from the norm of building the functionality and then getting theming working across the entire site as a second step.  /p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images_and_text/20140926_161952.jpg?itok=nnA9Idyv width=200 height=140 alt=Symfony Live title=Symfony Live / h46. Decorating Applications with Stack/h4 pa href=https://beau.io/strongBeau Simensen/strong/a was introducing 'a href=http://stackphp.com/ target=_blankStack/a' - a convention for composing HttpKernelInterface middlewares into your application.  /p pHe went through its history, which applications can currently use it (Symfony, Silex, Laravel 4, and Drupal 8) and a brief overview of how it can be used./p pAlthough an interesting concept, it didn't seem immediately relevant to our experience./p h4A worthwhile event/h4 pAs we're using Symfony more and more, it was interesting to be part of the event and to attend such a range of interesting talks./p

Open Source Training: 6 Modules to Avoid Before Drupal 8 Arrives

Tue, 10/07/2014 - 15:44
!-- Start ScreenSteps Content -- div class=LessonContent div class=LessonSummary pOver the last few months, Dave Reid, one of the most active Drupal developers, has been giving a presentation called Future-proof your Drupal 7 site./p pDave talks about decisions can you make now on your current or new Drupal 7 sites to make transitioning to Drupal 8 easier./p pHe comes up with a href=https://www.drupal.org/node/2287495a list of modules/a that have been backported to Drupal 8. Using those modules means you won't have to re-train your staff for Drupal 8./p pDave also has some recommendation for modules to avoid, because they've been replaced by alternative solutions in Drupal 8. Here are 6 modules that might be worth avoiding if want an easier update to Drupal 8 in years to come .../pimg src=http://feeds.feedburner.com/~r/ostrainingdrupal/~4/Bgb7pQXwveA height=1 width=1/

Forum One: Where’s the Message in Panels Node Edit Forms?

Tue, 10/07/2014 - 15:02
pWhy are my messages (errors, status, etc.) not showing up on my panel override of a node add/edit page?/p pI wrestled with this problem for longer than I should have, all because I couldn’t find a href=https://www.drupal.org/node/2164161#comment-8577099 target=_blankthis simple Drupal post/a./p pEssentially, I was adding the “Messages” block to the panel content of my node/edit page that I was overriding. Thus, no matter what I did, that message area would never render./p pMy finding is that code class=EnlighterJSRAW data-enlighter-language=php data-enlighter-theme=enlighterdrupal_get_message/code is a unique function. Once you call it, all messages are cleared from it, so calling it again essentially will be too late to see any messages that might have been there. code class=EnlighterJSRAW data-enlighter-language=php data-enlighter-theme=enlighterpage.tpl.php/code calls this function, and Panels never gets a chance to try to get the messages that might be waiting to be displayed./p pAs a result, adding the following as a module or theme pre-process hook will keep the page from calling messages (replacing “strongMyThemeOrModule/strong” with the appropriate name, of course):/p pre class=EnlighterJSRAW data-enlighter-language=php data-enlighter-theme=enlighterfunction MyThemeOrModule_preprocess_page(amp;$variables) { // This disables message-printing on a content type edit page so panels can print it if (isset($variables['page']['content']['system_main']['content']['form_id']['#id'])) { if ($variables['page']['content']['system_main']['content']['form_id']['#id'] == 'edit-MyContentTypeName-node-form') { $variables['show_messages'] = FALSE; } } }/pre pBe sure to replace “strongMyContentTypeName/strong” with the machine name of your content type. If you have doubts, look at the value in code class=EnlighterJSRAW data-enlighter-language=php data-enlighter-theme=enlighter$variables['page']['content']['system_main']['content']['form_id']['#id']/code while looking at the content type’s edit page. We add this IF statement to make sure we disable page-level messages on this edit form and not on the entire site./p pcode class=EnlighterJSRAW data-enlighter-language=php data-enlighter-theme=enlighter$variables['show_messages'] = FALSE;/code is what actually disables the messages from being displayed at the page level so Panels has a chance to display them instead./p pMessages. Displayed./p pnbsp;/p

Deeson: The value of planning poker for better estimation

Tue, 10/07/2014 - 14:00
img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/lead_image/planning_poker.jpg?itok=Q2ICkA2z width=400 height=245 alt=Planning Poker cards title=Planning Poker cards / pAt Deeson, we’re always experimenting with how we can use Scrum in an agency environment./p pThe mechanism we’re seeing the most success with is strongplanning poker/strong./p h4Accurate estimations/h4 pAs a solutions architect, I might have estimated tasks on behalf of the development team. But using this traditional method, we found our estimates were often higher or lower than actual time taken for the task. While these would often balance out, better decisions could have been made if estimates were more accurate./p pI’ve found planning poker to be a rather neat idea and worth getting to know. The core concept brings the project team together to estimate on tasks. This team can include developers, project managers, user experience, designers and sometimes even the client./p h4The concept/h4 pEach team member uses a deck of cards representing numbers similar to a href=http://en.wikipedia.org/wiki/Fibonacci_numberFibonacci’s sequence/a (½, 1, 2, 3, 5, 8, 13 ,etc). Once the numbers reach more than 13, the decks we use break into bigger increases. This is because laying a high numbered card is a sign that the task needs to be broken down anyway./p img src=https://d5av3fo92eabs.cloudfront.net/sites/default/files/styles/image_400_width/public/secondary_images/images/img_20140926_123404.jpg?itok=glMaKgsZ width=400 height=300 alt=Planning Poker playing title=Planning Poker playing / h4Agreement is the key/h4 pAfter a quick overview, each member simultaneously lays their estimate down on the table for each task. Team members with the highest and lowest estimations then state their cases and everyone estimates again until everyone agrees. /p p(*whispers* Don’t tell the Scrum police, but we plan our tasks in hours and not days. This is because our clients buy hours, so we think in hours. But we always measure the accuracy of our estimates.) /p h4Bringing teams together/h4 pI find that when you start thinking about how long something is going to take you, it’s difficult to do without considering how it might be built, at least at a high level. /p pThis is where you can think about efficiency by reusing code or patterns. Planning poker brings everyone together which means you’re calling upon the much broader experience of your team to make the decision. This leads to better estimation. /p h4Deeson tips/h4 pThe Deeson developers love the planning poker process because the team then owns a realistic estimate and have conversations that wouldn’t surface with the traditional process. /p pOur top tip for making it work for you is, strongbe flexible, but embrace the theory. /strong/p pI've found you can be too strict in using the card deck, although most purists would say to do this. /p pFor example, when trying to reach a consensus on an estimate, it’s best to stick to laying a single card to minimise the options available. So if you really think it’s four hours, lay a three and a one. This is important to us at Deeson because we plan in hours and we need to be as realistic as possible. /p pThe important thing is that you can justify why you did it, share with the team, listen to feedback and agree on the final estimate. /p h4Things to avoid/h4 pIf you adopt strict estimation without embracing the theory, you go through the motions without the right amount of discussion or logical agreement. This, ultimately, provides a bad estimate. /p pPlanning poker is collaborative, accurate and fun. a href=http://www.mountaingoatsoftware.com/agile/planning-pokerGive it a go…./a/p