Feed aggregator

Daniel Pocock: Skype outage? reSIProcate to the rescue!

Drupal News - September 21, 2015 - 9:19am

On Friday, the reSIProcate community released the latest beta of reSIProcate 1.10.0. One of the key features of the 1.10.x release series is support for presence (buddy/status lists) over SIP, the very thing that is currently out of action in Skype. This is just more proof that free software developers are always anticipating users' needs in advance.

reSIProcate 1.10.x also includes other cool things like support for PostgreSQL databases and Perfect Forward Secrecy on TLS.

Real free software has real answers

Unlike Skype, reSIProcate is genuine free software. You are free to run it yourself, on your own domain or corporate network, using the same service levels and support strategies that are important for you. That is real freedom.

Not sure where to start?

If you have deployed web servers and mail servers but you are not quite sure where to start deploying your own real-time communications system, please check out the RTC Quick Start Guide. You can read it online or download the PDF e-book.

Is your community SIP and XMPP enabled?

The Debian community has a federated SIP service, supporting standard SIP and WebRTC at rtc.debian.org for all Debian Developers. XMPP support was tested at DebConf15 and will be officially announced very soon now.

A similar service has been developed for the Fedora community and it is under evaluation at fedrtc.org.

Would you like to extend this concept to other free software and non-profit communities that you are involved in? If so, please feel free to contact me personally for advice about how you can replicate these successful initiatives. If your community has a Drupal web site, then you can install everything using packages and the DruCall module.

Comment and discuss

Please join the Free-RTC mailing list to discuss or comment

Drupal.org Featured Case Studies: SooperThemes Drupal Themes

Drupal News - September 21, 2015 - 8:01am
Completed Drupal site or project URL: http://www.sooperthemes.com/#-Drupal-Themes

SooperThemes is a theme shop, selling premium Drupal themes. SooperThemes developed their sixth Drupal re-design to go with a completely new product line, based on our Glazed Drag and Drop theme.

As the oldest active Drupal themes shop, SooperThemes has been selling designs and contributing code to the community since 2007. We have used Drupal 6 with Ubercart and Drupal 7 with Commerce. For our newest website, we started with a clean slate and browsed the Drupal ecosystem for the most effective and maintainable tools to build the home for our new themes.

Traditionally, we have always used custom themes for our own website. This time, we built our website entirely with our own product. Our new theme is as much about its Drag and Drop site-building tools as it is about design. We could create a unique design by editing the many settings in the Glazed theme. Thereafter, we could design pages with the integrated visual drag and drop page builder. At no point did we miss Photoshop or our favorite code editor. Photography, text, and responsive design combine intuitively in the page builder, and everything is mobile-friendly out of the box.

Key modules/theme/distribution used: Drupal CMS Bootstrap 3 ProfileBootstrapModel EntitiesRecurlyOrganizations involved: SooperThemesTeam members: JurriaanRoelofs

DrupalCon News: Registration is Open! Come on By!

Drupal News - September 20, 2015 - 5:18am

We are set up and handing out badges here at the CCIB!  Come on over to door A of the Convention Center, step through the doors and get your DrupalCon kicked off!

When you arrive to the CCIB, go in this door:

And grab your badge:

Then take a pic with Dries!

DrupalCon News: Come Run with Us

Drupal News - September 20, 2015 - 1:10am

If you like Drupal and being in shape, Barcelona offers a lot of options for running. There are many routes to follow, each one with its own charms.

Remember, in Google Maps, the venue of DrupalCon 2015 is next to Auditori Forum.

If you are staying in the Hotel Princess or near the CCIB, you can follow these directions:

Gábor Hojtsy: Multilingual happenings at DrupalCon Barcelona

Drupal News - September 19, 2015 - 3:39am

If you are interested in to learn about, solve your problems with and/or contribute to multilingual Drupal, DrupalCon Barcelona is the place to be. Here is a quick summary of things happening so you don't miss what is going on.

DrupalCon News: Come to Extended Sprints This Weekend!

Drupal News - September 18, 2015 - 11:23pm

We are excited to welcome you to the Extended Sprints at the Makers of Barcelona co-working space this weekend.

We will see you at Carrer de Bailèn, 11. The exterior of the building looks like this:

And when you come in you pass a small cafe and see this:

OSTraining: Automatically Populate Drupal Fields From Other Content

