Planet Drupal

Syndicate content - aggregated feeds in category Planet Drupal
Updated: 10 min 27 sec ago Featured Case Studies: Social Networking Site -

Wed, 07/02/2014 - 17:09
div class=field field-name-field-mainimage field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg src= width=588 height=306 alt=Sentizens Home Page - site in Drupal by faichi //div/div/divdiv class=field field-name-field-link field-type-link-field field-label-abovediv class=field-labelCompleted Drupal site or project URL:nbsp;/divdiv class=field-itemsdiv class=field-item evena href= class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpstrongProject Summary:br //strong/p pThis project was developed from scratch bya href= rel=nofollow Faichi Solutions Pvt. Ltd./a/p pThe idea of building a social network for senior citizens was conceptualized by our client, Zlife Systems Pvt. Ltd, and supported by one of the well-known construction groups of India, Paranjape Schemes Constructions Ltd. In India alone, there are currently 98 million people who are aged 60+, and that number is expected to rise to around 173 million by 2026, or 12.6% of the Indian population. With these numbers in mind, our client wanted to build a dedicated social networking platform that focuses on the holistic living needs of senior citizens. /p pTogether with our client, we chose Drupal 7.23 as the open source technology to successfully build /p pWe used:br / • Drupal Commons 3 for prebuilt applicationsbr / • Drupal modules like Panels Ajax tabs to show eventsbr / • Drupal modules Memcache amp; XHPr and increased RAM to handle more requestsbr / • Developed amp; contributed new Drupal modules for customized features./p pWe partnered with our client from conceptualization to deployment. We are currently scaling up the business model through phase wise development, ongoing support amp; Mobile App conceptualization./p /div/div/divdiv class=field field-name-field-module field-type-node-reference field-label-abovediv class=field-labelKey modules/theme/distribution used:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/project/commonsDrupal Commons/a/divdiv class=field-item odda href=/project/advance_clockAdvance Clock/a/divdiv class=field-item evena href=/project/panels_ajax_tabPanels Ajax Tabs/a/divdiv class=field-item odda href=/project/memcacheMemcache API and Integration/a/divdiv class=field-item evena href=/project/XHProfXHProf/a/divdiv class=field-item odda href=/project/addressfieldAddress Field/a/divdiv class=field-item evena href=/project/fbss2fbStatuses (FBSS) to Facebook/a/divdiv class=field-item odda href=/project/viewsViews/a/divdiv class=field-item evena href=/project/rulesRules/a/divdiv class=field-item odda href=/project/featuresFeatures/a/divdiv class=field-item evena href=/sandbox/ssiscott/1657950Rackspace Cloud/a/div/div/divdiv class=field field-name-field-developed-org field-type-node-reference field-label-abovediv class=field-labelOrganizations involved:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/node/2194473Faichi Solutions Pvt Ltd/a/div/div/divdiv class=field field-name-field-profiles field-type-user-reference field-label-abovediv class=field-labelTeam members:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/u/ravygravyg/a/divdiv class=field-item odda href=/u/kalyanikKalyaniK/a/divdiv class=field-item evena href=/u/renukakrenukak/a/div/div/div

Drupal Commerce: Launching Commerce on Drupal 8

Wed, 07/02/2014 - 17:02
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpa href= src= width=100% //a/p pWith the entity API maturing in Drupal 8 as it approaches its first beta, Commerce Guys gathered a variety of Drupal Commerce contributors and maintainers in its Paris office to begin active development on Drupal Commerce 2.x. The week long sprint began with architectural debate and validation incorporating the collective experience of our professional services teams and delivery partners./p pimg src= style=float: right; margin-left: 10px; margin-bottom: 10px; max-width: 40%; /Drupal Commerce 2.x will ultimately be a complete rewrite, reflecting the drastic changes in Drupal 8 itself. We’re excited to announce that long-time community contributor and Commerce Guy par excellence a href= Zivanovic/a has been added as a co-maintainer to help us make it happen./p pa href= about all of the changes!/a/p /div/div/div Add 301 Redirects to a Drupal Migration

