Skip to Content

Planet Drupal

Syndicate content - aggregated feeds in category Planet Drupal
Updated: 1 day 15 hours ago

Drupal @ Penn State: Drupal developers will love Vagrantcloud! (I do)

19 March 2014 - 12:46pm

This video walks through just one use-case for Vagrant and the Vagrantcloud platform, standardizing and improving development practices in the ELMS Learning Network platform.  I talk through a little bit of the vagrant packaging format, how to make a new .box and what vagrantcloud is.  All of these I think can be used to help allow for better, more diverse options in distributed development.

Categories: Drupal

Drupal Association News: The Drupal Association’s Biggest Takeaways from DrupalCamp London

19 March 2014 - 11:55am

For me, going to DrupalCamp London was a bit like going home. After I joined the Drupal Association, DrupalCon London was the first Con I worked on from beginning to end, and it was where I was fully introduced to the incredible Drupal spirit. I built great friendships with so many wonderful community members, who gave up their free time to help make that event a success.

Categories: Drupal

Drupal Association News: Drupal Community Enjoys Huge Turnout in Global Training Days

19 March 2014 - 9:08am

Great news, everybody: The Drupal Association’s February Global Training Days was a HUGE success! 34 training companies from 20 countries participated in hosting Introduction to Drupal and What is Drupal sessions. We at the Drupal Association would like to issue a huge thank you to the participating companies and trainers that hosted the sessions. You guys rock!

Categories: Drupal

Mediacurrent: Presentation: What to Expect in Drupal 8

19 March 2014 - 7:18am

I recently had the opportunity to be a featured speaker at Drupalcamp Florida. In my session, we went over the new features of Drupal 8 and what you can expect to see in the forthcoming version. From CMI, views in core, web services, mobile and HTML5 we talked about the new features and showed a live demo of some of the new features. In addition the session covered how to help finalize Drupal 8 and get involved yourself.

Categories: Drupal

DrupalCon Austin News: Austin Instant Replay

19 March 2014 - 7:03am

This is my fifth DrupalCon monitoring session submissions. My fifth time nervously counting the submissions as they come rolling in, first at a trickle, maybe 20 in a week. Then stagnation, followed by a bit of a panic - did we remember to tell people??

And then suddenly, the week sessions close, the sessions come pouring in like a flood. In just this last week, submissions increased nearly 400%.

Categories: Drupal

Wunderkraut blog: Angular and Drupal/PHP: Get $_POST data working (hint: It's JSON!)

19 March 2014 - 4:29am

A little tip can save you headaches when trying to access your AngularJS app's post data in Drupal/PHP.

Ok, the title says it all, but for all those blog prose aficionados amongst you, here's the long version.

These days chances are you implement your frontend functionality in JavaScript as an AngularJS app (check it out!). In that case you'll probably want to connect your Angular app to fetch data from your backend (Drupal or PHP in general assumed). You'll also probably supply some app parameters such as user input via data, for example in a http post request with Angular's default $http service, like that:

var request_data = { firstname: 'Quentin', lastname: 'Hapsburg' }; $, request_data) .success(request_success_callback) .error(request_error_callback); // ...

Now on Drupal/PHP you're eventually going to trying access that post data with good 'ole $_POST superglobal (since we're not dealing with Drupal's form submission handling here):

$firstname = $_POST['firstname'];

BUT: This will simply result in an "index not defined" PHP notice, because $_POST is an empty array – you simply can't access your precious http post data with your traditional means. And that's going to make you tear your hairs out – why in the world is $_POST data is plain empty, even in a simple non-Drupal PHP script?!?!

The explanation and solution are dead simple:

Angular's $ is by default assuming and encoding your post data to be JSON, instead of ye ole querystring-formatted post data you and your PHP would expect as with a <form method="post"...> submit.

To access your Angular app's post data in PHP (and Drupal) you have to read in the raw request payload and decode it from JSON into your beloved PHP array form (which you'd have your traditional $_POST data in):

$data = file_get_contents("php://input"); $data = json_decode($data, TRUE);

Hope this saved you some minutes or hours. Happy coding!

Categories: Drupal

