Drupal News

Subscribe to Drupal News feed
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 2 hours 17 min ago

Phase2: Contemplating the Benefits of Open Source with Metal Toad Media

Wed, 04/16/2014 - 15:27

Last week, I made the journey from Washington, D.C., to our new Portland office, or the “Front End Development Capital of Phase2,” as I like to call it. It was an incredibly enjoyable and productive trip, including everything from hanging out with the awesome West Coast Phase2 crew to discussing our vision for growth in Portland over the coming months and years.

While in Portland, I had the pleasure of sharing some great local beer and stimulating conversation at Metal Toad Media headquarters. During an hour-long podcast that provoked many insightful comments and questions, our host Joaquin Lippincott, Metal Toad’s president, led me, Jacob Redding, and David Bellous through a discussion on the merits of open source vs. closed source technologies.

Joaquin got the ball rolling with the aggressive statement that all closed source technology should be torn down and rebuilt with an open source counterpart. Despite each participant’s shared passion for open source, David was cautious about agreeing to such a sweeping declaration, arguing that with enough time and money it is possible to solve any problem with any technology. He placed greater emphasis on finding the tool best suited to a company’s unique cultural ecosystem and specific technical objectives. My take: I fully agree that each situation requires a creative approach to selecting the right tool for the job, taking into account culture, budget, and goals. In my opinion, there are increasingly less times today when a closed source solution is the right fit.

The discussion turned to the issue of sunk costs and opportunity costs. In the context of what Joaquin deemed the “unmitigated disaster” of Oregon’s online healthcare exchange, which was implemented by Oracle, we debated the increasingly outdated perspective that paying more for software automatically translates to better results. I used Microsoft’s collaborative software SharePoint as an example of a widely purchased product with mediocre if not downright poor customer satisfaction. However, when a massive investment is made (like Oregon’s $132 million in CoverOregon), it is difficult for a government or business to cut its losses and start over, no matter how much additional money it stands to lose in the long run.

Innovation, and the process by which open and closed organizations arrive at it, was another fascinating topic of conversation. Jacob pointed out that while Oracle’s annual investment of $5 million in research and development is easy to grasp, the constant aggregated innovation produced by the open source community is a less tangible concept – but no less meaningful. Most of us acknowledged the merits of a defined road map for innovation, which is usually more visible from proprietary companies, but agreed that collaborative methods of development are being embraced by closed and open source organizations alike. It’s a trend that is really exciting for me personally: more companies are losing their “F.U.D.” (fear, uncertainty, and doubt) about releasing long-kept “secret” code and embracing the clear advantages of open collaboration.

Although Joaquin, Jacob, David, and I covered many other issues, including the advantages of open methodology and the importance of properly executed implementation regardless of the technology, I feel that we’ve only covered the tip of the iceberg in the open vs. closed debate. Altogether it was an extremely enjoyable afternoon (beers included!). Check out the recording at Metal Toad Media, and let me know your thoughts on our discussion. I’d love to hear others weigh in and continue the debate here!

Metal Toad: Toadcast 22

Wed, 04/16/2014 - 14:38



Toadcast 22 hosted an All-Star cast including: Dave Bellous co-owner of Yellow Pencil, Jacob Redding Open Source Manager at Accenture's Emerging Technology Innovation Labs, Jeff Walpole CEO of Phase2, & Joaquin Lippincott President of Metal Toad Media to discuss Open Source, Oracle, and and the healthcare web-tech industry (Cover Oregon).

Drupal.org frontpage posts for the Drupal planet: Drupal 7.27 and 6.31 released

Wed, 04/16/2014 - 13:59

Drupal 7.27 and Drupal 6.31, maintenance releases which contain fixes for security vulnerabilities, are now available for download. See the Drupal 7.27 and Drupal 6.31 release notes for further information.

Download Drupal 7.27
Download Drupal 6.31

Upgrading your existing Drupal 7 and 6 sites is strongly recommended. There are no new features or non-security-related bug fixes in these releases. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement. More information on the Drupal 6.x release series can be found in the Drupal 6.0 release announcement.

Security information

We have a security announcement mailing list and a history of all security advisories, as well as an RSS feed with the most recent security advisories. We strongly advise Drupal administrators to sign up for the list.

Drupal 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.

Bug reports

Both Drupal 7.x and 6.x are being maintained, so given enough bug fixes (not just bug reports) more maintenance releases will be made available, according to our monthly release cycle.

Changelog

Drupal 7.27 is a security release only. For more details, see the 7.27 release notes. A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

