Skip to Content

Drupal

ngdrupal

New Drupal Modules - 20 April 2015 - 12:27pm
Categories: Drupal

Drupal Watchdog: VIDEO: DrupalCon Amsterdam Interview: Fabian Franz

Planet Drupal - 20 April 2015 - 11:18am

Cruising down the Amstel River on a blissfully warm Amsterdam evening – drink in hand – the fabulous FABIAN FRANZ (Senior Performance Engineer & Technical Lead, Tag1 Consulting) opens up about DrupalCons, chance encounters, caching, salsa dancing, love, and what to listen to when you’re programming.

Tags:  Video DrupalCon DrupalCon Amsterdam Video: 
Categories: Drupal

CiviCRM Entity Address Extra

New Drupal Modules - 20 April 2015 - 10:45am

This module extends the CiviCRM Entity module by adding a contact's address, phone, and email details to tokens. You can specify the "location type" in the token for the address, phone, and email properties of a contact.

Example

Notice the use of "main" in the token below:
[current-user:civicrm-contact:addresses:main:street-address]

Categories: Drupal

Drupal for Government: Path aliased restful services with restws & restws alias

Planet Drupal - 20 April 2015 - 10:23am

Almost a year ago we started putting together a site that needed to integrate with our main librarie's search engine.  We used Drupal's restful services to expose our content, but ran in to a problem with getting aliased paths to link up correctly.  What this meant was that while http://www.bioconnector.virginia.edu/content/introduction-allen-mouse-brain-atlas-online-tutorial-suite worked fine, http://www.bioconnector.virginia.edu/content/introduction-allen-mouse-br... didn't... this became really problematic when we were trying to create linked data, and traversing was just obnoxious... https://www.bioconnector.virginia.edu/node/36.json just doesn't roll off the digital tongue... as a workaround we used views to do some wonkiness.... it worked, but certainly was not "the drupal way."

Categories: Drupal

JSON/JSONB Field

New Drupal Modules - 20 April 2015 - 9:05am

This module implements a Drupal field type that stores JSON or JSONB data. A core patch is required to get the data type supported at the moment.

Currently, only PostgreSQL database (version 9.2 or higher) is supported, but MySQL is adding support for JSON data types in the future.

Categories: Drupal

SitePoint PHP Drupal: Drupal goes Social: Building a “Liking” Module in Drupal

Planet Drupal - 20 April 2015 - 9:00am

In this article, we are going to look at how we can create a Drupal module which will allow your users to like your posts. The implementation will use jQuery to make AJAX calls and save this data asynchronously.

Creating your Drupal like module

Let’s start by creating the new Drupal module. To do that we should first create a folder called likepost in the sites\all\modules\custom directory of your Drupal installation as shown below:

Inside this folder, you should create a file called likepost.info with the following contents:

name = likepost description = This module allows the user to like posts in Drupal. core = 7.x

This file is responsible for providing metadata about your module. This allows Drupal to detect and load its contents.

Continue reading %Drupal goes Social: Building a “Liking” Module in Drupal%

Categories: Drupal

Drupal Association News: A great big thank you to our Members

Planet Drupal - 20 April 2015 - 8:50am

I want to give a big thank you to all of our new and renewing members who gave funds to continue the work of the Drupal Association in the first quarter of this year. We couldn't do much without your support. Shout outs to all of you!

Membership Makes a Difference

We had several recap blog posts a few weeks ago, but just as a reminder, your membership is incredibly important not only to us, but to the project too! Dues from memberships go to fund intiaitves like our community cultivation grants, which help people around the world build their local Drupal communities and improve the project. For more information on how membership makes a difference, check out this infographic or see what changes are coming in 2015.

Thank You, Members!!

There are 845 fantastic members on our list of first quarter donors. You can find the list here. Let's give them a big thank you all together!

 

Personal blog tags: Membership
Categories: Drupal

Admin toolbar

New Drupal Modules - 20 April 2015 - 7:28am

Improve the default Drupal Toolbar.

Categories: Drupal

Drupal Association News: Blink Reaction and Propeople Are Joining Forces

Planet Drupal - 20 April 2015 - 7:27am

The following blog was written by Drupal Association Supporting Partner and DrupalCon Los Angeles Diamond Sponsor Blink Reaction and Propeople.

