Planet Drupal

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

3C Web Services: How to: Drag amp; Drop Multiple Image Upload for Drupal 7

Fri, 12/19/2014 - 19:26
pDrupal 7 provides a file field that allows for uploading files and images to your Nodes but it is limited in functionality. The core file field only allows for uploading one file at a time and does not permit drag and drop functionality. Hower, with a few modules and a little bit of configuration we can easily provide this functionality to your site./p p class=headingMODULES/p pFirst download and install the following modules:/p

Drupal Association News: Meeting Personas: The Drupal Master

Fri, 12/19/2014 - 18:00
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpemimg alt=Chris Luckhardt, Drupal Master class=left src=https://assoc.drupal.org/files/chris-luckhardt-240x240.jpg style=width: 240px; height: 240px; /This post is part of an a href=https://assoc.drupal.org/personal-blog-tags/persona-interviewsongoing series/a detailing the a href=https://assoc.drupal.org/blog/tvn/introducing-drupal.org-user-personasnew personas/a that have been drawn up as part of our Drupal.org user research./em/p pChris Luckhardt is a familiar face in the North American Drupal scene. An active member of the Toronto Drupal community and a frequent attender of camps, meet-ups, conventions, and more, Chris is a Drupal master in many ways, and an expert in others./p p“I’m a Drupal specialist and I do photography on the side,” Chris says of himself. “I tend to do a lot of everything, which is why I call myself a specialist — because I specialize in different elements of Drupal. My favorite areas of Drupal are site building, dev-ops, and front-end development, and I do a lot of agile and scrum project management./p h2 An Industry Veteran/h2 pChris began his Drupal journey with Drupal 6, back in 2008. He’d already worked in web technology for a while, like with Microsoft's proprietary ASP and C#, dabbled in open source products like PHP, and worked with Linux, Apache, and mySQL./p p“I knew that open source values aligned very well with my personal philosophies,” Chris said. “I’d worked on some proprietary software, and by the time I’d finished one particularly bad DotNetNuke project I decided I was going to move on in my career and go totally open source. Around that time, Drupal 6 came out and it coincided with a DrupalCamp Toronto event that was happening. It must have been Toronto's third or fourth DrupalCamp. James Walker, who had a hand in forming the Toronto Drupal group, was there, and I talked to him about what I was looking for in an open source solution to work with. He said, 'yeah this is the right option based on everything you’ve told me,’ and that was how I got started. I’ve considered him a mentor for years./p p“I took the time to learn Drupal properly,” Chris continued. “I went to a few Lullabot workshops back in the day, took on some projects, and the rest is history. We all started at one point,” he said of his fellow Drupal users./p p“For me, learning things the Drupal way was the biggest challenge, as opposed to coming in and doing some PHP coding. What helped me learn — and what helps me to this day —  is the user group meetings. I think by far being involved in the community is the most important thing. It's the gateway — asking questions and seeing presentations is really valuable. Of course, the issue queue is the best way to self-learn, but in my opinion the best learning happens from talking to people, because someone has stumbled across your problem before./p h2 Drupal: Powered by People/h2 pChris has been active in Drupal for years, both professionally and in the larger Drupal community. “Come for the code, stay for the community is the number one reason why I use Drupal,” Chris said. “There are so many other amazing developer communities out there, like PHP, HTML5, Javascript, Angular... I’ve dabbled in all of those and they’re all fantastic, but there’s just something about our community that is very representative of open source technology and community building./p pWhen it comes to that community, Chris is concerned about how to grow it both locally and globally. “We have a very specific problem here in Toronto, but I think everyone has dealt with it too. We have a batch of old-school Toronto Drupal user group members who date back to 05-08, and we have an influx of new people. This means we have a set of introductory and beginner users — you know, people who come in like, “what’s a Drupal?” — and then we have the advanced users branching into all sorts of wild territory with Drupal./p pIt’s hard to cater to both groups in one meet-up and even at our DrupalCamps that we plan every year. We recognize, if we try to cater to the introductory users we’ll turn away the advanced users, and they won’t be interested in coming out, but if we do really advanced sessions and training at our meet-ups, the new people show up and they won’t have any idea what’s going on./p p“Between James and myself, we decided to address the problem by doing an introductory presentation and then a more advanced presentation during our meetups. For bigger events, it’s a little different. I created the schedule at the last DrupalCamp, and I engineered it so that there would be enough difference between overlapping session timeframes that it would work to the benefit of both the introductory and the advanced attendees…though unfortunately there's not much middle ground./p h2 Linguistic Barriers to Entry/h2 pChris’ other observation about problems with growing Drupal is the language barrier. “I was presenting at a DrupalCamp in Kyoto, and someone raised his hand and said, 'I want to learn Drupal, but I don’t understand Views. How do I learn it?’ So I told him that there are tons of tutorials on YouTube, and he responded, 'But...they are all English.' It occurred to me that those videos show you what to do, but if you don’t understand the spoken information -- why would I click this button, why would I do that -- the vocalization aspect is incredibly important. So there’s a real serious lack of Japanese documentation for people to learn Drupal— and not just Japanese, other languages, too. There’s some work being done by the Japanese community organizers around translating some of the books, like Emma Jane and Angie’s books, so it’s a start./p p“So, the biggest challenge I see with Drupal and Drupal.org is how to manage the education… And, actually, sometimes I feel bad about calling myself a Drupal master because the learning curve never stops. It only becomes less dramatic with years of experience./p pTo see how we plan to address some of the challenges Chris has identified, keep an eye out for conclusion to our Personas series, or look at the a href=https://www.drupal.org/personasresults of the user research/a we’ve performed on Drupal.org./p /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=/personal-blog-tags/drupal.org-user-researchdrupal.org user research/a/divdiv class=field-item odda href=/personal-blog-tags/persona-interviewspersona interviews/a/div/div/div

LevelTen Interactive: Video: Better Content Formatting Using CK Editor, Bootstrap amp; Drupal