Modules Unraveled: 100 Starting a New User Group with Micah Godbolt - Modules Unraveled Podcast

19 March 2014 - 1:23am
Published: Wed, 03/19/14Download this episodePDXSass
  • What is PDXSass?
  • Why did you decide to start the meetup?
  • What does a typical meetup look like?
  • How did you decide on a location? (And time?)
  • Do you have sponsors?
    • How did you get them?
  • If someone wanted to start a meetup, what advice would you give them?
    • What’s the first thing they should do?
  • Where do you get speakers?
  • I really enjoy SassBites, so I wanted to plug that here. For anyone that doesn’t know, tell us what SassBites is.
  • What are some of the topics that you’ve covered?
  • How much work is involved in producing a SassBite?
  • If someone listening wanted to start doing short screencasts, what would you tell them?
NodeSquirrel Ad

Have you heard of/used NodeSquirrel?
Use "StartToGrow" it's a 12-month free upgrade from the Start plan to the Grow plan. So, using it means that the Grow plan will cost $5/month for the first year instead of $10. (10 GB storage on up to 5 sites)

Episode Links: Micah on drupal.orgMicah on TwitterMicah on G+PDX Sass on TwitterPDX Sass on Meetup.comPDX Sass on G+Sass Bites on YoutubeSass Bites on TwitterTags: 
Categories: Drupal

Ben's SEO Blog: About Our Partnership with Net-Results

18 March 2014 - 9:11am

Today we announced that Automatr, our marketing automation platform for Drupal, was built on the Net-Results platform. Although that has not exactly been a secret, it’s not something we had publicly announced prior to today so I wanted to take a few minutes to tell our partners and customers about this relationship and what it means to you and to Volacci going forward.

The partnership we have with Net-Results is about playing to our strengths. Net-Results provides a technology platform that is one of the best in the world in the marketing automation space. By using that platform, it gives us a really nice head start on building great marketing tools for Drupal; which is Volacci’s strength. We’ve been in the Drupal marketing space for many years and our mission is to build the best marketing tools that exist for Drupal. This partnership gives us an excellent platform to build them on.

When I first met Michael Ward and Matt Filios - the founder and President of Net-Results, I very quickly sensed that we had a lot in common. Volacci and Net-Results are very similar types of companies: we’re similar in size, our leadership thinks about the market in much of the same way, we are very entrepreneurial, and we’re willing to take risks in order to take on the market. We are very well aligned in our approach and that was important to me.

Not to mention the technology is great! Putting our technologies together makes a lot of sense to me. I could see right away that there would be some great synergies. For example, many of the other marketing automation platforms that we investigated require you to do things like embed their form in your Drupal site. Drupal already has a great form system in the Webform module; we don’t need another form system. We need a technology that can be integrated with Drupal’s webforms and that’s what Net-Results does with their web form mapping approach. Drupal owners can keep using the forms that you already have and map them into Automatr.

Another benefit is our open API. Everything that we’ve built for Drupal in Automatr has been done using an open API and that’s been really powerful. It’s allowed us to do a lot of very interesting things like personalization. That’s a huge new area that we’re exploring and it’s all built on data that we’re pulling out of the Net-Results system. We’re going to announce some really interesting tools for developers this year that will allow them to do things like change page content based on who is viewing the page. We wouldn’t have been able to do that with any other partner.

Our initial goal here for 2014 is to get a couple dozen Drupal partners to become users and builders of solutions using Automatr. If we can accomplish that then I believe we’ll be well on our way to a successful product launch. We’ll measure our success by how well the Drupal market responds to what we are offering. That is the bottom line. If we can create great tools for Drupal marketing then we’ll have done our job.

I’d love to see Automatr and Drupal become the de facto standard for building fantastic marketing platforms on mobile and the web. That’s what we are working toward here at Volacci and this partnership with Net-Results is a big part of making that happen.

Volacci CEO Ben Finklea talks about our new partnership, Automatr, and Drupal.automatr news, marketing automation, Planet Drupal
Categories: Drupal

DrupalCon Austin News: Why You Should Send Your Employees to DrupalCon

18 March 2014 - 8:59am