Drupal 6.31 is a security release only. For more details, see the 6.31 release notes. A complete list of all bug fixes in the stable 6.x branch can be found in the git commit log.

Security vulnerabilities

Drupal 7.27 and 6.31 were released in response to the discovery of security vulnerabilities. Details can be found in the official security advisory:

To fix the security problem, please upgrade to either Drupal 7.27 or Drupal 6.31.

Known issues

This security release introduces small API changes which may require code updates on sites that expose Ajax or multi-step forms to anonymous users, and where the forms are displayed on pages that are cached (either by Drupal or by an external system). See the Drupal 7.27 release notes and Drupal 6.31 release notes for more information.

Front page news: Planet DrupalDrupal version: Drupal 6.xDrupal 7.x

AGLOBALWAY: Quick Way To integrate Animate.css in to LESS

Wed, 04/16/2014 - 12:38

Recently I was working in a project, that required some nice predefined css3 animation on different elements. I was wondering if I could achieve it without using javascript and do it fast. Here how I did it:

A quick way to use LESS pre-process and animate.css functionality to make your frontend nice and smoothly animated without any javascript involved.

  1. Download animate.css in to you project/less folder and change file extension to .less
    Your structure should look something like this: project/ ├── less/ │ ├── style.less │ ├── animate.less │ └── overrides.less └── css/ └── style.css
  2. Import animate.less to your main style file. // libraries @import "animate.less"; // core @import "overrides.less";
  3. Edit overrides.less to apply animations on your elements. <h1 class="spetialHeader">Hover Me</h1> h1{ &.spetialHeader{ .animated(); &:hover,&:focus{ .fadeInUp(); } } }
  4. Less preprocess will make the magic and create css file
Tags: Animate.cssdrupal planet

NYC Camp News & Announcements: Holly Ross Becomes 2014th Contributor to Drupal 8 at NYC Camp 2014

Wed, 04/16/2014 - 11:47

Making good on a long stranding promise with webchick, the DA's Holly Ross rolled her first patch, and inadvertently became the 2014th contributor to Drupal 8 at NYC Camp 2014!

NYC Camp 2014 ended with a bang that perfectly *put a bird* on what was a really tremendous 14th event put on by the NYC Drupal community. Sunday was the final day on which everyone is encouraged to come back and sprint on Drupal code or a project they are working on or to get started contributing with help from a Drupal mentor.  Just over 120 attendees came back for Sprints Day, coordinated by  Irene MeiselCathy Theys & Fureigh

And we had a very special attendee who with just such mentoring was able to make her first contribution. On Saturday during their panel discussion at the United Nations with UN CITO Atti Riazi, Drupal 7 co-maintainer Angie "webchick" Byron and Drupal Association executive director Holly Ross reaffirmed their vow that webchick would help her commit her first patch to Drupal 8, and set a date of the next day (the last day of the camp which was given over to NYC Camp sprinting.)

Also on Saturday at NYC Camp, Alina Mackenzie had discovered an issue in the multiligual system documentation, where the language manager interface docblock was returning implementation details (methods should never return implementation details; it belongs to the implementation to do that.)

As Holly was going through the issue queue to pick something to work on, she came across this one, which since it affects the Drupal's Multilingual system was perfect for the United Nations,  which is preparing to become the largest multilingual Drupal deployment in the world.  Alina had a proposed resolution, so with a little mentoring from Cathy Theys, Holly rolled her 1st patch, which passed SimpleTest. 

However SimpleTest couldn't catch another inline comment on the sort method itself which also contained implementation details, that tstoeckler noticed when he was reviewing Holly's patch.  A temporary setback, Holly quickly rolled a 2nd patch, and even included an interdiff. That was enough to satisfy tsoeckler and he marked the new patch RTBC. 

YesCT also added her RTBC (though not before noticing a bug in d.o. node ownership when the node is edited by and admin) and webchick commited the patch at 5:00 pm, and thus at the exact end of NYC Camp.

It was then that everyone noticed an amazing coincidence. Holly had just become the 2014th contributor to Drupal 8. At NYC Camp 2014.

Uncanny. Check out video of the moment on Drupal TV

Stay tuned for more highlights from NYC Camp 2014

Drupal core announcements: Migrate in core weekly calls resume

Wed, 04/16/2014 - 10:22
Start:  2014-04-17 15:00 - 15:30 America/Vancouver Online meeting (eg. IRC meeting) Event url: 

https://plus.google.com/106269343178096590461/

