Planet Drupal

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

Open Source Training: Drupal 7.32 is an Absolutely Necessary Update

Thu, 10/16/2014 - 11:03
!-- Start ScreenSteps Content -- div class=LessonContent div class=LessonSummary pimg style=float: right; src=https://www.ostraining.com/cdn/images/ostrainingcom/drupal-update.jpg alt=drupal-update width=200 height=200 /We're accustomed to the Drupal security team releasing security fixes./p pFortunately, most of the fixes were relatively minor. They either impacted a small group of sites, or they were unlikely to lead to your site being hacked./p pLet's take a brief look at the 4 previous Drupal security advisories in 2014:/pimg src=http://feeds.feedburner.com/~r/ostrainingdrupal/~4/N4pxNY2Ho6k height=1 width=1/

PreviousNext: Constructive Conflict Resolution in the Drupal Community

Thu, 10/16/2014 - 06:06
pHow can the Drupal community recognise and handle conflict more constructively? This core conversation session from DrupalCon Amsterdam aimed to start a discussion about creating an army of empowered bystanders ready, willing and able to use conflict as a positive force in the community./p span property=dc:title content=Constructive Conflict Resolution in the Drupal Community class=rdf-meta/span

PreviousNext: Constructive Conflict Resolution in the Drupal Community

Thu, 10/16/2014 - 06:06
pHow can the Drupal community recognise and handle conflict more constructively? This core conversation session from DrupalCon Amsterdam aimed to start a discussion about creating an army of empowered bystanders ready, willing and able to use conflict as a positive force in the community./p span property=dc:title content=Constructive Conflict Resolution in the Drupal Community class=rdf-meta/span

Midwestern Mac, LLC: Fixing Drupal Fast - Using Ansible to deploy a security update on many sites

Thu, 10/16/2014 - 06:01
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpEarlier today, the Drupal Security Team announced a href=https://www.drupal.org/SA-CORE-2014-005SA-CORE-2014-005 - Drupal core - SQL injection/a, a 'Highly Critical' bug in Drupal 7 core that could result in SQL injection, leading to a whole host of other problems./p pWhile not a regular occurrence, this kind of vulnerability is disclosed from time to time—if not in Drupal core, in some popular contributed module, or in some package you have running on your Internet-connected servers. What's the best way to update your entire infrastructure (all your sites and servers) against a vulnerability like this, and emfast/em? High profile sites could be quickly targeted by criminals, and need to be able to deploy a fix ASAP... and though lower-profile sites may not be immediately targeted, you can bet there will eventually be a malicious bot scanning for vulnerable sites, so these sites need to still apply the fix in a timely manner./p/div/div/div

Drupalize.Me: Tips for Applying Today's Drupal Core Security Update (SA-CORE-2014-005)

Wed, 10/15/2014 - 23:13
div class=field field-name-body field-type-text-with-summary field-label-hidden text-content text-secondarydiv class=field-itemsdiv class=field-item evenpToday a highly critical security update (SA-CORE-2014-005) was released for Drupal 7. Any Drupal site running Drupal 7.31 or lower needs to update to 7.32 or apply the patch immediately. Here are some tips to get your Drupal 7 site updated today!/p /div/div/divdiv id=comment-wrapper-nid-1877/div

Mediacurrent: 10 Reasons Why Marketers Are Moving to Drupal

Wed, 10/15/2014 - 22:11
img typeof=foaf:Image src=http://www.mediacurrent.com/sites/default/files/styles/thumb_blog_spotlight/public/10-reasons-marketers-01_0.png?itok=H_bQTVwi width=200 height=152 alt=10 Reason Why Marketers Are Moving to Drupal title=10 Reason Why Marketers Are Moving to Drupal / pMarketers around the world face the same pressures of trying to leverage a href=http://www.mediacurrent.com/blog/top-drupal-marketing-automation-modulesmarketing automation/a, a href=http://www.mediacurrent.com/blog/quick-guide-creating-content-marketing-strategycontent marketing/a, a href=http://www.mediacurrent.com/blog/7-reasons-why-your-company-should-be-using-social-mediasocial media engagement/a, a href=http://www.mediacurrent.com/blog/4-seo-tips-you-can-implement-todaySEO/a, and more to drive prospective buyers to engage with their brands./p