Deciding whether or not to send your company’s employees to DrupalCon can feel like a huge undertaking. You may be wondering, what's the ROI? If sessions are available on YouTube after the event, what’s the value of being there in person? Is it really worth it?

Categories: Drupal

Commerce Guys: Commerce Bundle: Taking the “Un!” out of bundles

18 March 2014 - 8:29am
First, let’s clarify our meaning of the term “bundle”. Mothers consider their newborns “little bundles of joy”. Drupal developers feel giddy when they create a new “bundle of fields on an entity type”. Today, however, we’ll be looking at a far more sinister definition; the one used inside the marketing dept. i.e. product bundles.   I imagine the idea of product bundles originated somewhere in Ancient Egypt during the reign of the Pharaohs. It likely occurred when an engineer in the Mummification department who was struggling to come up with new product ideas decided to swing by the Marketing department for some friendly banter.   Marketing Manager: “Greetings Amun. How’s it going?”   Engineer: “Not so well. I’ve got His Royal Pain-in-the-Butt Tutankhamun breathing down my neck to increase our product line. I’ve told him a thousand times that making mummies only requires three things 1. gauze wrap, 2. embalming fluid, and 3. a nasal brain extractor. What am I to do?!”   Marketing Manager: “Now I’m just spitballing here, but since you’re so good at wrapping, heh heh, why not just wrap all three of those products up, and sell them together as a new product? You know, a DIY mummy kit.”   Engineer: (Sigh)   and the world was given product bundles.     Now we’re happy to announce that Drupal Commerce sites can offer their customers product bundles in the form of the Commerce Bundle module. Some notable features of the module are:   Product attribute support Let’s say that one of your products are all the boondoggle keychains you made at scout camp. They come in a variety of sizes and colors (i.e. attributes), and now you want to bundle them with your Three Wolf Moon t-shirts that have attributes as well. Commerce Bundle will generate select widgets for each attribute per product in your bundle, so that a customer can choose the exact bundle configuration they desire.   Bundle pricing at the product level This gives you complete control over the price of each item in your bundle. For example, you might have created a bundle containing your illustrations of mythical creatures. You’d like to sell the colored illustrations for $5 more than the black and white. In this case, just set the bundle item price for colored to the desired amount, and you’re all set. This also means that the total bundle price is determined by the sum of the item prices.   Multi-quantity product support Maybe your keychain/t-shirt bundle isn’t selling so well, and you’d like to sweeten the deal by adding a second keychain for free! This can be done by setting Unit Quantity=2 for your keychain group. The unit quantity tells commerce_bundle how many of a particular product is required when bundle quantity equals one.   Bundles function at the line item level Your bundles really only act as a bundle on the Add to Cart form and when a customer is managing their cart (i.e. removing bundles, changing quantity). Once checkout begins, there is no concept of a bundle, just a group of line items in a cart. This means that the module will play nice with other modules in the Drupal Commerce ecosystem e.g. Commerce Reports.     This project was built by Commerce Guys, and sponsored by Idea Den.


Categories: Drupal

Open Source Training: CKEditor Buttons Missing in Drupal

18 March 2014 - 7:26am

A few times over the last couple of weeks, OSTraining members have run into trouble with CKEditor for Drupal.

They find that some buttons are missing from CKEditor when they try to create content.

These buttons include the Styles, Format and Size icons.

Categories: Drupal

Drupal Easy: DrupalEasy Podcast 125: History of the (Drupal) World, Part 1

18 March 2014 - 6:16am
Download Podcast 125

Moshe Weitzman (moshe weitzman), one of the earliest Drupal contributors, Drush and Devel maintainer, and the Director, Research and Development for Acquia joins Mike Anello for a look back down Drupal’s memory lane. Moshe shares stories of the first publically available version of Drupal, the first DrupalCon, and how came about. As always, we also cover some Drupal-y news, share our picks of the week, and subject our guest to five questions!

read more

Categories: Drupal Replacing Menu Item Visibility module with custom "in code" solution

18 March 2014 - 4:03am

I'm a big fan of fighting with Drupal's inefficiencies and bottlenecks. Most of these come from contrib modules. Everytime we install a contrib module we should be ready for surprises which come on board with the module.