Fri, 12/19/2014 - 17:56
img typeof=foaf:Image src=http://getlevelten.com/sites/default/files/styles/600x300/public/content/blog/images/formattingcontent.jpg?itok=T04jE36m width=600 height=300 alt= / style type=text/css !--/*--![CDATA[/* !--*/ !--/*--![CDATA[/* !--*/ .content .node-enterprise-blog .ds-middle .field-image { display:none; } /*--!]]]]![CDATA[*/ /*--!]]*/ /stylepiframe allowfullscreen= frameborder=0 height=480 src=//www.youtube.com/embed/rPbgQmICL5g?rel=0amp;showinfo=0 width=100%/iframe/p pa href=http://getcm2.com/products/features target=_blankCreating and promoting content/a is crucial for your business, and it can be very frustrating at times.... a href=/blog/brent-bice/video-better-content-formatting-using-ck-editor-bootstrap-drupal class=more-linkRead more/a/p

Annertech: Code that makes Programmers Perform

Fri, 12/19/2014 - 16:36
span class=field field-node--title field-name-title field-type-string field-label-hiddenCode that makes Programmers Perform/span div class=field field-node--body field-name-body field-type-text-with-summary field-label-hidden div class=field-items div class=field-itempCode that performs well should be an assumption, not a requirement. I've never had a client ask me, “will your code make my site run slower? Clients just assume that I'm going to deliver a codebase that does not hold things up./p/div /div /div

Mediacurrent: New Year#039;s Resolutions: Drupal Edition

Thu, 12/18/2014 - 22:46
img typeof=foaf:Image src=http://d1l4od7sxc8nwf.cloudfront.net/sites/default/files/styles/thumb_blog_spotlight/public/drupal-new-year-resolutions-01.png?itok=G3eKj0UU width=200 height=152 / pLose weight. Eat better. Run a 5K. Travel more. These are resolutions we all make year after year. But this year, we challenged our team to think outside the box and inside the drop. Now that 2014 has come and gone, and we prepare to countdown to 2015, we asked our team what they are looking to accomplish in Drupal in the New Year./p p“Get more of my modules out for a href=http://www.mediacurrent.com/blog/resource-guide-drupal-8 target=_blankD8/a.” - a href=http://www.mediacurrent.com/about/our-team/andrew-riley target=_blankAndrew Riley/a/p

Drupal Watchdog: At Your Request

Thu, 12/18/2014 - 19:29
div class=field field--article-edit-printtype field-type-list-text field-label-hidden field--rss Feature /div div class=field field--article-body field-type-text-long field-label-hidden field--rss pimg src=http://cdn1.drupalwatchdog.com/sites/default/files/images/web/4.1-AtYourRequest.jpg alt=Photo class=img-responsive img-thumbnail width=45% align=right /In the beginning there was the Common Gateway Interface, commonly known as CGI – a standard approach used to dynamically generate web pages. Originally devised in 1993 by the NCSA team and formally defined by emRFC 3875/em in 2004, CGI 1.1 took seven years to go from the original RFC to an endorsed standard./p pIn 1994, not long after the original CGI standard was documented by NCSA, Rasmus Lerdorf created Personal Home Page tools (PHP Tools), an implementation of the Common Gateway Interface written in C. After going through a number of iterations and name-changes this grew to be the PHP language we know and love./p pOne of PHP's strengths was the way in which it made many of the request and server specific variables, as defined by the CGI standard, easy to access – through the use of superglobals, namely span class=geshifiltercode class=php geshifilter-php$_POST/code/span, span class=geshifiltercode class=php geshifilter-php$_GET/code/span, and span class=geshifiltercode class=php geshifilter-php$_SERVER/code/span. Each of these is an associative array. In the case of span class=geshifiltercode class=php geshifilter-php$_POST/code/span, the request body is parsed for you and turned into an array of user-submitted values, keyed by field name, and conveniently supporting nested arrays. Similarly for span class=geshifiltercode class=php geshifilter-php$_GET/code/span, the query string is parsed by PHP and turned into a keyed array. In the case of span class=geshifiltercode class=php geshifilter-php$_SERVER/code/span, the gamut of server-specific variables are available for your script to interrogate./p /div

Blink Reaction: Try Drupal 8 now

Thu, 12/18/2014 - 19:08
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpspan style=line-height: 1.538em;You may have heard and read a lot about Drupal 8 lately, without much support to go along with it. Well here at Blink Reaction, we are working on changing that and contributing as much help as we can to the community with the issues that we’ve come across so far in Drupal 8. In this post I will /spanspan style=line-height: 1.538em;show you how you can try Drupal 8 by installing dependencies such as composer and drush so you can have a Drupal 8 site running on your local machine./span/p/div/div/div

Cheeky Monkey Media: My BADCamp 2014 Experience

Thu, 12/18/2014 - 18:00
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpI have been privileged to be able to attend a number of conferences and events, such as a href=/blog/look-monkeys-austin-drupalcon-2014 target=_blank title=DrupalCon AustinDrupalCon Austin/a, a href=/blog/web-development/drupalcon-portland-2013-wrap target=_blank title=DrupalCon PortlandPortland /aetc,  since we started Cheeky Monkey Media. In the past, we’ve talked about having your a href=/blog/drupal-planet/drupalcon-survival-kit target=_blank title=DrupalCon Survival KitDrupalCon Survival kit /aprepared before you head out the door to help make...a href=/blog/drupal-planet/my-badcamp-2014-experience class=more-linkRead More/a/p/div/div/div

LevelTen Interactive: Video: Valuate Content Using Google Analytics and Drupal