CMS Quick Start: Drupal 7 Login Methods and Module Roundup: Part 2

Wed, 10/15/2014 - 21:35
!-- google_ad_section_start --divdivdivdivdivdivbrdivLast time we explored some different options that determined how the login form was displayed on your site. Today we're going to expand on that and look at different ways of wrangling or changing the actual login experience for your users. The default settings aren't exactly very refined and so it can take some configuration to get a better user experience out of the whole process.!-- google_ad_section_end --div class=og_rss_groups/divpa href=http://www.cmsquickstart.com/blog/drupal-7-login-methods-and-module-roundup-part-2 target=_blankread more/a/p

CTI Digital: See the team behind Drupal 8 (all 2,300 of them!)

Wed, 10/15/2014 - 18: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 pOn October 1st 2014, Dries announced at DrupalCon Amsterdam that Drupal 8 had reached Beta 1, a significant milestone in the journey to Drupal 8.  /p divHe also revealed that 2,300 individuals have contributed to the Drupal 8 project. Pretty impressive - but hard to imagine, right?/div div /div divOne of our Drupal developers here at CTI decided to create a visualisation to express the flurry of activity before, during and after DrupalCon, which has culminated in this significant achievement. /div div /div divThe video Adam created helps communicate the true scale of the project. Enjoy…/div div /div piframe allowfullscreen= frameborder=0 height=315 src=//www.youtube.com/embed/gAxsrIr5hd4?list=UUylSUwvJHvEnYKQral4dadw width=560/iframe/p /div/div/div

LightSky: Are you Giving Back?

Wed, 10/15/2014 - 17:56
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpLightSky has been using Drupal for quite some time, but because of a lot of factors haven’t contributed as much during that time as we probably should.  Mike and I implemented a philosophical change about a year ago to make a concerted effort to give back.  It has been small steps for us though, we are a small organization and in a growing phase, so our resources to give back have been limited.  Starting with attending some Drupal camps, to building modules, contributing to core, and growing from there, we have made a pretty big effort on our end to help support the Drupal community and we think you should too./p pAgencies like us aren’t the only ones to give back though, companies of all different backgrounds across the globe use Drupal, and give back to the community.  Some, more directly than others, but even passively, giving back to the community is what keeps Drupal sustainable, and makes the platform so desirable./p h2 How Can a Widget Factory Give Back to Drupal?/h2 pThis is an interesting question, but it isn’t as complicated as one might think.  Look at all of our clients for example, they all give back to Drupal and many of them have no web experience, and can’t write or interpret even the most basic of code.  They give back through us.  They choose to partner with a company that gives back to the Drupal community, and that is a big deal.  There is great value in their support of the community for their company and their bottom line.  Open source projects are often some of the most cost effective choices in the software world, and Drupal is really no different. /p h2 Experience Not Needed/h2 pContributing doesn’t have to be through a third party though.  Content on Drupal.org can be updated by anyone with a user account.  Making documentation changes to a module that your organization is using, or building better documentation is a great way to give back, and anyone can do it.  But the way that I recommend companies give back is speaking at a Drupal camp.  Do a case study, it doesn’t have to be technical, show people how Drupal has helped your company./p pDrupal allows our clients to to have an enterprise level product, that is community based, and completely flexible, and often Drupal provides them a solution that no other software could really match.  But what created this excellent product is the community, and without people giving back regularly, this product would never exist.  So if you aren’t giving back, think about how you can, and if your Drupal firm isn’t giving back, make sure that they know you think they should./p h3 For more tips like these, a href=http://www.lightsky.com/lightsky-socialfollow us/a on social media or subscribe for free to our a href=http://www.lightsky.com/rssRSS feed/a and a href=http://eepurl.com/dx_ljnewsletter/a. You can also a href=http://www.lightsky.com/simple-contact-formcontact us/a directly or a href=http://www.lightsky.com/request-consultationrequest a consultation/a. /h3 /div/div/div

Drupal Watchdog: The Angry Themer