Drupal News - September 18, 2015 - 2:32pm

One of our members wanted to automatically fill in Drupal fields from another node.

It took a little experimentation, but we managed to make it work using the Token, Token Filter and Entity Reference modules.

This technique works for nodes, but it should allow you to automatically popular field using data from any entity.

Before you begin, follow this tutorial on using tokens in Drupal fields. That will give you set up you need to complete these next steps.

InternetDevels: DrupalCon Barcelona 2015: a perfect place for InternetDevels

Drupal News - September 18, 2015 - 8:18am

Hola, drupalistas! :) Antoni Gaudí, Montserrat Caballé, Leo Messi...All these great people have never been to DrupalCon :) So why do we mention them? They all reflect the spirit of one wonderful city. So this is a way to announce (or to remind — because you probably already know it!) that the long-expected DrupalCon Barcelona 2015 is approaching! Hurray!

Read more

Mike Ryan: Update on migration in Drupal 8

Drupal News - September 18, 2015 - 7:48am

It's been a breathless past several weeks in Migrateland - with the core committers as a whole focused on trimming the criticals list for Drupal 8 to zero, Angie "webchick" Byron has given quality time to help the Migrate team get unblocked, triggering a flurry of activity. All along I've meant to post a status update, but things have been moving so fast it's been "well, after this next commit..." Let's review where we stand at the moment, as of September 18, 2015.

Upgrade path

From the initial decision to replace the traditional update-in-place (update.php) approach to major version upgrades with a migration-based (import into a fresh site) approach, it was made clear that the initial Drupal 8 release would not be blocked on the upgrade path. If the upgrade path was not "ready", Drupal 8.0.0 would release without it and be available for building new sites only. The plan was as Drupal 8 approached RC status the decision would be made over migration support in 8.0.0. That decision has been reached and published. By all means go ahead and read the official policy as well, but tl;dr: the migrate API and the Drupal 6 upgrade path (and possibly the Drupal 7 upgrade path as well) should be part of the Drupal 8.0.0 release, but marked as "Experimental".

read more

Chapter Three: Make your Drupal 7 modules extendable

Drupal News - September 18, 2015 - 7:20am

In this blog post I will try provide an example on how you could make your modules extandable within Drupal 7.



This is a very simple module that displays buttons with labels from your custom plugins on http://localhost/my-module/plugin page and with the configuration form here: http://localhost/admin/config/development/my-module.



Hopefully this is going to be a very useful tutorial for you and help you to make your modules extendable.



Download example module



Tutorial

First lets create a custom module with the following structure:

d7One: How to setup Mailchimp in a multilingual D7

Drupal News - September 18, 2015 - 4:56am

In this brief tutorial I will show you how to setup and configure Mailchimp for a multilingual Drupal 7 website and succed in translating the Signup form field labels.

Sometimes, I find that working with Drupal requires a strict recipe-like approach in order to reach the desired outcome - and perhaps avoid going insane. In other words, the order in which you perform each step is important.

Tags:

Drupal core announcements: This month in Drupal Documentation

Drupal News - September 18, 2015 - 4:28am

This is your long awaited update from the Documentation Working Group (DocWG) on what has been happening in Drupal Documentation in the last month or so.

Because this is posted in the Core group as well as Documentation, comments are disabled. If you have comments or suggestions, please see the DocWG home page for how to contact us.

Docs at Drupalcon Barcelona Session on documentation

DrupalCon Barcelona, Spain, 21-25 September will host the session Let's talk about documentation.

DocWG meeting

The three members of the DocWG will meet in Barcelona and you are welcome to join the meeting if you are interested in Drupal documentation.

Sprint

There will be a documentation sprint on Drupal 8 documentation and the D8 User Guide. Please sign up for the sprint!. DocWG members will be present at the sprint.

Drupal 8 User Guide

The Drupal 8 User Guide is progressing at a steady pace, although the level of involvement has dropped a little bit over the last month. The User Guide sprint in Barcelona will surely boost the activity. Helping with this is a great way to get started with documentation and to learn a bit about Drupal 8 while you're at it. The focus right now is on writing a first draft of each of the topics in the guide, and work is also underway to figure out a final home for the new guide in https://www.drupal.org/node/2522024. Join https://groups.drupal.org/documentation for announcements.

Future content improvements drupal.org