Thu, 12/18/2014 - 17:42
img typeof=foaf:Image src=http://getlevelten.com/sites/default/files/styles/600x300/public/content/blog/images/videoimage.png?itok=rQoBkUNq width=600 height=300 alt=Open Enterprise Scorecards / style type=text/css !--/*--![CDATA[/* !--*/ !--/*--![CDATA[/* !--*/ .content .node-enterprise-blog .ds-middle .field-image { display:none; } /*--!]]]]![CDATA[*/ /*--!]]*/ /stylediv class=file file-video file-video-youtube p class=rtecenteriframe allowfullscreen= frameborder=0 height=480 src=//www.youtube.com/embed/A__S2YudnFI?rel=0amp;showinfo=0 width=100%/iframe/p... a href=/blog/kylon-gustin/video-valuate-content-using-google-analytics-and-drupal class=more-linkRead more/a/div

Bluespark Labs: Failure to Launch

Thu, 12/18/2014 - 16:52
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even pWe’ve all been there. The clock is ticking down to launch and the issues keep mounting./p pSome issues are launch critical, but many of them could wait until after the site has been launched. Some are new features disguised as bugs. All of them, though, will delay the launch. And no matter where you sit on the project team, not launching on a deadline that you know you can meet can be extremely frustrating—especially when those delays can last months or even years. (Yes, I said years!)/p h3strongWhy are delayed launches bad? /strong/h3 pBefore we explore how to avoid unnecessary launch delays, let’s explore why delaying launches can be a problem. Maybe you need some convincing.../p pThe biggest risk is that the developers and designers will emforget what they’ve done and why they’ve done it/em. When you’re in the midst of building a complicated website, it’s challenging to remember why you made certain decisions along the way. But if you have to revisit something two or even three weeks later (not to mention months later), you might have forgotten that a changing a piece of code will actually affect three different components—not just the one you need to update. This leads to more bugs, more testing, and more delays./p pAnother critical factor in launching: emmorale/em. The project team has poured their time and energy into the project and delays deny them final gratification. Especially if they’ve done something cool on the project that they want to show friends, colleagues, or even prospective clients. But they can’t because the site hasn’t launched./p pLast, the project will nibble away at the project team’s time and focus. It’s hard to get into the groove on a new project when you need to spend a few hours a week updating an old project that just won’t launch! It’s the tetris problem of project management and the more of these little pieces you have lying around, the harder it is to effectively allocate resources—and the harder it is for those resources (aka people) to actually finish a task./p h3strongTo delay or not to delay?/strong/h3 pDespite all these issues, sometimes a launch delay is necessary. Maybe a feature is more complicated than you expected and the timeline needs to be adjusted. Or maybe an entire set of requirements were missed somewhere along the line—and those requirements are absolutely, 100% critical for project success. Any of these should be reasonable and limited delays as the problems outlined above still stand. The longer the delay, the bigger these issues become./p h3strongA few common problems that delay launches unnecessarily/strong/h3 pThere are many, many little problems that unnecessarily delay your launch, but there are a few that have resurfaced a time or two for us./p pIf you are migrating data from one database to another, a big pothole on the road to launch will be inconsistencies in source data. Do not wait until the end of the project to test the data import—even if you’ve provided explicit instructions on how to format the data. There will always be problems with inconsistent data when doing an import. Expect it, embrace it, plan for it./p pProbably the most annoying thing to delay a launch: infinite nitpicking. People reviewing the site want the logo a little to the left—no, move it back. Or they want to see the homepage with a different style component for featuring content on the homepage. These nitpicks do nothing to move the project closer to launch. What’s more, actually launching can often quiet the flow of the nitpicks./p pBut the biggest factor in delaying launches: scope creep. There are actually a few of ways that scope creep can sneak into a project and you need to keep a steadfast eye on them. More than anything, launching on time is about managing scope./p pThe fastest way for scope to creep: your client talking directly with your designer or developer and making a suggestion or two. The developer thinks these are fairly simple, reasonable requests, so implement them without consulting other people on the team. One or two of these won’t kill a timeline, but 5 or 6 will as each of them adds new testing time and even creates some confusion on the team. In the worst case scenario, what the developer thought would be easy ends up being more complicated—and once you’ve promised something, it’s difficult to back out./p pAnother way scope creep wiggles its way into projects: New features disguised as feedback on an existing ticket. This is not always an easy thing for developers to see as it can happen so gradually—an actual bug leads to another bug leads to some re-thinking on how the feature should actually work. Maybe the new direction is better than the old, but it’s still going to delay timeline and increase costs—both of which need to be accounted for./p h3strongGet that site launched!/strong/h3 pSo how do you do it? How do you maneuver the project out of launch limbo so that it can be released to the world? It ain’t easy. But there are a few practices we’ve developed over the years that can make a big difference./p pThe easiest way is to prepare for launch at the outset of the project. If you wait until time to launch to set clear expectations about your launch process, then you’re going to have a bad time./p pFirst, you want to change their mindset about what a website actually is. Many people still view websites as stagnant, immovable forces that, once launched, will never, if rarely, get updated, which is why they want everything absolutely perfect prior to launch. This mindset needs to change. The web is, and has always been, an evolutionary medium. New learning can happen quickly and what you thought was perfect at launch, may prove to be fatally flawed. Better to launch something that is good enough that can evolve based on feedback./p pSecond, pursue a retainer as soon as possible. Not only will having a retainer allow you to reinforce the idea that the web is an evolutionary medium, but will also give you the runway to help them evolve their ideas without having to scrounge around at the end (which can often leave clients feeling like you’re doing a bait-and-switch on them)./p pLastly, if you can, add some time at the end of the project—even if you don’t tell the client—or them to nitpick and tweak features. It’s going to happen no matter how great the client is or how much you prep them, so if you can make that part of the schedule, you can avoid unnecessary delays (and maybe even launch early if they have limited nitpicks)./p pAll these suggestions are great, but are only effective if used at the outset of the project. What happens if you get to the end of the project and you’re running into these problems?/p pWell, you’re S-O-L./p pNot really. (But it is harder to get the client focused if you haven’t been talking about it throughout the project.)/p pAs the clock ticks down to launch, you need to change the rules for filing bugs a bit. Add a new facet to your bugs: launch-blocker. Only bugs flagged as a launch-blocker will get fixed prior to launch. Everything else will get prioritized and resolved post launch. This will require some finesse on your part as what the client thinks is a launch-blocker and what you think is a launch-blocker may be two different things. But you want to reserve the launch-blocker flag for things that are critically broken. (Hopefully you don’t have too many of those at this point!) Everything else can be fixed after launch./p pIn fact, you can even work this into your process and include that in your periodic process overview discussions./p h3strongLaunch!/strong/h3 pLaunching a new or updated website can be challenging, but with enough preparation and planning, you can minimize the tendency that clients have for delaying launches. Help them understand why delayed launches are bad. Recruit them as partners to help you stay on time and only delay when absolutely necessary./p /div/div/divdiv class=field field-name-field-blog-tags field-type-taxonomy-term-reference field-label-abovediv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/blog/drupal-planetDrupal Planet/a/div/div/div