Wed, 07/02/2014 - 17:02
pMigrating content from one platform to another saves lots of time from doing grunt work and gets data moved fast. However, simply moving the content doesn’t mean the job is done. There are other considerations too, such as 301 redirects for example. Since we are moving content, our aliases are likely changing too. We can create 301s while migrating content in all at once./p

Appnovation Technologies: One Useful Module For Your Local Drupal Development

Wed, 07/02/2014 - 16:20
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encoded pa href= target=_blankStage File Proxy/a is one of my favourite modules that I always enable during a local a href= target=_blankDrupal /a/p/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/one-useful-module-your-local-drupal-developmentimg typeof=foaf:Image src= width=680 height=200 alt= //a/div/div/divdiv class=sharethis-buttonsdiv class=sharethis-wrapperspan st_url= st_title=One Useful Module For Your Local Drupal Development class=st_facebook/span span st_url= st_title=One Useful Module For Your Local Drupal Development class=st_twitter/span span st_url= st_title=One Useful Module For Your Local Drupal Development class=st_sharethis/span script type='text/javascript'var switchTo5x = false;/scriptscript type='text/javascript' src=''/scriptscript type='text/javascript'stLight.options({publisher:dr-75626d0b-d9b4-2fdb-6d29-1a20f61d683});/script/div/div

Open Source Training: The 20 Most Popular Drupal 7 Modules

Wed, 07/02/2014 - 12:21
pOne of the most common questions we get from new Drupal users is, Which modules do people normally use?/p pThat's a big question, with over 20,000 modules, but some are far more popular than others./p pWebchick, one of the Drupal core developers, has used the statistics available on to a href= a list of the most popular Drupal 7 modules/a. This is different from the public stats on module pages which show the popularity of modules across all versions./p pHere's an introduction to the 20 most popular Drupal 7 modules:/pimg src= height=1 width=1/

KatteKrab: DrupalSouth Melbourne 5-7 March 2015

Wed, 07/02/2014 - 12:09
div class=field field-name-post-date field-type-ds field-label-hiddendiv class=field-itemsdiv class=field-item evenWednesday, July 2, 2014 - 20:09/div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenblockquote class=twitter-tweet lang=enpHey a href= Beware the ides of March. Over 5-7 March 2015 a href= is coming. See a href= amp; sign up for announcements/pmdash; kattekrab (@kattekrab) a href= 29, 2014/a/blockquote script async src=// charset=utf-8/script/div/div/divdiv class=field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-hidden clearfixul class=linksli class=taxonomy-term-reference-0a href=/category/tags/drupalplanetdrupalplanet/a/li/ul/div

Pronovix: Behat coverage for all of Drupal - how it could be done

Wed, 07/02/2014 - 09:54
pThere is a lot of excitement in the Drupal community about Behat, especially from more advanced teams that are investing in their Devops infrastructure. It now even looks like a href= might some day make it into Drupal core/a. I guess that is why several Web development teams that use BDD (Behavior-Driven Development) have asked me how WalkHub relates to Behat. I’ve written a a href= post on the WalkHub blog/a that explains how it could be done, and what the benefits would be. In this post I will focus on how WalkHub could help the community complete the creation of Behat tests for all of Drupal core and contrib./p

Drupal Association News: team week notes #27

