Skip to Content


KnackForge: How to install XHProf (for Drupal)

Planet Drupal - 27 July 2015 - 10:30pm

XHProf is a hierarchical profiler for PHP. It reports function-level call counts and inclusive and exclusive metrics such as wall (elapsed) time, CPU time and memory usage. A function's profile can be broken down by callers or callees. The raw data collection component is implemented in C as a PHP Zend extension called xhprof. XHProf has a simple HTML based user interface (written in PHP). The browser based UI for viewing profiler results makes it easy to view results or to share results with peers. A callgraph image view is also supported.

Install XHProf

I made sure xhprof-0.9.2 was installed inside the www-directory of the webserver.

Categories: Drupal


New Drupal Modules - 27 July 2015 - 6:56pm

Provides a simple HTML5 geolocation service. User's location is returned in a callback via jQuery.

Geolocate module provides a more mobile friendly user geolocation service for Drupal. Most other geolocation solutions in Drupal seem to use a stored field, which doesn't make a lot of sense on the real time web. (Eg. why would you need to update the user's profile each time their location changes?)

Categories: Drupal

DrupalCon News: Session Spotlight: Best Practices for Coding with Drupal 8

Planet Drupal - 27 July 2015 - 4:26pm

Drupal 8 is the talk of the town and hopefully by Barcelona time, it can be the headliner. But with all of the excitement, there will also be changes that come with the new release. Drupal developers have grown used to using hooks throughout Drupal's history, but ‘times are changing’ as Joe Shindelar (eojthebrave) notes in his session about the new patterns Drupalistas will need to learn to make Drupal 8 work.

Categories: Drupal

Drupal core announcements: Drupal 8 core updates for July 27th, 2015

Planet Drupal - 27 July 2015 - 1:26pm

Since the last Drupal 8 core update, the API module maintainers started looking for co-maintainers, and Two-Factor Authentication was rolled out to anyone with the Community role on (among other improvements).

What's new with Drupal 8?

Drupal 8's minimum PHP version increased to 5.5.9, and minimum PostgreSQL version increased to 9.1.2. Also, tim-e handed off co-maintainership of the Contact module to Jibran Ijaz and Andrey Postnikov; and Frando stopped being a maintainer of the Entity, Form, and Render systems — special thanks to both tim-e and Frand for their amazing contributions!

Some other highlights of the month were:

How can I help get Drupal 8 finished?

See Help get Drupal 8 released! for updated information on the current state of the software and more information on how you can help.

We're also looking for more contributors to help compile these posts. Contact mparker17 if you'd like to help!

Drupal 8 In Real Life Whew! That's a wrap!

Do you follow Drupal Planet with devotion, or keep a close eye on the Drupal event calendar, or git pull origin 8.0.x every morning without fail before your coffee? We're looking for more contributors to help compile these posts. You could either take a few hours once every six weeks or so to put together a whole post, or help with one section more regularly. If you'd like to volunteer for helping to draft these posts, please follow the steps here!

Categories: Drupal

OSTraining: How to Integrate Drupal and Shopify

Planet Drupal - 27 July 2015 - 12:29pm

One of the most frequent questions we get asked by OSTraining members is this:

"Is there an easy shopping cart for Drupal?"

Don't get me wrong. Drupal Commerce is a great system, and we have a detailed video class explaining how to use it. But no-one would describe Drupal Commerce as easy, and Ubercart is equally difficult.

There are few other valid e-commerce options. One, called Basic Cart, works great but doesn't actually have any payment options.

So in this tutorial, we'll explain how to use and Drupal together. Shopify is a robust option and can reduce the burden of maintaining an e-commerce store.

Categories: Drupal

DrupalCon News: Session Spotlight: the Business track is for more than just business people

Planet Drupal - 27 July 2015 - 11:20am

Whether you're counting Business Summit attendees or conference registrants with C-Suite titles, last year DrupalCon Europe saw about 500 attendees who were highly interested in the business-side of Drupal. As we saw in the Business Track and the business-related BoFs, there is a strong interest at Cons for not only learning the skills to code better, but also to make your business better, and DrupalCon Barcelona will be no different.

Categories: Drupal

Drupal Association News: Take the 2015 Drupal Job Market Survey