After a month hiatus, at a new timeslot we resume our weekly Migrate in core Google Hangouts, focusing on Drupal 7.

The time is 3PM in Vancouver, 6PM in Boston, midnight in Europe (sorry) and 6AM in Perth -- coordinating across this many timezones was very hard and Europe got the short stick. Sorry.

Drupal Association News: How Drupal and Open Source are Helping Youth Rise from Poverty in Africa

Wed, 04/16/2014 - 08:43

The rise of open source, and the skyrocketing popularity of Drupal as a CMS, has made for many very happy developers working in the open source world. But for some people, it isn’t just a hobby or a way to bring home a paycheck: it’s a ticket out of crushing poverty.

Frederick Giasson: Managing Datasets in OSF for Drupal (Screencast)

Wed, 04/16/2014 - 07:14

In this new screencast, I first introduce the concept of a dataset: what it is, what it is used for and how it works. I will also outline the characteristics of datasets in the Open Semantic Framework (OSF) such as having a set of permissions for group of users, a unique identifier, etc.

Then I explain how datasets are being used by OSF for Drupal, and how they can be managed using a Drupal portal: how to import, create, register, change permissions to datasets. Then I explain how datasets can become searchable using the SearchAPI or be disabled in the web portal.

Finally I cover the OSF Entities administrators search and browse utility which can be used by Drupal administrators to browse and search for all entities that are accessible to the Drupal portal: even the ones that are indexed in datasets that are not yet registered to the portal.

 


Jeremy Epstein: The cost of building a "perfect" custom Drupal installation profile

Wed, 04/16/2014 - 00:54

With virtually everything in Drupal, there are two ways to accomplish a task: The Easy Way, or The Right™ Way.

Deploying a new Drupal site for the first time is no exception. The Easy Way – and almost certainly the most common way – is to simply copy your local version of the database to production (or staging), along with user-uploaded files. (Your code needs to be deployed too, and The Right™ Way to deploy it is with version-control, which you're hopefully using… but that's another story.)

The Right™ Way to deploy a Drupal site for the first time (at least since Drupal 7, and "with hurdles" since Drupal 6), is to only deploy your code, and to reproduce your database (and ideally also user-uploaded files) with a custom installation profile, and also with significant help from the Features module.

The Right Way can be a deep rabbit hole, though.

Image source: SIX Nutrition.

I've been churning out quite a lot of Drupal sites over the past few years, and I must admit, the vast majority of them were deployed The Easy Way. Small sites, single developer, quick turn-around. That's usually the way it rolls. However, I've done some work that's required custom installation profiles, and I've also been trying to embrace Features more; and so, for my most recent project – despite it being "yet another small-scale, one-dev site" – I decided to go the full hog, and to build it 100% The Right™ Way, just for kicks.

Does it give me a warm fuzzy feeling, as a dev, to be able to install a perfect copy of a new site from scratch? Hell yeah. But does that warm fuzzy feeling come at a cost? Hell yeah.

Wunderkraut blog: 5 Tips to debug Drupal front-end with Chrome DevTools

Tue, 04/15/2014 - 23:12

5 of my favourite keyboard shortcuts in Chrome DevTools. I used them all the time to find bugs in JS, HTML and CSS

1. CMD + ALT + F
A global search. Search in every asset HTML,CSS and JS.  Useful when you want to check if the browser is loading the changes you are doing, or to find something in the JavaScript code to place a breakpoint. Specially useful in production, when JavaScript files are aggregated, don't try to find the code manually. Use the global search.

 

2. CMD + Z
Yes, the traditional 'undo' command. Did you know you can undo the CSS changes in DevTools?

 3. CMD + SEdit the JavaScript files inside DevTools (Source Tab). Then save the changes (CMD + S) . You will see in the console "Recompilation and update succeeded." and the background color will change.  This trick is not very useful alone. But you can use it while debugging with breakpoints.  This tip is really useful to debug on-the-fly in production sites.  

 

4. ALT + Click
This trick is awesome for severe cases of HTML divitis. Press ALT and click at the same time on the arrow, it will expand all the HTML elements under it.

5. debugger
This is not a keyboard shortcut. Place the string debugger in your JavaScript code, reload the page, and it will have the same effect than a breakpoint.

Modules Unraveled: 104 Developing the Acquia Certification Program with Heather James, Ben Ortega, Peter Manijak and Prasad Shirgoankar - Modules Unraveled Podcast