Wed, 10/15/2014 - 17:00
div class=field field--article-edit-printtype field-type-list-text field-label-hidden field--rss Column /div div class=field field--article-body field-type-text-long field-label-hidden field--rss pWelcome back to the ANGRY THEMER!/p pFaithful readers of this column who have followed my outbursts over the past few years might ask, “How can I prevent myself from turning into a grumpy old themer with high blood pressure like you?”/p pFortunately, the Drupal project has grown to include new tools to help battle-hardened Vikings such as I cope with Drupal’s terrible markup and keep my rage more or less under control. /p pAnd you, dear themer, no longer have to dive into code or understand the inner workings of Drupal, while also battling Responsive, Web 2.0, Internet Explorer versions 6,7, 8, 9..., Safari, Chrome, Firefox, or Opera – not to mention the gazillion tablets and smartphones. (Ah, but that’s another story, best saved for another day.)/p pThese are my favorite weapons – uh, I mean tools, tools of the trade – that I utilize when I need to slice through the Drupal Markup sludge./p h3Themes/h3 pDrupal contrib has a ton of “Starter Themes”; so you don't have to trudge through all the basics every time you design a site. /p pOf course my favorite theme is the Mothership (Full Disclosure: written by your very own Angry Themer), which isn’t so much a theme as a complete cleanup of Drupal’s approach to markup./p h4Mothership – Keelhaul the DIV!/h4 pThe a href=https://drupal.org/project/mothershipMothership theme/a is not something you use to make your site pretty; this isn’t Wordpress. It’s designed to make your source code look and act awesome by knifing through the sea of divs, classes, and about 20% of old markup fixes that come packed with Drupal, and deep-sixing it – leaving sparkling-clean HTML5 in its wake. /p pThe Mothership theme comes equipped to clean up nearly every dusty corner and musty absess of Drupal that needs cleaning up:/p ullisettings for removing class names/li licorrects the markup to HTML5 standards/li limodifies CSS amp; Javascript files/li /ulpIt also comes with commonly used basic CSS and JS libraries to help with responsive HTML5 sites, and now it even fixes the IE 9 CSS caching/respond.js issue./p pAs a bonus, you get to swagger and swear like a Caribbean pirate – and the ship’s captain strongly resembles Johnny Depp! /p pFor those less-aggressive themers out there (and you know who your are), maybe Zen or Aurora – which have a more relaxed attitude towards markup – are more your speed. /p /div

Drupal.org frontpage posts for the Drupal planet: Drupal 7.32 released

Wed, 10/15/2014 - 14:47
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenp style=position: inherit;Drupal 7.32, a maintenance release which contain fixes for strongsecurity vulnerabilities/strong, is now available for download. See the a href=https://www.drupal.org/drupal-7.32-release-notesDrupal 7.32/a release notes for further information./p div style=float: right; margin: 0 0 1em 1em; text-align: center; a href=http://ftp.drupal.org/files/projects/drupal-7.32.tar.gz class=link-button style=margin: 0 0 0.6em 0;spanDownload Drupal 7.32/span/a /div p style=position: inherit;stronga href=/upgrade/Upgrading/a your existing Drupal 7 is strongly recommended./strong There are no new features or non-security-related bug fixes in this release. For more information about the Drupal 7.x release series, consult the a href=https://www.drupal.org/drupal-7.0Drupal 7.0 release announcement/a./p !--break--div style=float: right; padding: 0 0 2em 1em; margin-left: 2em; width: 35%; border-left: 1px solid #cdcdcd; h2Security information/h2 pWe have a a href=/securitysecurity announcement mailing list and a history of all security advisories/a, as well as an a href=/security/rss.xmlRSS feed with the most recent security advisories/a. We strongstrongly advise Drupal administrators to a href=/securitysign up/a/strong for the list./p pDrupal 7 and 6 include the built-in Update Status module (renamed to Update Manager in Drupal 7), which informs you about important updates to your modules and themes./p h2Bug reports/h2 pBoth Drupal 7.x and 6.x are being maintained, so given enough a href=https://drupal.org/project/issues/search/drupal?status[]=8amp;categories[]=1bug fixes/a (not just a href=https://drupal.org/project/issues/search/drupal?status[]=1amp;categories[]=1bug reports/a) more maintenance releases will be made available, according to our a href=https://www.drupal.org/documentation/version-info#whenmonthly release cycle/a. /p/div h2Changelog/h2 pDrupal 7.32 is a security release only. For more details, see the a href=https://www.drupal.org/drupal-7.32-release-notes7.32 release notes/a. A complete list of all bug fixes in the stable 7.x branch can be found in a href=http://drupalcode.org/project/drupal.git/shortlog/refs/heads/7.xthe git commit log/a./p h2Security vulnerabilities/h2 pDrupal 7.32 was released in response to the discovery of critical security vulnerabilities. Details can be found in the official security advisory:/p ullia href=https://www.drupal.org/SA-CORE-2014-005SA-CORE-2014-005/a/li /ulpTo fix the security problem, please upgrade to Drupal 7.32./p h2Known issues/h2 pNone./p /div/div/divdiv class=field field-name-taxonomy-vocabulary-34 field-type-taxonomy-term-reference field-label-abovediv class=field-labelFront page news:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/903Planet Drupal/a/div/div/divdiv class=field field-name-taxonomy-vocabulary-5 field-type-taxonomy-term-reference field-label-abovediv class=field-labelDrupal version:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/120Drupal 7.x/a/div/div/div