Planet Drupal - 27 July 2015 - 9:19am

Last year we conducted a Drupal Job Market survey to better understand the opportunities for those who know Drupal. The survey showed strong demand for Drupal skills and demonstrated why Drupal is a rewarding and potentially lucrative career path. We are conducting another survey this year. 

Take the Survey

This year we are adding questions about compensation to help Drupal talent and hiring organizations benchmark themselves.

You can expect to see the results from the survey published in late August. Thank you for taking the survey!   


Categories: Drupal

Views Entity Access

New Drupal Modules - 27 July 2015 - 9:04am

This module is designed to provide a way for a VIEW to expose in the page settings the use of Entity Types or Entity Bundles as permission controls.

When using Menu Tabs, the need to limit those to a particular entity was a requirement in some situations. Without writing custom code every time, this module was born.

Categories: Drupal

SAML Authentication

New Drupal Modules - 27 July 2015 - 7:49am

Allows users to authenticate against a SAML identity provider to login to your Drupal site.


Categories: Drupal

Auto Entityqueue

New Drupal Modules - 27 July 2015 - 6:04am

Automatically adds entities to entityqueues.

Categories: Drupal The Next Drupal Move

Planet Drupal - 27 July 2015 - 5:17am
Categories: Drupal

Tim Millwood: Overriding Drupal 8 services

Planet Drupal - 27 July 2015 - 4:42am
Since July 2014 there’s been a feature in Drupal 8 has a way to override backend specific services....
Categories: Drupal

Red Crackle: Adding multiple SKUs of a product

Planet Drupal - 27 July 2015 - 4:40am
In this post, you will learn how to add multiple SKUs of a product. When user adds product to the cart, he will be able to select the specific SKU to check out. Creating multiple SKUs and showing them in the same product display is helpful if the underlying product is the same, only some of the attributes are different. A common attribute that can be changed is color. In this specific example, we have used the number of LEDs within the flashlight as an attribute that the customer can select to purchase.
Categories: Drupal

Annertech: How to Integrate your Drupal Website with Salesforce CRM

Planet Drupal - 27 July 2015 - 3:44am
How to Integrate your Drupal Website with Salesforce CRM

Recently, I wrote a blog post on the benefits of integrating your website and CRM, and Anthony followed up with another on the typical integration patterns you commonly see. Annertech have a lot of experience integrating Drupal websites with various CRMs, so this is the start of a new series on CRM integration where we will go into more detail on some of the more popular CRMs we’ve worked with.

Categories: Drupal

Drupal core announcements: Recording from July 24th 2015 Drupal 8 critical issues discussion

Planet Drupal - 27 July 2015 - 2:53am

This was our 9th critical issues discussion meeting to be publicly recorded in a row. (See all prior recordings). Here is the recording of the meeting video and chat from Friday in the hope that it helps more than just those who were on the meeting:

If you also have significant time to work on critical issues in Drupal 8 and we did not include you, let me know as soon as possible.

The meeting log is as follows (all times are GMT real time at the meeting):

10:08 WimLeers[0]=1&status[1]=13&status[2]=8&status[3]=14&status[4]=15&status[5]=4&priorities[0]=400&version[0]=8.x&issue_tags_op=%3D&issue_tags=D8%20cacheability

10:08 WimLeers