Wed, 07/02/2014 - 06:24
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpimg class=left src= //p h2Upcoming deployments: CDN switch for pWe have successfully switched all of the sub-sites over to our CDN (Content Delivery Network) provider. On July 2nd a href= will be pointing/a ( at our CDN. This deployment improves our ability to serve static files (images, javascript, css, patches, etc.) and improves our network routes outside of North America./p h2Looking for community feedback/h2 pCommunity Tools Team is working on new layout for user profiles on The first iteration of mockups is now a href= for community feedback/a./p h2Previous deployments/h2 pWe deployed lots of things on in the previous few weeks. Here is a list of most significant deployments:/p ullia href= Report security issue to Report security vulnerability/a/li lia href= codefilter module/a/li lia href= in image file names triggers the local images only filter/a/li lia href= has executable bit set (mode 755)/a/li lia href= updating an issue no longer redirects to your new comment/a/li lia href= matching the URL /profile/.* disabled/a/li lia href= feed for user is broken/a/li lia href= e-mail notifications: Add option to not email the person who is making the update/a/li lia href= issue comment/edit form should not be available when comments are closed for the issue/a/li lia href= should be in user's section/a/li lia href= URL aliases for user profiles breaks drupalorg_crosssite user tabs/a/li lia href= page doesn't order results properly/a/li lia href= returns results on two-character results/a/li lia href= of maintainers on a project page should display Drupal usernames instead of git usernames/a/li lia href= page title ' | Community plumbing'/a/li lia href= issue link filter doesn't handle 'pre' or 'code' with newlines/a/li lia href= Issues with HTML cannot be added/a/li lia href= bottom margin under issue listing description/a/li lia href= a variable for regex in updating stats on project usage/a/li lia href= in Planet Drupal feed-items are not cleared/a/li lia href= ' autocapitalization=none ' to the name field on the login form/a/li lia href= .info file rewriting in packaging plugins to deal with D8 .info.yml files/a/li lia href= up video on drupal-7.0 landing page/a/li lia href= broken link in notification for 'Not a Spammer'/a/li lia href= for empty fields appear on new organization nodes/a/li lia href= page when project maintainer hasn't set git username/a/li lia href= search (solr) fails an enormous number of simple searches/a/li lia href= url alias lead to Forbidden/a/li lia href= in to search issues should be a link/a/li lia href= system message comments/a/li lia href= redirecting to wrong profile/a/li lia href= 'supporters' section on lia href= Issues block (on d.o. dashboard) does not list postponed issues/a/li / infrastructure news/h2 pWe are working to improve many pieces of Over the last month we have made improvements to our development environments with continued migrations to our OpenStack cluster, upgrades to CentOS 6, and increased disk speed and capacity./p pAdditional features on our CDN account also enabled us to shift project usage data gathering from our local Varnish logs to CDN logs. This let us push nearly 7TB of traffic a month off of our servers and network off to our CDN, freeing up resources for and Git./p pWe have been making good progress on migrating Git from a single node to a highly available pair of servers for improved redundancy, reliability and / Monitoring improvements are being added as time allows, and we will be rolling out a new monitoring server with Icinga and Cacti./p h2Other news/h2 User Research/h3 pWe kicked off user research with a full-day workshop at DrupalCon Austin. You can find our summary and some outcomes of the workshop in a href= blog post/a. Right now we are busy conducting remote interviews with users all over the world. Expect more updates from the team in the next couple of weeks./p h3Drupal Jobs/h3 pDrupal Job is coming soon. We have just a couple more features to be launch ready. (In particular, we are figuring out coupon codes and adding some finishing polish.) We hope to launch around mid-July./p h2DrupaCon Austin/h2 pThank you to those who joined us in Austin for sprints related to We were able to make some progress on many of the issues that led to the flood of deployments over the past couple of weeks. /p pThanks also to those that took the time to be interviewed by the user research team led by Whitney Hess. You gave us a ton of useful information to incorporate into the personas we are developing for our redesign efforts. There were several intriguing feature requests that came out of those interviews as well./p p---br / As always, we’d like to say thanks to all volunteers who are working with us and to the Drupal Association a href= Partners/a and a href= Supporters/a, who made it possible for us to work on these projects. The a href= Partner Program/a crowd sources funds that pay for the development team’s time and hosting costs./p pCross-posting from a href= /div/div/divdiv class=field field-name-taxonomy-vocabulary-4 field-type-taxonomy-term-reference field-label-abovediv class=field-labelPersonal blog tags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/588week notes/a/div/div/div

Chapter Three: Drupal WYSIWYG Best Practices

Tue, 07/01/2014 - 22:19
pUntil Drupal 8 arrives, setting up effective WYSIWYG content editing falls to us developers. For many developers, figuring out the available options and their pros and cons can be difficult. Their main goal is to have a usable site up and running as soon as possible. Over the years, I've settled on a recipe that seems to work well for most clients. Other developers that I know often use a similar setup./pbr / br / pimg alt=CKEditor data-picture-group=c3 src=// title=CKEditor /br /emCKEditor/em/pbr / br / pI use CKEditor with IMCE as an image and file browser, and I install a variety of add-on modules and plug-ins to make everything usable. Drupal 8 will use CKEditor by default, though its image handling is, thus far, immature and incomplete./pbr / br / pimg alt=IMCE data-picture-group=c3 src=// title=IMCE /br /emIMCE/em/p