Code Karate: Drupal 7 jQuery Countdown

Wed, 10/15/2014 - 14:36
div class=field field-name-field-episode-number field-type-number-integer field-label-abovediv class=field-labelEpisode Number:nbsp;/divdiv class=field-itemsdiv class=field-item even173/div/div/divdiv class=field field-name-field-ddod-video field-type-file field-label-hiddendiv class=field-itemsdiv class=field-item evenimg src=http://codekarate.com/sites/default/files/styles/large/public/media-youtube/2rKeTyLit2I.jpg?itok=SDchADJd alt=Drupal 7 jQuery Countdown - Daily Dose of Drupal episode 173 //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpIn episode 173 you learn about how to make a simple countdown timer using the a href=https://www.drupal.org/project/jquery_countdown rel=nofollowjQuery Countdown module/a. This module, which uses jQuery, allows you to specify an end date which the countdown timer will countdown to. The countdown timer is available as a block and can be placed in any region that you desire for your website. Also, at this recording their was a minor bug that didn't allow for countdown dates to extend beyond 100 days (wouldn't display the third digit)./p/div/div/divdiv class=field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-abovediv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/category/tags/drupalDrupal/a/divdiv class=field-item odda href=/category/tags/drupal/core-concepts/blocksBlocks/a/divdiv class=field-item evena href=/category/tags/drupal/drupal-7Drupal 7/a/divdiv class=field-item odda href=/category/tags/drupal-planetDrupal Planet/a/divdiv class=field-item evena href=/category/tags/uidesign/javascriptJavascript/a/divdiv class=field-item odda href=/category/tags/uidesign/javascript/jqueryJQuery/a/div/div/div

KnackForge: Drupal user picture deleted automatically

Wed, 10/15/2014 - 09:33
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodeddivSometimes you could be in a fury when user picture gets deleted automatically with nothing being noticed as strange. Even this thread a href=https://www.drupal.org/node/93559935592/a might not help you. Then you have come to right place. Ofcourse the culprit could be your call to user_save() somewhere. The actual issue might be, you are passing global user object instead of full account object. The first param of user_save() should be a full account object, while global a href=https://api.drupal.org/api/drupal/developer!globals.php/global/user/7user/a does not have all the data of account object. In this case $account-gt;picture is an object while $user-gt;picture is just an integer, fid (File id) of the image file. So while trying to save, your picture association with the user account gets broken. The reason can be understood by looking at the user_save() source code. The method checks for /div div pre class=brush: php; auto-links: true; collapse: false; first-line: 1; html-script: false; smart-tabs: true; tab-size: 4; toolbar: true; codetagempty($account-gt;picture-gt;fid)/pre/div divWhile using $user, this condition becomes false (we only have $account-gt;picture not $account-gt;picture-gt;fid) and user picuter is removed./div divSo make sure you call like this,/div div pre class=brush: php; auto-links: true; collapse: false; first-line: 1; html-script: false; smart-tabs: true; tab-size: 4; toolbar: true; codetagglobal $user $account = account_load($user-gt;uid); /*Some operations with $account object*/ user_save($account, $edit); /*NOT user_save($user, $edit)*//pre/div/div/div/div