10:08 WimLeers
10:09 Druplicon => Config overrides should provide cacheability metadata [
=> 147 comments, 39 IRC mentions

10:09 WimLeers
10:09 Druplicon => [PP-1] Make D8 2x as fast: SmartCache: context-dependent page caching (for *all* users!) [
=> 226 comments, 21 IRC mentions

10:10 WimLeers
10:10 Druplicon => Auto-placeholdering [
=> 2 comments, 3 IRC mentions

10:14 pfrenssen
10:14 Druplicon => Config overrides should provide cacheability metadata [
=> 147 comments, 40 IRC mentions

10:14 pfrenssen
10:14 Druplicon => Ensure token replacements have cacheability + attachments metadata and that it is bubbled in any case [
=> 176 comments, 29 IRC mentions

10:18 alexpott
10:18 Druplicon => Config save dispatches an event - may conflict with config structure changes in updates [
=> 6 comments, 1 IRC mention

10:20 alexpott
10:20 Druplicon => Remove argument support from TranslationWrapper [
=> 12 comments, 4 IRC mentions

10:25 WimLeers
lauriii: welcome!
10:29 lauriii
WimLeers: little late because I'm in a sprint and was helping people ;<

10:45 alexpott
The upgrade path we're talking about
10:45 Druplicon => Provide an upgrade path for #2354889 (block context manager) [#2528178]
=> 143 comments, 1 IRC mention

10:52 alexpott
10:52 Druplicon => Remove argument support from TranslationWrapper [#2538514]
=> 12 comments, 5 IRC mentions

10:52 WimLeers

11:02 dawehner
11:02 catch
\Drupal\block\Plugin\Derivative\ThemeLocalTask also.

11:19 alexpott
berdir: is talking about

11:19 Druplicon => ContentEntityBase::getTranslatedField and ContentEntityBase::__clone break field reference to parent entity [
=> 36 comments, 1 IRC mention

Categories: Drupal

Commerce Customer Contact

New Drupal Modules - 26 July 2015 - 7:41pm

Have you ever needed a quick and easy way for a site admin to contact a customer on a Drupal Commerce-powered site to send a message about his or her order? For example, to ask the customer question about the order, or to provide him or her an update on the order status?

Introducing Commerce Customer Contact, a module that extends and customizes the Contact module in core to display a contact form in any or all of the following places:

Categories: Drupal

Wuinfo: Content as a Service

Planet Drupal - 26 July 2015 - 5:47pm

As one of Canada’s most successful integrated media and entertainment companies, Corus have multiple TV channels and websites for each channel.

It had been a challenge to have multiple channels' live schedule data displayed on websites. All the data are from a central repository. It became a little bit difficult since the repository is not always available. We had used Feeds module to import all the schedule data. Each channel website keeps a live copy of the schedule data. Things got worse because of the way we update the program items. We delete all the current schedule data in the system and then imported from the central repository. Sometimes, our schedule pages became empty because the central repository is not available.

Pedram Tiv, the director of digital operations at Corus Entertainment, had a vision of building a robust schedule for all channels. He wants to establish a Drupal website as a schedule service provider - content as a service. The service website download and synchronize all channels schedule data. Our content manager can also login to the website and edit any schedule items. The site keeps all the revisions for the changes. Since, the central repository only provide raw data, It is helpful we can edit the scheduled show title or series name.

I loved this brilliant idea as soon as he had explained it to me. We are building a Drupal website as a content service provider. It means we would build a CMS for other CMS websites. Scalability is always challenging for a modern website. To make it scalable, Pedram added another layer of cache protection. We added S3 cache between the schedule service and the front end web servers. With it, schedule service can handle more channels and millions of requests each day. Front end websites download schedule data from the Amazon S3 bucket only. What we did is creating and uploading seven days' schedule data to S3. We set up a cron job for this task. Every day, It uploads thousands of JSON schedule files for different channels in different time zones of next seven days each time.

This setup offloaded the pressure of schedule server and let it serve unlimited front end users. It gives seven days of grace period. It allowed the schedule server to be offline without interrupting the service. One time, our schedule service was down for three days. The schedule service was not affected because we have seven days of schedule data in an S3 bucket. By using S3 as another layer of protection, it provided excellent high availability.

Our schedule service have been up and running for many months without a problem. There are over 100,000 active nodes in the system. For more detail about importing large number of content and building an efficient system, we have some other blogs for this project.

Sites are that are using the schedule services now:

Categories: Drupal

Paul Rowell: Drupal's admin pages can be beautiful!

Planet Drupal - 26 July 2015 - 1:20pm

So, it turns out the Drupal CMS can be beautiful. I kid you not! Anditko has updated the Adminimal theme with a material skin based on Android Lollipop. I've mentioned Adminimal before, an admin theme that greatly improves the look and feel of Drupal’s CMS, and the latest update takes it that step further into the land of stunning.

Categories: Drupal

Commerce VirtualMerchant

New Drupal Modules - 26 July 2015 - 9:22am

Commerce integration with the VirtualMerchant payment processor.


This module was forked from an old GitHub repo belonging to deggertsen.

Categories: Drupal
Syndicate content

about seo