Mediacurrent: Digital Marketing Audit for Drupal Websites

Tue, 07/01/2014 - 22:12
img typeof=foaf:Image src= width=200 height=153 alt=Mediacurrent | Digital Marketing Audit for Drupal Websites title=Mediacurrent | Digital Marketing Audit for Drupal Websites / pGetting the best value from your digital channels demands understanding what works and why. Many brands have websites and email programs that are failing to engage their stakeholders, generate leads, build brand equity and create the real value they could./p pThis month, our a href= Strategy/a team is giving away a free Digital Marketing Audit. Our audit will look at the major aspects of your online presence aimed at getting more visitors to your website and converting them into customers./p

Aten Design Group: Recent Aten Open Source

Tue, 07/01/2014 - 20:05
img src= width=1000 height=600 alt= /pAten is always looking for good opportunities to contribute useful code around the open source software we use. Here are some opportunities we've found recently./p h2New Projects/h2 ul lia href= in Code (CINC)/a — A few of us made Drupal configuration faster and easier./li lia href= Migrate/a — A few of us made Drupal migrations simpler./li lia href= — Rob made Drupal forms easier./li lia href= List/a — Rob made viewing Drupal Context configurations faster./li lia href= Modulesmith/a — Rob made generating simple modules faster./li lia href= Typeinfo/a — Rob made it possible to get entity bundle and field info from the command line./li /ul h2Updates to Existing Projects/h2 ul lia href= Mode Page/a — Rob managed the issue queue./li lia href= Embed/a — A few of us managed the issue queue./li lia href= — Scott managed the issue queue./li lia href= — Several of us worked on a new design and managed the issue queue./li /ul h2Sites/h2 ul lia href= — Scott continued work on the a href= Tools Leadership Team/a, as section owner for Groups./li lia href= Colorado/a — Several of us helped design and build the a href= camp site/a. Come meet us at the camp./li /ul pTake a look at the open source projects we're working on, and get involved! All of these projects are happening in the linked open collaboration spaces, so it's easy to see what's happening. But if you'd like a guide to getting plugged in, get in touch./p Using Live Templates in PHPStorm

Tue, 07/01/2014 - 19:10
PHPStorm and the JetBrains suite of products are without a doubt, the best IDEs on the market for their respective applications. If you do a lot of custom development, you owe it to yourself to learn and use every tool this IDE can afford you.

Drupal core announcements: This Month in Drupal Documentation