Metal Toad: The Challenge to Innovation

Wed, 10/15/2014 - 01:06
div pimg alt= class=media-image img__fid__2379 img__view_mode__default attr__format__default attr__field_file_image_alt_text[und][0][value]__Light Bulbs Growing attr__field_file_image_title_text[und][0][value]__ src=https://d1i58erg7nfx53.cloudfront.net/sites/default/files/lightbulbsgrowing.jpg //p/div ul class=links inlineli class=0 first lasta href=http://www.metaltoad.com/blog/challenge-innovation rel=tag title=The Challenge to InnovationRead more/a/li /ul

Web Wash: Add Keyword Highlighting using Search API in Drupal 7

Wed, 10/15/2014 - 00:44
div class=field field-name-field-ww-summary field-type-text-long field-label-hiddendiv class=field-itemsdiv class=field-item evenpa href=https://www.drupal.org/project/search_apiSearch API/a has been my go-to module for building search pages for the last two years. Even if the client doesn't ask for anything fancy, I still download and install Search API, use a href=https://www.drupal.org/project/search_api_dbDatabase Search/a for the index and a href=https://www.drupal.org/project/viewsViews/a for the page./p pIf you start with Search API from the beginning, then it's easier to customise later on. The core Search module, on the other hand, is easy to setup but hard to modify./p pRecently, I had to create a search page that highlighted the keywords in the results. If you search using a particular keyword, then the word is highlighted./p /div/div/div

Commerce Guys: DrupalCon Amsterdam Wrap Up

Tue, 10/14/2014 - 20:22
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodeddiv img alt=DrupalCon Amsterdam src=https://i.commerceguys.com/events/amsterdam/images/DC-amsterdam-badge-guy-p.png style=width: 340px; height: 286px; float: right; margin-left: 10px; margin-right: 10px; /Wow!!! As I think about the week spent in Amsterdam, I am in awe of the entire experience. This beautiful place has a very long and eventful history dating back to the 12th century, and was the perfect setting for DrupalCon Amsterdam 2014. As I think back upon the week, so many words come to mind that reflect emotions I felt while there: emstrongfestivity, jubilance, liveliness, pride and treasure/strong/em./div div  /div div Having only been with Commerce Guys for a short 3 months, I wasn’t sure what to expect. I’ve been in the world of technology for over 13 years, and I’ve been around the block more than once with emerging technologies within the word of digital commerce. This experience for me personally will be one that I will forever treasure.  /div div  /div div I said on many occasions that I felt like a fish out of water just trying to get some air. I consider myself fairly smart – I realized in Amsterdam with these magnificent people that any hopes of me getting an invite to be part of Mensa International most likely will never happen. Their kindness and willingness to welcome me to the world of Drupal was more than I could ever ask for./div div  /div h2 Henry Ford once said, “Coming together is a beginning; keeping together is progress; working together is success.”/h2 div The amazing group of people whom I refer to as the “Drupal People” (all 2,370 of them in attendance) embody this quote by Henry Ford. These are some of the most amazing, generous and intellectually aware people I have ever had the experience to associate with. /div div  /div div There was something rare and unique about this group of “Drupal People”. I believe that rareness is their desire to work together for one common goal…it’s what sets them apart from so many others. That goal is to serve the customer, and to provide the best of the best when it comes to a solution that is cost effective, manageable and scalable. From small startup business to full-blown enterprise organization, we have a solution that will work. Whether you are a current Drupal customer or are looking to make a change over to Drupal, I am here to tell you that the “Drupal People” truly are working together in a spirit of togetherness that will make Drupal the platform of the future (if they haven’t already).  /div div  /div div I mentioned in the first paragraph some adjectives such as festivity, jubilance, liveliness, treasure and pride. There are two that stand out above all the rest: emstrongpride and treasure/strong/em. I can’t be more proud of the company I have the privilege of working for and the people I have the opportunity to work with. Each and every team member of Commerce Guys brings to work a sense of pride that can’t be explained; only witnessed. Many sleepless hours are spent building the best of the best and ensuring that our customers know only one name: and that name is Drupal, a rare treasure./div div  /div div I am excited about the next DrupalCons in Bogota, Los Angeles and Barcelona in 2015. As always, Commerce Guys will be there loud and proud supporting Drupal Commerce, Platform.sh, our partners, and the great people who are advocating the vision and future of Drupal.  /div div  /div div img alt=DrupalCon Amsterdam src=https://commerceguys.com/sites/default/files/blog/files/Amstrdam%20Picture%202.jpg style=width: 300px; height: 400px; float: left; margin: 10px; /Cheers to the beautiful city of Amsterdam, the fine people of Amsterdam, and each and every one of you who make what we do possible./div div  /div div Thanks again for welcoming me to the Drupal Community in Amsterdam, I will be back!!!/div div  /div /div/div/div