The Documentation Working Group has been working together with the Drupal Association to identify the priorities for improving documentation tools on drupal.org. These are some of the future improvements we pointed out as important:

  • The ability to become a maintainer of a documentation section on drupal.org (including receiveing notifications).
  • Break down the large book hierarchy in more manageable sections.
  • Removing comments from below documentation page and place it in a tab.
  • Linking documents with projects

For more information on the work being done on content strategy for Drupal.org check the video at https://events.drupal.org/losangeles2015/sessions/content-strategy-drupa...

Documentation Updates

Over the last month some 700 documentation pages were edited. These were the top contributors:

Many thanks to everyone that helps improving the community docs on drupal.org.

Documentation Priorities

The Current documentation priorities page is always a good place to look to figure out what to work on, and has been updated recently. If you're new to contributing to documentation, these projects may seem a bit overwhelming -- so why not try out a New contributor task to get started?

DrupalCon News: Local Drupal organization offers two-day beginner Drupal training session in Barcelona

Drupal News - September 18, 2015 - 1:39am

Drupal.cat, the local Drupal Association in Catalonia, is offering a free two-day Drupal training session for beginners in September, just a few days before DrupalCon hits Barcelona. Taking advantage of the Drupal fever that will be in town, the local organization seeks to promote Drupal in Spain and make more people aware of it as a viable CMS tool. Trainings will be in Spanish and Catalan.

The event is specifically geared to the local community interested in creating their own web site or in getting trained with new skills in the ever-growing IT & communications field.

Mike Stiv - Drupal developer and consultant: Running Drupal in Docker

Drupal News - September 18, 2015 - 12:11am

In the simplest sentence, Docker allows to package software in an image that can run anywhere. Like virtual machines, Docker guarantees that the software that comes with the image will always run the same, regardless of the underlying environment.

Now, lets run Drupal in Docker! 

OSTraining: Debug Your Mobile Site in Android with Chrome Canary

Drupal News - September 17, 2015 - 9:21pm

Google's Chrome browser includes DevTools, a built-in feature similar to Firebug.

DevTools is really helpful for debugging CSS problems ... on a desktop computer. However, DevTools is no use on a mobile device.

In this tutorial, I'm going show you how to use the Chrome Canary browser to debug CSS on your Android phone. Chrome Canary is a version of the normal Chrome browser, but modified specifically for developers.

bojanz's blog: The definitive introduction to D8 and Composer

Drupal News - September 17, 2015 - 3:44pm

We’re making a new site based on Drupal 8. This site needs to display addresses, and some quick research leads us to the Address module. However, after downloading and trying to enable Address, we get the following message: Address requires the commerceguys/addressing library.

In the old days a requirement like this would be satisfied by manually downloading and extracting the library into sites/all/libraries/addressing. Nowadays that's no longer possible, PHP libraries must be installed using Composer.

Read on to find out what is Composer and how to use it

Hook 42: Keep Drupal Entity References in Sync with the CER Module

Drupal News - September 17, 2015 - 2:29pm
Thursday, September 17, 2015 Why Use the Corresponding Entity References Module?

Corresponding Entity References (CER) is a very useful module if you have two entity references that talk to each other. If you update one entity reference, CER does all the work to make sure the other entity reference reflects that update. It makes it easy to quickly associate entity references without having to edit two entities.

In this example, I will make two content types: Timeline and Timeline Event. I want to associate the two content types with each other. To do this, I will make a field on each content type that will be an entity reference field. Using CER, I will connect these two fields.

Thanks to CER, when I create a new Timeline Event, I just have to select the Timeline that I want associated and presto, the Timeline Event will show up on the Timeline. If I edit or delete the Timeline Event, then the changes will be reflected on the Timeline. If I edit the Timeline, the changes will be reflected in Timeline Event.

CER a great way to save time and make sure all your content is consistent.

Let’s get started!

First, the module depends on other modules. Make sure CTools, Entity API, and Elements modules are downloaded to your site.

The module is located here:

https://www.drupal.org/project/cer

I downloaded and used version 7.x-3.x-dev.

First, I need to download the module and enable it. I can do this in my terminal by using drush and these two commands:

  1. drush dl cer-7.x-3.x-dev  (or drush @[yoursite] dl cer-7.x-3.x-dev )
  2. drush en cer (or drush @[yoursite] en cer)