Blair Wadman: What is a Drupal developer?

Thu, 12/18/2014 - 15:30
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpAs the Drupal market continues to rock and roll, more and more clients need Drupal Developers. But what exactly is a Drupal Developer? A Drupal Developer is someone who knows Drupal right? Right?!/p/div/div/div

Drupalize.Me: Adventures in Porting a D7 Form Module to Drupal 8

Thu, 12/18/2014 - 14:26
div class=field field-name-body field-type-text-with-summary field-label-hidden text-content text-secondarydiv class=field-itemsdiv class=field-item evenpGot some Drupal 7 modules that use the Form API lying around? Want to learn how to port them to Drupal 8? The process could just be the crash course you've been looking for in Drupal 8, object-oriented, module development./p /div/div/divdiv id=comment-wrapper-nid-1988/div

Code Karate: Drupal 7 Rules Filter: Manage and search your Drupal rules

Thu, 12/18/2014 - 14:18
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 even186/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/usBXj5CatbU.jpg?itok=YDLSMo8p alt=Drupal Rules Filter Module: Manage and sort through your Drupal rules //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpThe a href=http://www.drupal.org/project/rules_filter rel=nofollowDrupal Rules Filter Module/a is a simple module that makes it easy to sort through a long list of Drupal Rules. This is a module that is especially useful on those larger scale Drupal websites that rely heavily on the rules module and have many contributed Drupal modules installed. /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/contrib/rulesRules/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/site-administrationSite Administration/a/div/div/div

Drupal Association News: Meeting Personas: The Drupal Expert

Thu, 12/18/2014 - 13:00
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpemimg alt=Kate Marshalkina, Drupal Expert class=left src=https://assoc.drupal.org/files/KateMarshalkina.png style=width: 240px; height: 240px; /This post is part of an a href=https://assoc.drupal.org/personal-blog-tags/persona-interviewsongoing series/a detailing the a href=https://assoc.drupal.org/blog/tvn/introducing-drupal.org-user-personasnew personas/a that have been drawn up as part of our Drupal.org user research./em/p pKate Marshalkina has been using Drupal for three and a half years. A web developer by trade, Kate was approached by a friend who wanted her to do Drupal work with him. After doing some research on the system, Kate agreed./p p“It’s quite difficult to learn Drupal without paid work because it requires a lot of time and experience to learn the Drupal way of doing things,” Kate said. “I had joined a security startup, and a security company obviously cares about security on the web. So we decided to use Drupal because it’s a safe, well known open source system. I learned a lot while I was working on my tasks, but I spent a lot of my free time to learn Drupal. Once I started learning, I couldn’t stop— I’d previously worked with other content management with less documentation and information and then I started learning Drupal and... because of the community, and all of the learning resources and videos that are available, I was hooked./p p“After working with Drupal for three months, I started my blog and not long after that I presented a session at DrupalCamp Moscow. Now, I’m a Drupal lover after three and a half years working with the platform./p h2 Drupal.org: A Valuable Resource/h2 pEvery day, Kate checks in to Drupal.org: she says she visits the site to find new modules, check the issue queues, and check API documentation. “I’m very comfortable with Drupal.org, but it was hard getting used to it when I started. Initially, it was a question for me why I should even use Drupal.org, and I didn’t know what the benefits are./p pI really like my dashboard on Drupal.org,” said Kate. “It’s a great page where I can see daily updates on my issues — and of course I follow a lot. It’s nice that I can also easily view updates on issues in critical bugs in core and so on, see crucial updates, core releases, and of course I also follow the Drupal Planet RSS feed./p pDrupal Planet is one of the most helpful tools for Kate when it comes to getting new Drupal knowledge, and she often encourages her colleagues to follow it. I think Drupal Planet is an exciting part of Drupal.org. It’s a great resource for Drupal related articles for everyone; beginner to expert, frontend to backend to sysadmin, the information for all these people is usually very high quality on Drupal Planet. When I’m working with fellow developers who have questions, I always ask them to look on Drupal Planet because I know that the information there is of a high quality, and that anyone can find the knowledge they need in there./p h2 It's About the People/h2 pSome of the recent changes made on Drupal.org, including the addition of user pictures to the issue queue, have made Kate’s Drupal experience vastly better./p p“[The pictures] are great because it makes Drupal.org more personalized, and you can more easily remember the people you talked to because of their photos. And, it reminds people that Drupal isn’t just a CMS, it’s a community, and the people are important.”/p p“It’s a big question for me how to enroll younger developers,” said Kate. “Looking at the contribution opportunities, [new people] may feel like they can’t be a contributor. So sometimes, they may encounter a bug they don’t know how to fix and think, “oh no, a bug!” instead of recognizing it as an opportunity to learn and grow. If we can encourage more people to become contributors, they will benefit from it and Drupal will benefit from them./p pKate’s advice for new Drupalers is to “start right out and register on Drupal.org. Share modules, create patches, learn how to use git and so on… it’s not easy, but it’s worth it./p h2 Growing With the Project/h2 pAs for herself, Kate hopes to increase her skill level by contributing to Drupal 8 core./p pI participated in DrupalCon Amsterdam, and really liked what Dries said about getting more benefits to small companies who contribute so that it will be easier for employers to understand why they spent their time and pay for developers on core. I would be much more experienced if I could participate in Drupal core development./p pI also want to someday give a session at DrupalCon,” Kate added. I give a lot of sessions in my local community, camps and so on. I’ll be speaking at Moscow Drupal Camp in November, but hope to speak at a DrupalCon soon./p pWe all wish you the best of luck, Kate, and hope to see you on a stage at DrupalCon soon!/p /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=/personal-blog-tags/drupal.org-user-researchdrupal.org user research/a/divdiv class=field-item odda href=/personal-blog-tags/persona-interviewspersona interviews/a/div/div/div