Aten Design Group: Drupal Migrate for Development Content

Tue, 10/14/2014 - 19:43
img src=http://atendesigngroup.com/sites/default/files/drupal-migrate.png width=1000 height=600 alt= /pDrupal and many of the people who work with it are moving toward a configuration in code model of site development. One of the advantages of a config in code approach is that the code you add, share, and modify works for all the members of your team and across environments. Instead of everyone syncing databases (or passing around notes on how to update their environment because something changed), everything stays up-to-date with the latest code in your version control system. This essentially provides a known, common state for everyone to work against./p pConfiguration only gets you part of the picture, though. Modules like Features and configuration initiatives for Drupal 8 separate configuration from content. Configuration is sharable settings; content is the information that site stores/uses. This separation makes sense in organizing your code or site, but leaves a big gap in your ability to build and test a project. If I'm working on a project locally, I can't share a link to the article node I'm having trouble with because it’s a combination of configuration and content that exists only on my local machine./p pYou need standardized content to test against and to provide a common ground to review variations with your team. But what do you do when you're starting on a project and you don't have content from a client yet? You still need to develop code that uses content and you still need to style the site./p pLuckily, we can use a common approach for bringing in content from another source, the a href=http://drupal.org/project/migrateMigrate module/a, to help create content we can share and test against. Additionally, the content can be updated, version controlled, and contributed back as the project rolls forward. And – this is very important for development content – when we're finished with dev content we can remove it with Migrate's rollback functionality. Content created with some modules like Devel Generate and even manually created development content aren’t easily removed when you're finished. At Aten, we commonly had many nodes with DELETE in the title to make it easy for us to find and remove it later, which is less than ideal./p pHow does this all work? This is our internal workflow:/p ul liCreate a resources folder in your project. Typically we now have a root level that has resources, a public_html folder (which has the Drupal files), and other project files./li liInside of the resources, we create a content directory and add content files like YAML files, CSVs, etc. (more on that in a minute)/li liWe have started to use a href=http://gulpjs.comgulp/a and we have a task that will convert the YAML files to JSON./li liWe create a custom module in the project for migrate and add migrate classes for each of the content files we need to import. Typically this will be something like project_content. For dev specific content, we name the migrations with Dev on the end. When we have production content (which is awesome to have early in a project), we leave that suffix off the class name since that content isn't something we need to rollback later. /li liWe've created a script that is shared in the project that enables/disables modules, enables and reverts features, runs the migrations, updates various other things related to the project setup. If I add a new migration, I update that script's configuration to include it for others working on the project. I hope to share more about this script soon./li /ul h2Creating Test Content/h2 pNow we need to create the content. Typically this requires some insight provided by our Drupal architecture document, but I have also created a couple of tools to help out with this process which help me stay in code:/p ul lia href=http://drupal.org/project/drush_typeinfodrush typeinfo/a/li lia href=http://drupal.org/project/drush_taxonomyinfodrush taxonomyinfo/a/li /ul pThe typeinfo commands allow you to inspect content types/entities on the site. For example, if you are going to create content for an Article content type, you would run:/p div class=geshifilterpre class=geshifilter-textdrush typeinfo article/pre/div pThat will output the content type's fields, field types, and some other information. Often this provides a good overview of what pieces you will need to create in your content file. If you have a taxonomy or entity reference field in that content type, you can also get more information about that via another typeinfo command:/p div class=geshifilterpre class=geshifilter-textdrush typeinfo-field field_article_type/pre/div pThis will return a few specifics that may show you the taxonomy that field uses. And now we can use the taxonomyinfo command to list terms in that vocabulary:/p div class=geshifilterpre class=geshifilter-textdrush taxonomyinfo-term-list article_type/pre/div pWe can also extend this functionality to automatically stub some of the content (à la a href=http://drupal.org/project/devel_generatedevel-generate/a) by creating another drush command. This command lets us get the YAML with some data populated for us:/p div class=geshifilterpre class=geshifilter-textdrush stub-content article --include-id --include-title --count=5 gt; resources/content/article.yaml/pre/div pAn example of this command is here: a href=https://gist.github.com/robballou/a7aa247aa7bdfb3a1b2chttps://gist.github.com/robballou/a7aa247aa7bdfb3a1b2c/a/p pThe stub content functionality makes some really rudimentary content and you can expand that with content from your favorite ipsum replacement or other sources./p pWe can migrate from a variety of sources: from CSV files, JSON files, or even other databases. CSV files are a popular choice because you can collaborate on a spreadsheet (especially via Google sheets) and export that data. JSON is another nice solution because the data can match the destination closely. In some of our projects we have even used YAML and converted that to JSON since the readability of YAML is slightly better than JSON — which means we can have people write content who don't know the ins-and-outs of JSON!/p pSome systems may have access to a PHP YAML library and it could be used to create a Migrate YAML source class. This would eliminate the need to convert files but may rely on that YAML library to be available on local, staging, and production servers. We've used the node.js/gulp approach because it can be shared between environments and projects that may not have this PHP support built in. Migrating and Removing Test Content/p pThis article won't get into the details of creating your Migrate code, but the next step in the process is creating and testing the code to get this content into Drupal. When this is done, commit this to your version control system to share with others working on the project or with other systems./p pAs an example, we'll say we created a migration called ArticlesDev which has a handful of articles in it. The content uses a variety of the fields in the content so we can make sure all the functionality works and includes several nodes so we can test lists of various sizes. We can import the content into any system with:/p div class=geshifilterpre class=geshifilter-textdrush migrate-import ArticlesDev/pre/div pIf the article content type changes down the line, you can update the content files and re-run the migration, updating the existing content (or adding new content):/p div class=geshifilterpre class=geshifilter-textdrush migrate-import --update ArticlesDev/pre/div pDevelopment-specific content may never get imported on shared systems, but if you do want to use that content for client acceptance testing or for any other case, you can easily remove this content with:/p div class=geshifilterpre class=geshifilter-textdrush migrate-rollback ArticlesDev/pre/div h2Content in Code/h2 pIf you're working in a team or if you need a client to review functionality, development content can be very handy. Building on this workflow, you can get a set of content in place early in the process, update it as things change, and get rid of it if you don't need it anymore. Your team and your clients have a common ground when discussing the project. As a bonus, your development migration code can be used as a basis for creating or importing live content as you get it from the client./p