Now I need to make the fields on the two content types that I want to correspond to each other. I am going to connect the Timeline to the Timeline Event.

I need to add the field on the Timeline Event content type. I am naming this field Associated Timeline.

I need to make sure that Associated Timeline is a Field Type: Entity Reference. Now I navigate to Entity Selection and Target Bundles. Since Timeline Event is only going to talk to Timeline, I only need to select Timeline.

There are more setting options to choose from, such as the number of values and default value.

Now I need to go to the Timeline content type. This is the content type that I want to tie to Timeline Event.

I need to add a new field to Timeline. This field will also be an entity reference. I will name this field Associated Timeline Events.

For the field’s settings, I navigate to Entity Selection and Target Bundles. This time, I select Timeline Event.

I am going to set the number of values of Unlimited so I can associate more than one Timeline Event to a Timeline.

Great!

Now I have my two fields on my two content types, and both fields can target bundles from the content type they want to talk to. In other words, Timeline can choose from Timeline Events, and Timeline Events can choose from Timeline.

Let's set up the Corresponding Entity References.

To set up the Corresponding Entity References I will navigate to Configuration, select Content authoring, and then select Corresponding Entity References.

Then I click Add Preset.

I will select one of the options - Associated Timeline or Associated Timeline Event - I created for the Left Field and the other field for the Right Field. If I select bidirectional, it does not matter which field I place in the Left Field and Right Field. I also need to make sure the preset is Enabled.

Bidirectional means I can make the change on either content type and it will change the other content type.

If I do not choose bidirectional - then the Left Field will reflect changes, but the Right Field will not reflect these changes. In other words, if I set the Associated Timeline Event field as the Left Field and the the Associated Timeline field as the Right Field, the Timeline Event will change but the Timeline Event will not populate on the Timeline. Not sure why anyone would choose this, but hey, it's an option.

Once I hit save, I am redirected here. Good to go!

Now let's test it out.

First, I need to create my Timeline. The Timeline is called “A Short History of The Internet.” I want to create 3 separate Timeline Events and attached them to the Timeline.

I need to fill out the fields in the new Timeline. Since no Timeline Events exist yet, I cannot associate the two entity references yet.

Now I will create my Timeline Event. I need to associate the event with the timeline.

Now if I navigate back to the new Timeline, the new Timeline is magically populated and associated on the new Timeline Event node.

When I edit the Timeline node, the Associated Timeline Event field is now filled in!

Sweet, now I have Timeline Event that is associated to my Timeline. Let’s add a couple more events.  

Let’s see the magic of the module in action. When I create a new Timeline Event, associate it with the Timeline then the timeline associated magically updates. On the content page, the Timeline will be marked as updated.

If you go to edit the Timeline, we can see the three new Timeline Events.

Displaying all the the fields

Great, but… I want to show all the fields of the content, not just the titles.

Now I need to go to the manage display of the timeline content type and set the Associated Timeline Events field Format to Rendered Entity. The “Rendered as” needs to match the view mode I want displayed for the Timeline Event.

Now all the Timeline Event fields are showing up on the Timeline.

Some errors/bugs/problems I have discovered and how to get around them.
  • There are problems I ran into with pushing the settings up in Features. Do not include any CER presets in Features, instead recreate the CER preset on each environment. Also you might need to uninstall and reinstall the module per environment. If you encounter a problem where not all the CER fields show up (including Left Field, Right Field, Enabled, Bidirectional and Weight) reinstalling the module will fix it. 

  • I cannot automatically order the Entity Reference fields. They will be ordered in the way that they are created. I can manually switch their order by dragging them. If I want to automatically order the Entity Reference fields based on some entity field such as a date, a view will need to be created.
In Conclusion

The CER module is a great way to make sure you only have to edit connecting content once. The module keeps your content consistent and clear, and that is always a great thing.

Now I present a cat sneezing. 

Lindsay Gaudinier Topics: Services:

OSTraining: Use Views to Display Fields inside Panels

Drupal News - September 17, 2015 - 2:08pm

One of our members had a problem. They wanted to display a large number of images inside a Panel.

The images were all uploaded to a node and they were displaying vertically.

Our recommendation was to use Views. This allows you to take much greater control over how the images are displayed.

Cocomore: DrupalCon Barcelona 2015

Drupal News - September 17, 2015 - 2:00pm

Looking forward to see you in Barcelona!!!

Syndicate content