DrupalCons are a very important time of the year for the Drupal community. It is a time for us to come together and continue our collaboration that we share throughout the year in a virtual space and establish goals and plans to move forward in a way that is in the community’s best interest. It is also a time to take stock of our accomplishments, and who we are as a community. One of our favorite moments in DrupalCons is the group picture: it’s always amazing to see how the community stands together and continues to grow.

This year’s DrupalCon in Los Angeles is especially important to us because this is where we will unveil the name of the new Drupal agency that consists of the companies formerly known as Blink Reaction and Propeople. We have come together to create a new digital agency, the largest one in the world with a focus on Drupal, and we are very excited about what this means.

Our combined agency is part of the Intellecta Group (listed on the NASDAQ OMX) , and consists of 400+ employees in 19 offices in 11 countries on 4 continents. This is an amazing reach for an organization that is so passionate about Drupal! We’re excited for this unique opportunity to support the Drupal project and the community in ways that would have been impossible prior to the merger.

For example, we’re eager to begin promoting Drupal as a solution for the biggest enterprises on a global scale. Locally, we can influence awareness and excitement in our 19 local communities, helping the next generation find opportunity and excitement in Drupal.

We now have the ability to affect change in a multitude of cultures, in the many diverse communities where each of our offices are located. Where there aren’t yet camps, we can lead their initiation. Where there are Cons, we can help to inspire the next generation of Drupal leaders. We are committed to building up the next generation of talent via our orchestrated public and private training efforts, and look forward to beginning that work at DrupalCon Los Angeles.

So please, stop by booth 300 to say hello and learn more about the new company, and our future within the community. We look forward to seeing all of our friends in the Drupal community, old and new, and are even more excited to discuss how we’ll work with the community for many years to come.

About us.

Blink Reaction and Propeople are joining forces to create a new digital agency built on technology, driven by data, and focused on user experience. The two companies have delivered state-of-the-art Drupal solutions for a variety of the open-source platform’s largest customers. The agencies’ collective portfolio includes brands such as Pfizer, NBC, Stanford University, the City of Copenhagen and General Electric.

Blink Reaction and Propeople are a part of the Intelleca Group. The companies in the group are Blink Reaction LLC, Bysted AB, Bysted A/S, Hilanders AB, Intellecta Corporate AB, ISBIT GAMES AB, Propeople Group ApS, Rewir AB, River Cresco AB, Unreel AB and Wow Events AB. Intellecta AB is noted on NASDAQ OMX Stockholm and employs around 550 people in Sweden, Denmark, Austria, Germany, the Netherlands, the United Kingdom, Bulgaria, Moldavia, Ukraine, Brazil, USA, Vietnam and China.

Categories: Drupal

Shopify Store

New Drupal Modules - 20 April 2015 - 6:44am

Under active development. The ability to integrate your Drupal site with the Shopify e-commerce platform.

Categories: Drupal

TimOnWeb.com: Happy birthday to me and Devel form debug module to you all

Planet Drupal - 20 April 2015 - 5:36am
I’m turning 32 today. People love birthdays, to me it’s just another line number in a messed stack trace output (philosophy mode enabled).   Two years ago I released a drupal module called Get form id (deprecated from now on) that does one small task - it tells you any form's id ...

Read now

Categories: Drupal

Annertech: Drupal: Creating Beans Programatically

Planet Drupal - 20 April 2015 - 3:59am
Drupal: Creating Beans Programatically

Building great (Drupal) websites can often be made more difficult than it needs to be when your site builders, developers and themers haven't got the same content as each other.

Categories: Drupal

Devel form debug

New Drupal Modules - 20 April 2015 - 1:17am