SitePoint PHP Drupal: Quick Tip: Up and Running with Drupal 8 in Under Five Minutes

Tue, 10/14/2014 - 18:51
ppIn this a href=http://www.sitepoint.com/tag/quick-tip/quick tip/a, we’ll be installing a local instance of a href=https://www.drupal.org/drupal-8.0.0-beta1Drupal 8, beta 1/a. By the end, you’ll have a copy of Drupal that’s not only ready to be extended with Symfony bundles and other packages, but also ready to accept content and display it to end users./p h2 id=step-1-prepare-environmentStep 1: Prepare Environment/h2/ppemContinue reading %a rel=nofollow href=http://www.sitepoint.com/quick-tip-running-drupal-8-five-minutes/Quick Tip: Up and Running with Drupal 8 in Under Five Minutes/a%/em/p

Open Source Training: The Payment Module: A Simpler Alternative to Drupal Commerce

Tue, 10/14/2014 - 18:45
!-- Start ScreenSteps Content -- div class=LessonContent div class=LessonSummary pHere at OSTraining we've given significant coverage to Drupal Commerce. You can a href=https://www.ostraining.com/courses/class/drupal/commerce/watch a video class/a with nearly 30 lessons and download a book, a href=https://www.ostraining.com/blog/news/commerce-zurb/Building E-commerce Sites with Drupal Commerce/a./p pHowever, Drupal Commerce is an enterprise-quality solution and a good number of OSTraining members have asked for simpler solutions./p pFor those members, we often recommend the Payment module which makes it easy to add e-commerce fields to your content./p pPayment supports about half-a-dozen gateways (PayPal, Stripe, iDEAL, Authorize.net, Ogone, Rabo OmniKassa) and we'll use PayPal in this tutorial./pimg src=http://feeds.feedburner.com/~r/ostrainingdrupal/~4/Kr5618Hu9dI height=1 width=1/