Tue, 04/15/2014 - 23:00
Published: Wed, 04/16/14Download this episodeAcquia Certification Program
  • First off, what is the Acquia Certification Program?
  • Who was involved in developing the curriculum?
  • I took a quick look, and it seems that there are four parts to the test. Are those taken individually? Or all together? (And what are the sections?)
    • Will this accurately assess front-end developers? Or Backend/Sitebuilders.
    • What about specialists?
  • How is the exam administered?
  • Where can people take the test?
  • There has been talk about certifications in the past. Some have been for it, and some have been opposed. What kind of feedback have you received so far?
Future
  • Will you be updating the program regularly? Absolutely
  • Will there be a D7 version and a D8 version? It will depend on the exam and the need s of the role we are validating
  • Should other certification programs be developed?
Questions from Twitter
  • Tanay Sai
    Any plans to launch further specialization/levels? Like for Architects, themers, Drupal PMs etc? Yest, the Front end and Back end specialist exams are on the current roadmap. Other are in pre-planning stages.
Episode Links: Certification team on TwitterWebchick’s Study GuideTanay’s Study GuideExam siteWebinar on April 23rdBen on TwitterHeather on TwitterHeather’s Personal TwitterHeather’s WebsitePrasad on TwitterPeter on TwitterEmail the Certification TeamTags: 

NYC Camp News & Announcements: <a href="/news/free-drupal-trainings-nyc-camp">Free Drupal trainings at NYC Camp</a>

Tue, 04/15/2014 - 21:27

Did you know NYC Camp has a massive list of completely free Drupal trainings scheduled for Thursday April 10th??? Check out the line-up and sign up!

Don't Forget To Register!

Make sure you create an account and register for NYC Camp 2014, Registration is completely free but the UN security is fairly strict so please register for the camp and then you can go ahead and sign up for a free training on any of the training description pages!

NYC Camp News & Announcements: <a href="/news/nyc-camp-united-nations">NYC Camp At The United Nations!</a>

Tue, 04/15/2014 - 21:27

NYC Camp ("nice camp") is an annual conference featuring talks, industry summits and code sprinting all aimed at accelerated learning and contributing to Drupal and related open source projects."

This year NYC Camp 2014 is being held The United Nations April 10th-13th.

NYC Camp News & Announcements: <a href="/news/announcing-nyc-camp-2014">Announcing NYC Camp 2014</a>

Tue, 04/15/2014 - 21:27

NYC Camp (aka 'nice camp') is an annual 4 day mini Drupal conference held in NYC dedicated to Drupal learning and contribution. Best of all it's completely free and volunteer powered! This past year we had a spectacular event packed with trainings, sessions, summits and sprints. We've got a great event in the works and expect NYC Camp 2014 to rock even harder than last year!

Interested in volunteering? Yes You! Sign up to participate and contribute to your NYC Drupal community here

Stay up to date on all upcoming NYCCamp News by following us on twitter @NYCCampDrupal

AGLOBALWAY: Redirect user after login (or filling out other forms)

Tue, 04/15/2014 - 16:50
Redirecting a user to a specific path after a form submission is a feature required by most CMS websites. In Drupal, as with most things, there’s multiple ways to do it. Here’s a couple we use, depending on the site’s requirements:  

This is a method can be used for all the forms. Two steps here:

  1. Change block thank you page urlThis method only works for a form in a block. In admin->structure->block, find the block containing the form and there is a configuration named “Thank You Page”. Put in the redirect url here or leave blank for no redirect. The benefit of this way is both developers and the website administrator can change it without touching code while the limitation is the form must be put in a form. 
  2. Add a submit handler to form_alter
    1. Add a submit handler to the form_alter with the condition that the form id is the one we want to customize.
    2. Assign the redirect path to $form_state['redirect'] in the handler function.

 

Tags: drupal planet

groups.drupal.org frontpage posts: NYC Camp Media sprint report

Tue, 04/15/2014 - 15:09

New York city Drupal camp happened last weekend in United Nations HQ and there was, among numerous other things, Media sprint going on. Organizers did their best to bring some of the most active Drupal Media contributors on-site. We are very happy and thankful that they made this possible, as we managed to achieve some very important steps forward.

Plans for Drupal 8