Pixelite: Installing Solr for development

Thu, 12/18/2014 - 01:00
h2 id=introIntro/h2 pa href=http://lucene.apache.org/solr/Solr/a is an open source search engine with many powerful a href=http://lucene.apache.org/solr/features.htmlfeatures/a./p pI encounter a lot of experienced developers that either don’t know how to use it or avoid it as it’s in the strongto hard/scary/strong basket. In this introductory article we’ll talk briefly about how to install Solr in order to use it for development./p pThere are many ways to install and configure Solr but in this article I’ll show you how to set it up quickly so you can get started developing with it. While the installation and setup will be generic to any framework you want to develop with, I’ll also, show you a couple of extra steps if you’re using Drupal./p h2 id=requirementsRequirements/h2 pThe only real hard requirement/prerequisite for running Solr is Java. Version 1.6 is recommended for Solr version 4 and upward. a href=http://www.ubuntu.com/Ubuntu/a and Mac should come with Java pre-installed./p pI’m not a windows guy so sorry you guys are on your own There’s pleant of resources out a href=https://www.google.co.nz/webhp?sourceid=chrome-instantamp;ion=1amp;espv=2amp;ie=UTF-8#safe=offamp;q=installing%20solr%20on%20windowsthere/a./p pYou can find out the version of Java you are running with the following command./p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spanjava -version java version span class=s2quot;1.7.0_72quot;/span Javaspan class=o(/spanTMspan class=o)/span SE Runtime Environment span class=o(/spanbuild 1.7.0_72-b14span class=o)/span Java HotSpotspan class=o(/spanTMspan class=o)/span 64-Bit Server VM span class=o(/spanbuild 24.72-b04, mixed modespan class=o)/span/code/pre/div pI am using Ubuntu 14.04 but the instructions in this article should work if you’re on a Mac or another variant of *nix/p h2 id=downloadDownload/h2 pOpen a terminal and make a folder we can use for working in, and change to that directory:/p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spanmkdir solr span class=nv$ /spanspan class=nbcd /spansolr/code/pre/div pNavigate to the a href=http://lucene.apache.org/solr/mirrors-solr-latest-redir.htmlSolr download page/a and find the closest mirror for you. At the time of this article the latest version of Solr is 4.10.2./p pCopy the download link for either the solr-VERSION.tar.gz or the solr-VERSION.zip. You don’t want the solr-VERSION-src.tgz (this is the source code and will need to be compiled) and download it with wget./p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spanwget -c http://mirrors.sonic.net/apache/lucene/solr/4.10.2/solr-4.10.2.tgz/code/pre/div h2 id=unpackUnpack/h2 pOnce downloaded (it’ll be about 150M) we can un-compress it and change into the directory./p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spantar -zxvf solr-4.10.2.tgz span class=nv$ /spanspan class=nbcd /spansolr-4.10.2//code/pre/div h2 id=make-a-working-copyMake a working copy/h2 pIn the current directory there is a folder called strongexample/strong we want to make a copy of this folder./p pWe could just use the strongexample/strong folder but it’s nice to leave that clean on case you want to use this copy of Solr for other sites as well. So we’ll make a copy and then change directory into the newly created copy./p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spancp -prv example my_solr span class=nv$ /spanspan class=nbcd /spanmy_solr/code/pre/div h2 id=make-it-workMake it work/h2 pNow we’re ready to run it for the first time. To run Solr it’s really simple. Simply run:/p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spanjava -jar start.jar/code/pre/div pYou should see a whole bunch of output (to stop solr press strongCTRL^C/strong). After a few seconds if you open your browser and navigate to a href=http://0.0.0.0:8983/solr/http://0.0.0.0:8983/solr//a you should see something similar to the following (the actual screen may differ depending on your version)/p pimg src=/img/solr/dashboard.png alt=Solr dashboard //p pThat’s it. Solr is now set up and ready to use. Depending on your client frame work you may need to makes some config changes to Solr itself. Consult the installation instructions of your chosen framework. If you’re using Drupal keep reading and I’ll show you the steps required to make Solr ready for Drupal integration. First lets stop SOlr from running by hitting strongCTRL^C/strong in your terminal./p h2 id=modulesModules/h2 pThere are a couple of modules you can use for Drupal integration with Solr. I wont go into the Drupal configuration side of things (I’ll leave that for another day) but will talk about the steps required to get the Solr server we’ve set up ready for Drupal usage depending on the Solr module you’ve chosen./p h3 id=search-api-and-apachesolrSearch API and ApacheSolr/h3 pIf you’re using the a href=http://drupal.org/project/search_apisearch_api/a you will need to ensure you have the a href=http://drupal.org/project/search_api_solrsearch_api_solr/a module installed. Otherwise the a href=http://drupal.org/project/apachesolrapachesolr/a module is the way to go./p pIn both the a href=http://drupal.org/project/search_api_solrsearch_api_solr/a and a href=http://drupal.org/project/apachesolrapachesolr/a modules, you’ll find a folder called strongsolr-conf/strong in this folder there will be version folders strong4.x/strong, strong3.x/strong etc. Choose the version of Solr you downloaded. This folder contains all the config files you need to install in your Solr install. I could probably write a whole bunch of articles about the contents of these files but since this is a beginner tutorial we’ll just take the easiest route./p pYou want to copy the contents of the strongsolr-conf/4.x//strong folder into your solder core. We can do this with the following, go back to your terminal, and run (change the path to your Drupal module):/p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spancp -v **/path/to/apachesolr/or/search_api_solr/**solr-conf/4.x/* solr/collection1/conf//code/pre/div pThat will copy the config for your Drupal site into the strongmy_solr/solr/collection1/conf//strong directory./p h2 id=conclusionConclusion/h2 pSolr is now ready for use by your Drupal install. You can run it whenever you like by changing into the strongmy_solr/strong directory and starting it./p div class=highlightprecode class=language-bash data-lang=bashspan class=nv$ /spanjava -jar start.jar/code/pre/div pI wouldn’t recommend using this setup in production. However, for developing on your local machine, it’s perfectly fine./p pIn the next article, I’ll talk about how to configure the a href=http://drupal.org/project/search_apisearch_api/a and a href=http://drupal.org/project/search_api_solrsearch_api_solr/a to use Solr as a search engine for your Drupal site./p