Drupal Tags  drupal 7, drupal snippets, drupal planet Read on about Replacing Menu Item Visibility module with custom "in code" solution
Categories: Drupal

Open Source Training: Videos on Using Linkit with CKEditor in Drupal

18 March 2014 - 1:15am

CKEditor will be the default editor in Drupal 8 and is currently the most popular editor in Drupal 7.

However, in some respects, CKEditor isn't very tightly integrated into Drupal. For example, it's not able to access Drupal images or link to Drupal content.

The Linkit module is the best way to improve linking.

Linkit provides an auto-complete field for linking to nodes, users, files, terms, and fields. Linkit makes creating links significantly more user-friendly.

Categories: Drupal

Michael J. Ross: Drupal Flag Module Checkbox Solution

17 March 2014 - 9:09pm


Web users are accustomed to clicking on checkboxes, buttons, and icons to flag and unflag items of all sorts, such as favorite blog posts. The Flag module is a popular project for implementing flag capabilities on Drupal websites. Thus, it is a shame that it does not support checkboxes or any other intuitive interface elements on entity displays, but instead uses only links (as of this writing).

Fortunately, there is at least one workaround, which would be implemented on the flag admin page for the given entity type, such as nodes (admin/structure/flags/manage/node_flag): You can use characters that look like unchecked and checked checkboxes (☐ and ☑), instead of or as part of the "Flag link text" and "Unflag link text" values, respectively. These special characters are the Unicode characters U+2610 ("ballot box") and U+2611 ("ballot box with check"), and can be displayed on web pages using the HTML decimal entities "&#9744;" (hex "&#x2610;") and "&amp#9745;" (hex "&#x2611;").

Beware that, if these characters are used alone, with no accompanying explanatory text and no helpful title attribute in each anchor's open tag, then this approach produces HTML that may not be accessible by assistive browsing technologies. But for now, it may have to do.

Copyright © 2014 Michael J. Ross. All rights reserved.

Categories: Drupal

Drupal Association News: Drupal Association Board Meeting: March 13, 2014

17 March 2014 - 4:21pm

Another month, another Drupal Association Board Board Meeting! Huge thanks to the community members who showed up in the meeting and on IRC to participate. We are very lucky to have so many active and passionate community members who help shape the direction of the Association. This month we tackled several meaty topics, made a big announcement, and more.

Categories: Drupal

PreviousNext: Drupal 8 Now: PSR-0 code in Drupal 7

17 March 2014 - 3:00pm

Drupal 8 embraces modern PHP with all the trimmings, shedding the baggage of supporting earlier PHP versions and embracing the new object-oriented features.

One such feature is namespaced objects and the PSR-0 standard for autoloader compatability.

But if you know your project will run on a recent version of PHP, there's no reason you can't write your custom modules using PSR-0 now, in Drupal 7

Categories: Drupal

PreviousNext: Drupal 8 Now: PSR-0 code in Drupal 7

17 March 2014 - 3:00pm

Drupal 8 embraces modern PHP with all the trimmings, shedding the baggage of supporting earlier PHP versions and embracing the new object-oriented features.

One such feature is namespaced objects and the PSR-0 standard for autoloader compatability.

But if you know your project will run on a recent version of PHP, there's no reason you can't write your custom modules using PSR-0 now, in Drupal 7

Categories: Drupal

PreviousNext: Drupal 8 Now: PSR-0 code in Drupal 7

17 March 2014 - 3:00pm

Drupal 8 embraces modern PHP with all the trimmings, shedding the baggage of supporting earlier PHP versions and embracing the new object-oriented features.

One such feature is namespaced objects and the PSR-0 standard for autoloader compatability.

But if you know your project will run on a recent version of PHP, there's no reason you can't write your custom modules using PSR-0 now, in Drupal 7

Categories: Drupal

Daniel Pocock: Hangouts Outage? Try WebRTC and JitMeet

17 March 2014 - 2:35pm

With Hangouts being offline right now, it might be a good opportunity to catch up on some of the exciting, free and open alternatives:

Categories: Drupal

about seo