Tue, 07/01/2014 - 17:22
h4Welcome to the second This Month in Drupal Documentation!/h4 pThis Month in Drupal Documentation (TMIDD) is an approximately monthly update from the a href= Working Group (DocWG)/a on what has been happening in Drupal Documentation in the last month or so. Sorry... because this is posted in the Core group as well as Documentation, comments are disabled./p pIf you have comments or suggestions, please see the DocWG home page for how to contact us. Thanks!/p h3Notable Documentation Updates/h3 ul liA lot of work was done on the Drupal 8 core Help pages (admin/help within a Drupal site) this month, by many contributors. We still have a few Core modules that need to have their help reviewed or updated from what it was in Drupal 7. To help out, see a href= title= -- find a child issue in the sidebar that is still open./li liProgress was also made on the developer documentation embedded in Drupal Core source code files. There's an effort underway to make sure that if you go to a href= title= (the Drupal 8 landing page for API docs), you'll see a list of the key developer topics, and if you click through to any of them, they'll give you the essentials and link you to further details. The landing page is up, and this month most of the landing pages were filled in. If you'd like to help complete this project, see a href= title= -- find a child issue in the sidebar that is either active (needs to be written) or needs review (has a patch that needs to be reviewed)./li librycefisherfleig updated the documentation for the Video module: a href= title= lilolandese wrote documentation for the Flickr module: a href= title= liSutharsan and others updated documentation for Drupal 6/7 to 8 migration: a href= title= liMany people wrote and updated Drupal 8 programmer documentation: a href= title= liacabouet updated titles for a lot of pages so they were clearer. You can do this too -- see a href= title= liandreathegiant and others updated the documentation for COD (Conference Organizing Distribution): a href= title= /ul pSee note above on Suggestions if you'd like to be listed here in our next post!/p h3Thanks for contributing!/h3 pSince May 29th (a href= previous TMIDD post)/a, 262 contributors have made 1216 (wow!) total documentation page revisions, including 8 people that made more than 30 edits (lolandese, acabouet, drupalshrek, jhodgdon, gisle, realityloop, brycefisherfleig, and Gábor Hojtsy) -- thanks everyone!/p pIn addition, there were many many commits to Drupal Core and contributed projects that improved documentation -- these are hard to count, because many commits combine code and documentation -- but they are greatly appreciated too!/p h3Documentation Priorities/h3 pThe a href= documentation priorities page/a is always a good place to look to figure out what to work on, and has been updated recently./p pIf you're new to contributing to documentation, these projects may seem a bit overwhelming -- so why not try out a a href= contributor task/a to get started?/p h3Upcoming Events/h3 ul lia href= title= - Write The Docs, Berlin - July 19-20, 2014/li lia href= title= - DrupalCon Amsterdam - Sept 29 - Oct 3, 2014/li lia href= title= - DrupalCon Latin America, Bogotá, Columbia, Feb 10-12, 2015/li /ul h3Report from the Working Group/h3 ul liWe've been working on the a href= section of the DocWG pages/a, and it's taking shape. So far, it mostly contains existing policies, but we also recently discussed and adopted a href= for what to do about obsolete documentation/a and added it there./li liWe've streamlined the a href= to Documentation pages/a so that they're actually possible to read in one sitting. There was a lot of obsolete and duplicated information in there; not so much now!/li liWe are still looking through all of the suggestions and ideas the community has had in the past for how to improve documentation policies, procedures, and tools (and achieve our goals). We are getting closer to making a list of priorities... watch this space for updates!/li liVideo files can now be updated on on documentation (and other) pages. Check out this issue for more information: a href= title= liThe software on a href= title=https://api.drupal.org was recently updated, mostly with new features for Drupal 8, including a list of Services (see right sidebar navigation) and displaying Traits. Thanks to the infrastructure team for making this possible (the new Drupal 8 features required PHP 5.4, and the site is running PHP 5.3, so it was a bit tricky!)./li /ul

Drupal Association News: Announcing Our New Hosting Supporter Program

Tue, 07/01/2014 - 17:12
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpimg alt=Hosting Supporter logo class=left src= style=width: 300px; height: 63px; /Our members, partners and supporters are the lifeblood of the Drupal Association and everything we do to help foster the Drupal project. Today, we’re making it even easier for organizations to support the Drupal Association and get great benefits in return./p pWe’re thrilled to announce our new a href=;utm_medium=socialamp;utm_campaign=hostingsupporterHosting Supporters Program/a, which has been specifically designed for Drupal hosting providers who publish great Drupal sites. We frequently hear from hosting providers who want to give back and invest in the project because a rising tide lifts all boats. Since all three of our Supporter programs fund improvements, the Hosting Supporter program is a great new option to do just that. /p pThe new program brings a third option to our programs for companies (a href= Partner Program/a for Drupal design and development shops and a href= Supporter Program/a for third party software vendors that help build great sites are the other two) and means hosting providers now have a program tailored to their desire to promote Drupal and connect with the community. There are a href= companies who have already joined/a./p h2 Why a third option?/h2 pWe put this together because variety is the spice of life! Well, that, and the fact that our supporter companies enable us to make a difference, and we want to make that as easy as possible for them. It didn’t make sense to bundle hosting providers in with our Tech Supporters program, which is designed for third party software vendors, or Supporting Partner program, which is designed for Drupal design and development shops – so we created a new category./p h2 What is a Hosting Supporter?/h2 pA Hosting Supporter is a kind of special organizational member of the Drupal Association. All of our Hosting Supporters get opportunities to connect with the community and provide education. They can also take the Drupal security test and promote that they passed./p h2 How can I become a Hosting Supporter?/h2 pTo learn more about the Hosting Supporter program, check out the details on the a href=;utm_medium=socialamp;utm_campaign=hostingsupporterHosting Supporter Program/a web page and a Don Page/a, Account Manager, Technology amp; Hosting at the Drupal Association./p /div/div/div