Drupal Watchdog: The Drupal 6 to 8 Upgrade Challenge - Part 1

Wed, 12/17/2014 - 22:52
div class=field field--body field-type-text-with-summary field-label-hidden field--rss pema href=https://www.drupal.org/u/catchNathaniel Catchpole /a, the Drupal 8 release maintainer and Tag1 Senior Performance Engineer, suggested that Drupal shops everywhere could support the release of Drupal 8 by upgrading their own sites and addressing the issues they find along the way. This series chronicles the journey from Drupal 6 to Drupal 8./em/p h2Part 1: Readiness Assessment/h2 pBefore performing a major version upgrade, I usually go through a series of steps that help me determine:/p ollistrongWhat compelling business needs or new functionality are prompting the move?/strong In this case, the site builder view on the status of D8 will help us identify and hopefully address real barriers to adoption, as well as to prepare materials that help document the journey./li listrongWhat does the site do?/strong If there are functional tests or test plans, I review those. Then, I manually review the site, paying attention to functionality for particular roles. I also check with at least one or two of the stakeholders with each role to learn what features they regularly use, what improvements would better support them, and what they’d really like to see. I don’t normally act on that wish list answer as part of the upgrade proper, but knowing what new functionality they desire can help make decisions about the new modules to use./li listrongAre there features that are no longer in use?/strong I’m always surprised, though by now I really shouldn’t be, by the number of things that seemed like a good idea at the time to someone which were never used at all or which are no longer in use./li listrongIs now the right time?/strong Are the contributed modules on which the site depends ready or is there a new way to achieve the required functionality./li /olh31- Compelling Functionality/h3 pAs noted above, this particular journey is compelled by the desire to identify and fix bugs during the Beta period of Drupal 8. That doesn’t mean we’re not excited by:/p ullistrongWYSIWYG in Core/strong- I am ecstatic at the prospect of NOT having to choose and configure basic WYSIWYG functionality./li listrongViews in Core/strong - I pay a lot of attention to the experience of content contributors. They’re the everyday users that Dries talked about back at DrupalCon San Francisco, people who use the interface of Drupal as their day job. What a site builder does for them (or fails to do) can make or break the success of the site as well as cement the organizational satisfaction with Drupal itself./li /ulpI want Tag1’s busy staff to find it a pleasure to keep their blogs, community contributions, and case studies up-to-date./p h22 - Current Functionality/h2 pOur speciality is performance and scalability for complex websites, which never necessitated building a complex external site for ourselves. We have internal sites that put Drupal 6 though its paces, but the main Tag1 site is a combination of blogs and brochure:/p ullistrongReview what the current site does /strongbr / I start any readiness evaluation looking at the site from the user perspective, clicking around, then reviewing any documentation. The site revealed no surprises. I jotted notes about those user-facing features, mapped to Drupal functionality, and stored them as a sheet in the a href=https://docs.google.com/spreadsheets/d/1Myq_EPluNfokkYISEXljXWAX5GmFpbphdxc-FO1XrdU/Readiness spreadsheet/a. For a basic site, the notes aren’t too impressive, but the process was a valuable refresher on what the site does./li /ulullistrongInventory the enabled modules/strongbr / After looking at the site from the user interface, I make an inventory of enabled modules. The following Drush commands make nice spreadsheets: pre drush pm-list --no-core drush pm-list --core /prep You can take a look on Sheets 2 and 3 of the Readiness spreadsheet to see the entirety of what was and and wasn’t available./p pIn our case there are just two areas of concern:/p pBlogs have been removed from core, but with views moved in, this won’t be daunting to rebuild. They may work a little differently, but odds are that will be for the better!/p pThe only missing module that had no alternative and looked like it might hurt was Pathauto. It’s nice to keep URLs tidy and hard to remember to set them, but wouldn’t be strictly necessary for our purposes and there were were no other glaring show stoppers./p pNote: It looks like upgrade work is happening on a href=https://github.com/md-systems/pathautoGithub/a so I updated the spreadsheet to make note and will evaluate the status as part of the process./p/li /ulullistrongLook for customizations/strongbr / In addition to custom and contributed modules, it’s good to check for inappropriate customizations done directly to core or contrib. Whatever reason they had for being done back then may need to be accounted for, hopefully in a best-practices way, on the new site. pAlthough it seemed unlikely that any relevant changes had been done, for good measure, I always run a href=https://www.drupal.org/project/hackedHacked/a. It’ll let you know about files that have been changed from the source. /p pThere were some theme customizations and a .gitignore file was missing, so as suspected, nothing to worry about./p/li /ulh23 - Features no longer in use/h2 pI’ve learned over the years that not every module that is enabled is in use! I try to find a link that illustrates somewhere on the site that the module is visibly in play. Even when there is a place in production where the module is used, it’s entirely possible that the production feature itself doesn’t make sense to upgrade. A serious investigation of analytics and logs can be insightful. Data can guide conversations with product owners about what’s still valuable and support decision-making./p pOn our straightforward site, there’s not much to emnot/em use. As I learned running the first migration, though, even features that were briefly explored but never used can come into play. More on this later./p h24 - The right time/h2 pOnce you’ve completed your archaeology, you’ll need to find the right time for your organization. Talk with stakeholders about the change and be on the lookout for in-process or upcoming feature requests that you might not be prepared to accommodate./p pIn our case, because the motivation for this upgrade is process, not product, we’ll proceed and go as far as we reasonably can with the upgrade. At the time of this writing, I’ve done a D8 install and begun running a migration. (That’s how I know to be on the lookout for certain disabled modules!) I’m feeling confident that we can get a long way./p pUnless the migration process is flawless and the a href=https://www.drupal.org/node/2341575Drupal 8 to Drupal 8/a update path is in place I'd be unlikely to recommend deployment of the work, especially with an impending re-design. While re-entering some data manually has always been a part of previous major version upgrades, I’d be loathe to commit to beta adoption if I thought we’d find ourselves stranded in the latest version. Fortunately, all the preparatory work can be done without the upgrade path in place!/p pComing next in this blog series, Part 2: Preparing to Migrate./p pemWhat modules and processes do you use to prepare for a major version upgrade?/em/p /div