Main part of our efforts at the camp was roadmap for Media in Drupal 8 as part of which we achieved few very important conclusions:

  • Storage components: there are still different opinions about the storage part (AKA "File entity" approach vs. "Media entity" approach - for more info check https://groups.drupal.org/node/384813). We decided that this is fine. We will continue to work on both solutions, while trying to find as many sticking points as possible and share as much code as possible. Entire ecosystem will be split into several sub-components in order for this to be possible.
  • Decoupled components architecture: as already mentioned we're dividing Media ecosystem into smaller pieces, which will be easier to develop and maintain. We will make sure to make every component as generally usable as possible. This will allow us to use them with both storage solutions and also, when applicable, in more general contexts (not necessary related to media itself). "Full featured" media solutions will still exist, but will mostly provide glue that will make individual components able to work together.
  • Media browser/selector/creator: this part of the system will be responsible for browsing media collections, picking and/or creating individual or multiple media items. It will be used in different contexts as fields (entity reference, file, image, ...), WYSIWYG, global, etc. This component will not be related to media by it's nature. It should be possible to use it also in other similar use-cases (browsing and picking nodes for an entity reference field for example). Existing tools/systems should be used where possible (Views for entity browsing, existing field widgets for entity creation, ...).
  • WYSIWYG integration: core now supports image embeds by default, but we still want to be able to embed other types of media. WYSIWYG entity embed framework will be responsible for that. It will be able to embed any entity using techniques that were already tested in D7. Entity-specific solutions that we know from D7 world (node_embed, ...) will become obsolete as a result of that.
  • Display configuration: we will create two levels of display configuration. Field formatter level will provide more basic functionality, while ensuring simpler interface for site builders and administrators. This approach is expected to be used on simpler sites. Media/File entity render will, on the other hand, provide more powerful display configuration system with more complexity. Both storage solutions will share some parts of display configuration components, but it will not be possible to re-use everything.
  • 3Rd party providers: both storage solutions will need own 3Rd party integrations due to fundamental differences in storage implementation.
Next events/sprints Getting involved

In order for Media to really rock in D8 we need a lot of help (by this I mean A LOT!). Are you personally interested in media on Drupal or you run a Drupal company/shop and have to deal with funky media problems and desperately need a powerful and extensible solution for that? Are you able to dedicate some of your (or one or your employees) time to achieve that goal?

We need you! No matter which skills you have! We need help with back-end and front-end development. We also need design/UX skills to create good editorial experience. Are you not a coder, but have good ideas? We need those!

You can reach us on #drupal-media or on groups.drupal.org/media. There will be weekly "scrums" held in Google Hangout onAir every Tuesday at 3:30PM GMT (follow groups.drupal.org/media for announcements).

We need your user stories

There are as many possible media use-cases as there are Drupal websites. In order to be able to design the system in a way that will work for most possible situations we need your feedback - your user stories. Please take few minutes to think about your past project that dealt with Media and try to remember interesting problems that you'be been facing. Then use our form and send them our way in a form of a user story.

Google Summer of Code 2014

We have two quite strong media related project proposals for this year's Summer of code. We are hoping for both of them to be accepted. We will be able to publish more informations about that in the second part of April.

Please help Aaron Winborn

Aaron is a long time Drupal contributor, author of many media-related modules and a great and inspiring person. He is fighting ALS and he needs our help. Please consider contributing to his fund to help them make his and his families life just a little bit easier. Thank you!

We would like to thank camp organizers one more time. They prepared an unforgettable event for us. We would definitely not be able to achieve this progress without their support!

Isovera Ideas & Insights: It's OK Not to Be Sexy

Tue, 04/15/2014 - 12:49

It's OK not to be sexy.  

X-Team: Use Drupal Vagrant Rsync feature to maximize performance

Tue, 04/15/2014 - 12:49
We all know that Drupal doesn’t do really well under the default shared folder of VirtualBox. When we were given the task of creating a new box for one of our clients, we immediately went with NFS file system to circumvent this issue. We quickly realized two things: Vagrant is way faster with NFS enabled...

DrupalCon Austin News: Calling All Mentors!

Tue, 04/15/2014 - 11:21


If you’ve ever attended a sprint, you know how important mentors are. We're asking for interested volunteers to sign up to act as mentors for the DrupalCon Austin sprints. We’re expecting 600 attendees to get involved, and need all the help we can get!

DrupalCon Austin News: DrupalCon Austin 2014 Grant and Scholarship Recipients Have Been Selected

Tue, 04/15/2014 - 09:56

We’re pleased to announce that the grant and scholarship recipients for DrupalCon Austin 2014 have been selected and finalized!

Thanks to generosity from our sponsors, we were able to extend offers of financial aid to 33 individuals worldwide!

There were over 100 applicants for financial aid for DrupalCon Austin, and selecting the best candidates for the convention was difficult work. Every candidate underwent a comprehensive evaluation by a committee of volunteers from the Drupal community.

Pages