This module adds a contextual link to every form that lets you easily find out form's ID, name of hook_form_FORM_ID_alter() hook and print out form's variables. The module is a successor of Get Form ID (https://www.drupal.org/project/get_form_id) which is deprecated from now on.

Usage:
By hovering over any form you will see a contextual link available. By expanding the link you will see the form ID. Click on the link and you will see a modal window with copyable form id and hook_form_FORM_ID_alter() hook suggestion.

Categories: Drupal

Web Omelette: Drupal 8: core javascript files for anonymous users

Planet Drupal - 20 April 2015 - 12:00am

Drupal 8 comes with many performance improvements, one of which being that javascript is no longer indiscriminately loaded on every page. This means that for anonymous users, there are many pages where there is no jQuery or even javascript loaded.

Although this is a good thing, sometime you do need jQuery (for example to use Ajax, in which case you'd also need other scripts). So how do you load these files? Using hook_page_attachments() to #attach your own library to the page.

And if we look at the documentation page for assets, we'll see how we can add our own library. We need to create a my_module.libraries.yml or my_theme.libraries.yml file. And inside, we can add the following:

my_scripts: version: VERSION js: js/scripts.js: {} dependencies: - core/jquery - core/drupal.ajax - core/drupal - core/drupalSettings - core/jquery.once

Where my_scripts will be the name of the library we will reference when attaching.

As you can see, we are not including any javascript or css of our own, we are just making use of the dependency scripts provided by core.

Above, I mentioned the use of hook_page_attachments() as the way we can attach libraries. However, it's not the only one. You can attach to render arrays or even render elements. But here we want to see how we can make sure that anonymous users get the required core javascript files loaded on pages. So we can implement hook_page_attachments() like so:

function my_module_page_attachments(array &$attachments) { // Attach only for anonymous users. if (\Drupal::currentUser()->isAnonymous()) { $attachments ['#attached']['library'][] = 'my_module/my_scripts'; } }

In this hook, we check if the current user is anonymous and attach the library we created. We reference this with the construct module_name/library_name.

Hope this helps.

In Drupal 8 | Theming var switchTo5x = true;stLight.options({"publisher":"dr-8de6c3c4-3462-9715-caaf-ce2c161a50c"});
Categories: Drupal

Vardot: Hello Drupal: Free Training Session at PSUT

Planet Drupal - 19 April 2015 - 11:21pm
Events

In part of our joint educational initiative with Acquia, we’re back in 2015 with new training sessions at universities to educate students on the benefits and value of Drupal as a leading content management system. Students who are interested in Drupal and open source technologies, have the chance to learn more about Drupal from Vardot and Acquia, and experience first hand, installing and setting up Drupal.

The first event will take place in Princess Sumaya University for Technology (PSUT) on the 29th April 2015 at 12:30 PM. You can learn more about the event on Acquia’s Training Event Page

Tags:  Drupal Planet Drupal Training Acquia Drupal Title:  Hello Drupal: Free Training Session at PSUT
Categories: Drupal

Styleguide File Snippets

New Drupal Modules - 19 April 2015 - 2:38pm

This module allows the Styleguide to be extended with snippet files from the local filesystem. The goal is to allow front-end developers to easily add markup components to a code repository so that they may be:

Categories: Drupal

Blogs

New Drupal Modules - 19 April 2015 - 4:25am

The blogs module in intended for sites hosting multiple bloggers.

It provides a page and block that lists all bloggers having at least one blog post on the site, sorted descening (most recent posting first).

If the user profile has text a field with machine name field_blog_title, this will be used as the blog title instead of the user name. Note that the module will not create this field for you.

Categories: Drupal

Plugin Selector

New Drupal Modules - 18 April 2015 - 6:07am

Plugin selectors allow users to select plugins of a particular type and configure them using the plugins' configuration forms.

This module is a tool for other modules to build user interfaces. Using plugin selectors, your users can easily select and configure your plugins and you won't have to write any complex form API integration; the plugin selectors will do that for you.

Categories: Drupal

Jim Birch: Drupal 7: Hide Sticky and Promote

Planet Drupal - 17 April 2015 - 6:35pm

Promoted to front page? Don't worry about that, we don't use it.

That was the phrase I heard from a developer on the first site I was tasked to theme. I had asked what the "Promoted to front page" check box on the admin screen of a content type was what put it in the queue on the home page. 

It turns out that most every home page our agency ever built in Drupal had more complex requirements than that sole checkbox allowed for. 

The same goes for Sticky at top of lists. No one ever uses those, just ignore them.

What makes sense for a developer to ignore, can cause confusion for an administrative user.  The admin doesn't know all of the hard work that went into the Panel that drives the home page, or the view that creates the pane for the home page.  They just see a simple checkbox.  And when that checkbox doesn't do what it says it does, the site seems "broken".

So, I started searching, and found a great post discussing this problem, and a great solution from user StudioZut, who has created a custom module called "Hide Sticky and Promote" as a Drupal Sandbox and a Github Repository.

Read more

Categories: Drupal
Syndicate content


Google+
about seo