Acquia: Drupal PHP: Linking Islands, the podcast – part 1

Wed, 12/17/2014 - 22:14
div class=form-item form-type-item labelLanguage /label Undefined /div 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 evenh2 Drupal amp; PHP: Linking Islands, the podcast – part 1br //h2 p/p/div /div /div span property=dc:title content=Drupal amp; PHP: Linking Islands, the podcast – part 1 class=rdf-meta element-hidden/span

Phase2: Play with Display: Altering Drupal Field Collections

Wed, 12/17/2014 - 21:43
p dir=ltrspan style=line-height: 1.5em;How do you insert a text field into a rendered entity, all within a field collection? This question came to mind on a recent Drupal 7 build. What at first sounded complicated turned into a concise and elegant solution./span/p p dir=ltrThe basis of the requirement broke down into the need for events to list those participating in the event. The build already had existing Event and Profile content types, so the new functionality would only require implementing the list of Profiles participating in an event. Each participant would include their role at the event, along with links to contact them./p p dir=ltr style=text-align: center;a href=http://www.phase2technology.com/wp-content/uploads/2014/12/blog.pngimg class=size-medium wp-image-9324 aligncenter alt=blog src=http://www.phase2technology.com/wp-content/uploads/2014/12/blog-300x151.png width=300 height=151 //a/p p dir=ltrTo implement this, an Event Participant field collection was added as a field to the Event content type. Each instance of the field collection included a single Profile content type and a single text field for their role at the Event. The Profile would then be displayed as a rendered entity within the field collection so that the Profile’s image and contact links could be displayed. The point at issue then arose. How would the Participant’s role at the event be placed within the rendered Profile teaser, along with the other Profile fields? To the user it needed to look like a single unified entity, with the Profile’s image, role at the Event, Profile name, and contact links all included./p p dir=ltr style=text-align: center;img class=aligncenter alt=Screen Shot 2014-12-11 at 4.27.43 PM.png src=https://lh5.googleusercontent.com/R4HuFYz831NpS8rsHtbCcKeXIo3qtqK-rvnNtszcp_anTWn3BEfD9CA4soxWoxg11cxaog38eLWwAFxFtF5N6O7VQzXXlhM-4No8dqd8f7e5lHcFWA9XQbfy9IsooR4BBQ width=624px; height=152px; //p p dir=ltrAfter some initial brainstorming a handful of different approaches came to mind. The initial impression was to use a title=template_preprocess_field href=https://api.drupal.org/api/drupal/modules%21field%21field.module/function/template_preprocess_field/7 target=_blanktemplate_preprocess_field()/a since it allows the alteration of values in the theme layer. The participant role field would be removed from it’s initial location and inserted into the participant profile object. This did not work though. Despite the repositioning of elements within the render array, the changes occur too late in the rendering execution. The render array had already been rendered and thus the display remained the same./p p dir=ltrAfter quickly realizing a theme function wasn’t the answer, a title=hook_node_view href=https://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hook_node_view/7 target=_blankhook_node_view()/a came to mind. The hook allows for the alteration of a node before it is rendered and so all that would be needed would be to shift the location of the Participant Role field within the $node array. The issue with this implementation and the reason it wasn’t chosen, is that it would require reaching out to the global state to determine what changes are needed. In other words a title=hook_node_view href=https://api.drupal.org/api/drupal/modules%21node%21node.api.php/function/hook_node_view/7 target=_blankhook_node_view()/a doesn’t realize what context it is called under and would thus require a hack of sorts to determine when it was being called under an Event node. This could be worked around by checking the URL path, but this is not best practice as it is brittle and prone to breaking with future site updates./p p dir=ltrAs they say the third time’s the charm. The final solution was to use a title=hook_field_collection_item_view href=http://drupalcontrib.org/api/drupal/contributions%21field_collection%21field_collection.api.php/function/hook_field_collection_item_view/7 target=_blankhook_field_collection_item_view()/a. This hook allows for the alteration of a field collection item before rendering. Unlike many of the other options, this hook is called for each field collection item, allowing one to both check the field collection name and adjust it’s internal field ordering, before any rendering occurs. Using this hook, each Event Participant field collection item is altered, removing the Role field and inserting it into the Profile rendered entity. Simple as that. Now each Event Participant is correctly displayed as a single unified entity, with an image, name, and a set of contact links./p p/ppre class=crayon-plain-tagfunction hook_event_field_collection_item_view($field_collection_item, $view_mode, $langcode) { if ($field_collection_item-amp;gt;field_name == quot;field_event_participantsquot;) { $role = $field_collection_item-amp;gt;content['field_event_participants_role']; $profile_id = $field_collection_item-amp;gt;field_event_participants_profile[LANGUAGE_NONE][0]['target_id']; // Remove Participant Role from previous location in field collection output unset($field_collection_item-amp;gt;content['field_event_participants_role']); // Insert Participant Role into the Participant Profile output $field_collection_item-amp;gt;content['field_event_participants_profile'][0]['node'][$profile_id]['field_event_participants_role'] = $role; } }/prep/p p dir=ltrThrough several quick, small, iterations an elegant, straight-forward solution was found to what at first sounded like a complicated feature request. Now users viewing an Event can see a list of Participants, with each Participant displayed as a single item. Check out more on field collections on the a href=http://www.phase2technology.com/blog/managing-field-groups-in-drupal-with-the-multifield-module/Phase2 blog/a!/p img src=http://track.hubspot.com/__ptq.gif?a=457100k=14bu=http%3A%2F%2Fwww.phase2technology.comr=http%3A%2F%2Fwww.phase2technology.com%2Fblog%2Fplay-with-display-altering-drupal-field-collections%2Fbvt=rssp=wordpress style=float:left; xml:base=http://www.phase2technology.com/feed/ width=1 height=1 border=0 align=right/