OhTheHugeManatee: Bug: Multilingual Auto Label Will Break Your Entity Static Cache

Tue, 07/01/2014 - 17:00
pThis is an important one to note: If you use the popular a href= Entity Label/a module on a multilingual site, a href= will break your paths/a because of an interaction with Drupalrsquo;s built in object cache. I looked at this briefly a few months ago and ran out of time, but my (badass) colleague a href= figured it out this week./p pFor now, the only solution is a slow one ndash; we clear static entity caches when we generate multilingual titles. Thatrsquo;s not an awesome fix, but itrsquo;s hard to think of a better one without any of the D8 cache tagging functionality. Massive kudos to bburg for figuring this out!/p pAnd for those of you keeping score, this is a good example of how to file a bug report for a really complex issue in a really popular modulehellip; and follow up until you resolve it./p

OhTheHugeManatee: D8 Core Sprint in DC

Tue, 07/01/2014 - 16:27
pA quick note to all the Drupalists in the DC general area ndash; Forum One is trying to put together a D8 core sprint in their DC office space. Theyrsquo;re coordinating with the DC Meetup group to try and spread the word to as many community members as possible!/p pIf you havenrsquo;t been to a code sprint before, itrsquo;s basically a coding party. Developers get together and help each other contribute better and faster by reviewing code on the spot, mentoring each other, and generally working in small ad-hoc groups. Itrsquo;s a lot of fun, and gives a big boost to development of the next generation of Drupal./p pForum One will provide the locale in downtown DC complete with pizza, beer, and soda. We also have a few of our core mentors on hand to help you get started if this is your first time contributing to core. Because of the building security, if you want to attend you a href= to register first/a! I wonrsquo;t be able to attend, but my colleagues a href= Brandenburg/a and a href= Goel/a will be there mentoring. Go sign up now!/p

Digett: A module I've been wanting for a long time — insert a block in WYSIWYG

Tue, 07/01/2014 - 15:35
div class=field field-type-filefield field-field-teaser-image div class=field-items div class=field-item odd img src= alt=Insert a block into the WYSIWYG in Drupal 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 pSometimes what you are looking for is right in front of you. I have been searching for a module to allow me to insert a block into a WYSIWYG field. I tried looking for a Drupal implementation like Wordpress Shortcodes, perhaps the SimpleAd module would do what I#39;m wanting, maybe there is a Ckeditor plugin written for this? I came up short./p pa href= target=_blankread more/a/p

Drupal core announcements: No Drupal 6 or Drupal 7 core release on Wednesday, July 2

Tue, 07/01/2014 - 15:17
pThe monthly Drupal core bug fix release window is scheduled for this Wednesday. However, the last release was a href= months ago/a, and there haven't been enough changes to the development version since then to warrant a new release./p p(Note that there will be a a href= 8 alpha release/a on July 2, but Drupal 8 is still under development and therefore on a different schedule than the stable core releases.)/p pUpcoming release windows include:/p ul liWednesday, July 16 (security release window)/li liWednesday, August 6 (bug fix release window)/li /ul pFor more information on Drupal core release windows, see the documentation on a href= timing/a and a href= releases/a, and the a href= that led to this policy being implemented./p

Blink Reaction: Austin Wrap-up - Drupal 8: The Friendly Platform

Tue, 07/01/2014 - 13:31
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpFor those of us living at the speed of Drupal each and every day, a href= target=_blankAustin/a seems light years away already. We’ve begun planning in earnest for a href= target=_blankDrupalcon Amsterdam/a and even a href= target=_blankDrupalcon Bogota/a and a href= target=_blankDrupalcon LA/a in 2015./p/div/div/div

Pixelite: Updating Drupal to use Google Analytics Universal tracking