DrupalCon Amsterdam: Doei Doei, DrupalCon Amsterdam

Tue, 10/14/2014 - 18:04
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpemThis post was originally shared on the a href=https://assoc.drupal.org/blog/leighc/doei-doei-drupalcon-amsterdamDrupal Association blog/a./em/p pDrupalCon Amsterdam has wrapped up, and now that we're over the jet lag, it's time to look back on one of the most successful DrupalCons to date. DrupalCon Amsterdam was the largest European DrupalCon yet, by far. Just to knock your socks off, here are some numbers:/p ulli More than 2,300 attendees showed up to 120 sessions and nearly 100 BoFs/li li 115 attendees showed up to the community summit and the business summit/li li 146 training attendees, 400 trivia night attendees, and 400 Friday sprinters made the week a success/li li …and through it all, we ate 1,200 stroopwafels./li /ulpThe fun extended to more than just the conference -- with 211 transit passes and 56 bike rentals, attendees from over 64 countries were able to enjoy all the city of Amsterdam had to offer. What a success!br / As with any DrupalCon, DrupalCon Amsterdam wouldn't have been a success without lots and lots of help from our passionate volunteers. We'd like to take a moment to send out a big THANK YOU to all of our track chairs and summit organizers:/p ulli Pedro Cambra - Coding and Development/li li Théodore Biadala - Core Conversations/li li Steve Parks - Drupal Business/li li Lewis Nyman and Ruben Teijeiro - Frontend/li li Michael Schmid - Site Building/li li Bastian Widmer - DevOps/li li Cathy Theys, Ruben Teijeiro, Gábor Hojtsy and the Core Mentors - Sprints/li li Adam Hill and Ieva Uzule - Onsite Volunteer Coordinators/li li Baris Wanschers - Social Media/li li Emma Jane Westby - Business Summit/li li Morten Birch and Addison Berry - Community Summit/li /ulpWe also appreciate everything our a href=https://www.drupal.org/core-mentoringcore mentors/a did to make DrupalCon Amsterdam a hit — and it’s thanks to lots of hard work from our passionate community members that a href=https://www.drupal.org/drupal-8.0.0-beta1Drupal 8 is in Beta/a!br / We hope you had as fun and exiting a time in Amsterdam as we did. For those of us who weren’t able to make it, and even for those who were, you can relive the fun on the flickr stream, or catch any number of great sessions on the a href=https://www.youtube.com/playlist?list=PLpeDXSh4nHjQBf_SOdQgY-k6TnbCn3pSjDrupal Association YouTube channel/a.  And remember to mark your calendar for a href=https://barcelona2015.drupal.org/DrupalCon Barcelona/a in September 2015. See you there! Below is Holly Ross' set of slides from the Amsterdam closing session./p p stronga href=https://www.slideshare.net/DrupalAssociation/drupalcon-amsterdam-closing-session target=_blank title=DrupalCon Amsterdam Closing SessionDrupalCon Amsterdam Closing Session/a /strong from stronga href=http://www.slideshare.net/DrupalAssociation target=_blankDrupalAssociation/a/strongbr /emImage credit to a href=https://www.flickr.com/photos/peterlozano/15445811642/in/pool-drupalconamsterdamPedro Lozano/a on Flickr./em/p /div/div/div