Falls ihr auch einmal Adressen via Feeds importieren möchtet, benötigt ihr für das Land im Addressfield sicher das Länderkürzel. Nachfolgend findet ihr eine Deutsche Liste der vom Addressfield verwendeten Kürzel, die vermutlich dem ISO
Drupal 7
When using HOOK_node_view() you should take care because when the search (Search API especially) is indexing, this hook is also being called. You can not rely on a user displaying the node display currently. Here's a way to ensure this...
As Drupal developer you have to mess around with patches sometimes. Some of you might use Drupal module to manage their patches, some may use Git. Others may handle patches manually (which is the worst solution).
I really had a bad hour figuring out how Drupal services.module (Version 3.x) session authentication works. The documentation is poor and there are several issues stating out problems. Finally I was able to find a way out of the Service
I had the requirement to check the equality of addresses in customer orders (billing / shipping) and wrote two helper functions for that. Perhaps you'll run into the same demand one day. Then please leave a comment here and in the original
Attaching documents like PDFs to Drupal eMails is quite simple. For our specific case we needed to attach PDF documents to Drupal Commerce Message order confirmations. This can easily be done using the hook below. Simply modify the names
Use this simple snippet to embed a view in code and only display it if the view has at least one result (prevent rendering empty views markup):
I created this issue and snippet as better entityreference.module autocomplete widget usability solution in: 2571107.do
Today I had the challenge to add some extra (programatically calculated) fields to show in commerce.module product display nodes. In our specific case it was a "base price" that should be shown additionally to calculated SALE prices.
This post saved you a lot of time and headache?
Then I'd be very happy about a delicious coffee! Or a helpful book from my wish list.