Tue, 07/01/2014 - 06:58
div class=service-linksa href=;count=horizontalamp;via=amp;text=Updating%20Drupal%20to%20use%20Google%20Analytics%20Universal%20trackingamp;counturl=http%3A// class=twitter-share-button service-links-twitter-widget title=Tweet This rel=nofollowspan class=element-invisibleTweet Widget/span/a a href=;layout=button_countamp;show_faces=falseamp;action=likeamp;colorscheme=lightamp;width=100amp;height=21amp;font=amp;locale= title=I Like it class=service-links-facebook-like rel=nofollowspan class=element-invisibleFacebook Like/span/a a href= title=Plus it class=service-links-google-plus-one rel=nofollowspan class=element-invisibleGoogle Plus One/span/a a href= title=Share on Linkedin class=service-links-linkedin-share-button rel=nofollowspan class=element-invisibleLinkedin Share Button/span/a/div div class=field-body pSo Google Analytics has a new version of Google Analytics dubbed Universal Analytics, which has a bunch of new features, that could be handy for your website. I would dive into exactly what they are here, as you can read about them on a href='s own website/a./p pIn this post I will go through the steps to upgrade the Google Analytics 7.x-1.x module to the new 7.x-2.x version that supports Universal Analytics./p h2Update the Drupal module/h2 pIf you read the a href= Analytics module page/a you will spot that there are two different branches in use, in order to get the correct version you will need to get the 7.x-2.x version./p pYou can do this with Drush:/p precodedrush dl google_analytics-7.x-2.x drush updb /code/pre h2Event tracking/h2 pIf you have used custom event tracking in your website, a few changes are required./p pInstead of/p precode_gaq.push(['_trackEvent', 'category', 'action', 'opt_label', opt_value, opt_noninteraction]); /code/pre pIt is now/p precodega('send', 'event', 'category', 'action', 'opt_label', opt_value, {'nonInteraction': 1}); /code/pre h3Handy grep command/h3 pIf you want to find the offending lines of code, you can use grep/p precodegrep -nrI _trackEvent * /code/pre h2Custom variables are now dimensions and metrics/h2 pIf you were using the old style custom variables, these are now completely gone, now replaced with dimensions and metrics. You can a href= more about these on Google's website/a./p pInstead of/p precode_gaq.push(['_setCustomVar', 1, // Slot 'Customer Type', // Name 'Paid', // Value 1 // Scope (1 = User scope) ]); /code/pre pIt is now/p precodega('set', 'dimension1', 'Paid'); /code/pre h3Drupal support of custom dimensions and metrics/h3 pThe Drupal module has an active issue that allows you to configure this through the UI, unfortunately this is still only a patch at the moment, but is looking likely to be committed shortly (it maybe already if you are reading this now). For now I patched the Google Analytics module with Drush make/p precode; Google Analytics projects[google_analytics][type] = module projects[google_analytics][subdir] = contrib projects[google_analytics][version] = 2.x ; Implement custom dimensions and custom metrics ; projects[google_analytics][patch][] = /code/pre h2DoubleClick data/h2 pIf you were using the additional data that DoubleClick integration provided, this is now supported, this is just a tickbox on the admin settings page./p pTo enable it/p precodevariable_set('googleanalytics_trackdoubleclick', 1) /code/pre h2Other new features in Universal Analytics/h2 h3UserID tracking/h3 pThis effectively allows you to track the same user across multiple devices. This comes in handy if your users can login to your Drupal site, and they would likely login on their mobile phones, and tablets etc. You can read more on a href='s page about User ID tracking/a/p pTo enable it/p precodevariable_set('googleanalytics_trackuserid', 1) /code/pre h3Enhanced Link Attribution feature/h3 pAllows Google Analytics to differentiate URLs based on what link the user clicked on, really handy if you have many links pointing at the same page. You can read more on a href='s page about User ID tracking/a/p pTo enable it/p precodevariable_set('googleanalytics_tracklinkid', 1) /code/pre h2Finally/h2 pRun this little gem over your codebase to ensure there are no legacy Google Analytics code lying around./p precodegrep -nrI _gaq * /code/pre pLet me know if you have any tips or tricks in the comments for the new Google Analytics/p /div h3 class=field-label Tags /h3 div class=field-tags a href=/tag/drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=drupal/a /div div class=field-tags a href=/tag/drupalplanet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=drupalplanet/a /div div class=field-tags a href=/tag/google-analytics typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Google Analytics/a /div h3 class=field-label Source /h3 div class=field-source a href= module for Google Analytics/a /div h3 class=field-label Category /h3 div class=field-category a href=/category/tutorial typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Tutorial/a /div