Drupal Association News: Meeting Personas: The Skilled Drupal User

Wed, 12/17/2014 - 21:00
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpimg alt=Chris Ohmstede, Skilled Drupal User class=left src=https://assoc.drupal.org/files/ChrisOlmstede.png style=width: 240px; height: 222px; /emThis post is part of an a href=https://assoc.drupal.org/personal-blog-tags/persona-interviewsongoing series/a detailing the a href=https://assoc.drupal.org/blog/tvn/introducing-drupal.org-user-personasnew personas/a that have been drawn up as part of our Drupal.org user research./em/p pChris Ohmstede is based out of Los Angeles, California. An experienced programmer, Chris is new to Drupal but already identifies as a skilled persona. Several months ago, Chris discovered Drupal as he was looking for solutions to build a website for hosting a program he wrote./p pI spent a number of years in the banking industry, and in that industry banks are constantly making connections to everything. I was always running in to problems when things couldn’t connect— it was always an issue trying to figure out what was actually going on. Over the years, I wrote a bunch of applets here and there to figure out what the problems were, and my program whycanticonnect is a conglomeration of those applets that work across operating systems, mobile— I’ve got cloud services approaching me about it, too./p h2 Wanted: Custom Functionality/h2 p“Originally, I was hosting my project for download using a different CMS option, but things weren't working properly. Finally, I hit a point where I said “I’ve got to make a change.” I initially went to Drupal because I use Linux as my OS, and Drupal is one of the only CMSs available out of the repositories. I saw that, went and did some research, and Drupal looked big and well organized. One of the cool things that caught my attention is that I could Google around and see that everything I needed was already built. I never had to ask for any help — I was able to roll on through and put my site together easily./p p“Also, one of the reasons why I selected Drupal was that I've released my product in 12 different languages, and Drupal looks like it has some decent translation services coming in. I want my site to be usable in all 12 languages I support./p pAfter downloading Drupal, Chris relied on his technical knowledge to carry him through. Though he initially encountered some difficulty getting the modules to do what he wanted, he found after some searching that deriving his theme would fix his problems./p pOnce I derived the theme, everything got easier— the way drupal derives themes is perfect. It’s very object oriented, which is fantastic. The nice thing about Drupal was that I could figure out what I wanted to mess with, and I could build variables on the local scope and carry them through the whole page and process, which is surprisingly difficult to do with other systems./p h2 It gives me everything I need/h2 p“The great thing about Drupal is that you're not limited in how to inject code,” said Chris. I like my download module because it gives me everything I need. It figures out intelligently what’s the best download to go with, it builds a link and launches the javalaunch, so it’ll work whether java is enabled or not— which was a problem I’d had before. I’m very happy with it, and very happy with Drupal./p pFor the time being, Chris doesn’t plan to put together more Drupal sites — rather, he’s going to focus on maintaining the one he has./p pI have no desire to become a web designer,” Chris said. “I built my site because I know I'll need to change it often, and with Drupal it doesn’t cost me anything. As far as giving back to the community, I’m mostly focused on working with my product. I need to write an Android, Mac, and iOS version. I’m planning on submitting some of my modules to Drupal.org once I’ve got them in shape, and I’ve made posts for people asking the same questions and encountering the same problem as I have. Maybe someday down the road I’ll have time to do more, though I certainly wouldn’t make any promises about it./p /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=/personal-blog-tags/drupal.org-user-researchdrupal.org user research/a/divdiv class=field-item odda href=/personal-blog-tags/persona-interviewspersona interviews/a/div/div/div

Drupal core announcements: Global Sprint Weekend 17-18 January 2015, Small local sprints good for first time organizers

Wed, 12/17/2014 - 19:10
pGlobal #SprintWeekend will be 17-18 January 2015./p pPlease encourage contributors you know to host a small local sprint near them./p pPost an announcement in your local meetup groups please; ask if anyone is interested in hosting a sprint and wants some support organizing it./p pList sprints on the wiki: a href=https://groups.drupal.org/node/447258 title=https://groups.drupal.org/node/447258https://groups.drupal.org/node/447258/abr / That wiki also has more information about organizing a sprint./p pWe will have a couple meetings to support organizers (doodle for organizer support meetings: a href=http://doodle.com/uutcp2ge7gt3a8ed title=http://doodle.com/uutcp2ge7gt3a8edhttp://doodle.com/uutcp2ge7gt3a8ed/a )br / and also have mentors in irc over the sprint days (doodle for mentoring during the sprint: a href=http://doodle.com/5vr54mpvxq4k7x29 title=http://doodle.com/5vr54mpvxq4k7x29http://doodle.com/5vr54mpvxq4k7x29/a )./p