Drupal

Drupalize.Me: Drupal 6 End-of-Life and Migration Planning

Planet Drupal - 8 March 2016 - 6:30am

Drupal 6 was released in February of 2008 and on February 26th, 2016, after 7 years, Drupal 6 was retired, in accordance with the Drupal community’s policy of only providing active support for two major versions of Drupal at any given time. While it is possible to migrate a Drupal 6 (or 7) site to Drupal 8, the tools are still in flux. While simple sites make for simple migrations—since most sites are not simple and require considerable research, planning, and effort to migrate—migration remains a complex process. Continue reading to find out more about how Drupal 6's end-of-life impacts Drupal site owners and what options you have if you still run a Drupal 6 site.

Categories: Drupal

Cookie_Banner

New Drupal Modules - 8 March 2016 - 4:27am

This module allows a site to be compliant with EU directive on privacy and electronic communications. By displaying the banner on your site you will demonstrate that you are complying with the aforementioned directive, and information about your cookie policy will be readily available to users thanks to the sticky popup window at the bottom.

Categories: Drupal

KnackForge: How to get Microsoft office files downloaded properly through Drupal

Planet Drupal - 8 March 2016 - 4:15am
How to get Microsoft office files downloaded properly through Drupal

I recently came across situation where the .ppsx files were displayed as some weird characters instead of getting downloaded. For those who aren't aware of the .ppsx file extension, it is nothing but the extension for files created through Microsoft PowerPoint. You can find more information about the Powerpoint file formats here.

suresh Tue, 03/08/2016 - 17:45
Categories: Drupal

OpenLucius: Update OpenLucius | March 2016

Planet Drupal - 8 March 2016 - 2:26am

We updated social intranet OpenLucius (a Drupal distribution) with 6 new functions. Without further ado, let's dive into it:

1. Document management revamped

We completely renewed the document management system (Files). It’s now much more usable and recognizable (Apple Finder / MS Exploder -like); intuitive file management out of the box. Check out this demo video (from ~ 1:24):

Categories: Drupal

DrupalCon News: Vote for Your Community Keynote

Planet Drupal - 7 March 2016 - 4:41pm

Come for the code, stay for the community. That’s more than a tagline for Drupal, it’s a manifesto. Having our community members bring topics to the mainstage to share with all Con attendees is an incredible way for them to contribute back and really make an impact on the Drupal community.

Thursday at DrupalCon New Orleans, we will highlight the community by showcasing a Community Keynote on the main stage. This means that someone from within the community will share their experience on stage with you about issues that you're interested in.

Categories: Drupal

Drupal @ Penn State: #ELMSLN is #git 'in fun with Git Book

Planet Drupal - 7 March 2016 - 3:26pm

It’s been a few months since I first mentioned the Git Book module here on DPE. I haven’t done much with it since but was able to scrape together a rather epic sprint today. Coupled with improvements to ELMSLN in general, this thing is getting close to a pretty killer workflow for book creation. The scenario we’re striving for:

Categories: Drupal

Acquia Developer Center Blog: Chris Pliakas on the Scrum Process, Working with Drupal, and What’s Next for Content Hub. Part 2 in a Series.

Planet Drupal - 7 March 2016 - 11:48am

In Part 1 of this 2-part series, Chris Pliakas, the director of Content Services Engineering at Acquia, described how he managed the Acquia Content Hub project, which was released in November, 2015. In this, the second part of the interview, he discusses the Scrum process, the benefits of working with an open source framework like Drupal, and what’s next for the Content Hub project.

Tags: acquia drupal planet
Categories: Drupal

Admin Status

New Drupal Modules - 7 March 2016 - 9:56am
Synopsis

The Admin Status module allows certain messages to be shown on the top of the page to users with the right permission. For example, the settings can be configured to show a message on the top of the page if the database needs to be updated (e.g. drush updb).

Requirements

None.

Recommended modules

N/A

Categories: Drupal

Zivtech: Bob Moul will be the keynote speaker for Drupaldelphia 2016

Planet Drupal - 7 March 2016 - 9:13am

Drupaldelphia has announced that Bob MoulMoul is the 2016 keynote speaker.

Drawing from 35 years of experience ranging from start-ups to Fortune 500 companies, Bob Moul will share lessons he learned on his journey from the mailroom to tech CEO. The keynote, titled “How to Succeed at Success - Stacking the Odds in Your Favor,” will focus on how to build a successful and empowered life while balancing relationships, health, and, of course, a business itself. This keynote will share practical tips, insightful quotes, and real life experiences gained from his work in different cultures around the world, making and losing money, and even failure.Moul will share lessons he learned on his journey from the mailroom to tech CEO. The keynote, titled “How to Succeed at Success - Stacking the Odds in Your Favor,” will focus on how to build a successful and empowered life while balancing relationships, health, and, of course, a business itself. This keynote will share practical tips, insightful quotes, and real life experiences gained from his work in different cultures around the world, making and losing money, and even failure.

In addition to his many years of experience and current position as CEO of Cloudamize – a leading cloud infrastructure analytics company – Bob Moul is also an active advocate for entrepreneurship and education in Philadelphia. He serves on the board of directors of the Philadelphia Industrial Development Corporation (PIDC), the Philadelphia Alliance of Capital and Technology (PACT), Ben Franklin Technology Partners of Southeastern Pennsylvania, Philadelphia Academies Inc., USA250, as well as being the former chair and president of Philly Startup Leaders.Moul is also an active advocate for entrepreneurship and education in Philadelphia. He serves on the board of directors of the Philadelphia Industrial Development Corporation (PIDC), the Philadelphia Alliance of Capital and Technology (PACT), Ben Franklin Technology Partners of Southeastern Pennsylvania, Philadelphia Academies Inc., USA250, as well as being the former chair and president of Philly Startup Leaders.

Bob was named a 2011 Ernst & Young Entrepreneur of the Year finalist for Philadelphia, the 2013 Small Business Person of the Year by the Philadelphia Chamber of Commerce, and one of the most influential business people in Philadelphia by both Philadelphia Magazine and the Philadelphia Business Journal.

Bob’s career-long dedication to innovation, the technology industry, and community engagement ensures this keynote will go well beyond traditional keys to success. His insights from a long and illustrious career will bring a well-rounded perspective to Drupaldelphia 2016.

More about Drupaldelphia

Drupaldelphia is Philly's annual gathering for all things Drupal, the open source content management system. This event attracts developers, site-builders, content administrators, designers, and anyone interested in using Drupal in their organization or upcoming project. This spring, it will again be hosted at the Pennsylvania Convention Center at 1101 Arch St Philadelphia, PA 19107. You can buy tickets now on the Drupaldelphia website.

* This post is based on a press release that originally appeared on Drupaldelphia.

Categories: Drupal

Comment Repair

New Drupal Modules - 7 March 2016 - 8:50am

Adds administrative tool to repair broken comment threading.

Usage

  • Enable module.
  • Set "Repair comment threading" permission to desired user roles.
  • Go to repair page: /admin/content/comment/repair

Drupal 8 version is in the works.

Categories: Drupal

Drupal Association News: Voting Open for 2016 At-Large Board Seats

Planet Drupal - 7 March 2016 - 8:50am

Voting is now open for the 2016 At-Large Board positions for the Drupal Association! If you haven't yet, check out the candidate profiles and review the Meet the Candidate sessions (we ran three) that we held. Get to know your candidates, and then get ready vote.

Cast Your Vote!

How does voting work? Voting is open to all individuals who have a Drupal.org account by the time nominations open and who have logged in at least once in the past year. These individuals' accounts will be added to the voters list on association.drupal.org and they will have access to the voting.

To vote, you will rank candidates in order of your preference (1st, 2nd, 3rd, etc.). The results will be calculated using an "instant runoff" method. For an accessible explanation of how instant runoff vote tabulation works, see the this video.

Elections will be held from 7 March through 18 March (midnight UTC) 2015. During this period, you can still review and comment on candidate profiles.

Have questions? Contact Drupal Association Executive Director Holly Ross.

Categories: Drupal

Elavon Subscription

New Drupal Modules - 7 March 2016 - 7:49am

This module allows you to create subscriptions using the Elavon service.

It includes an example submodule that integrates with Drupal Commerce, but the core is Rules based so could be used to integrate with any other payment/e-commerce systems.
It plays nicely with the Commerce Realex Subscriptions module.

Categories: Drupal

Twig Extender

New Drupal Modules - 7 March 2016 - 7:41am

Add a simple plugin system to add new twig extensions (Filter and Functions). Provides a new service provider for "twig.extensions" to add new plugins.

Two plugins are included:

Filter: truncate
A Wrapper for https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Unic...

Categories: Drupal

IXIS: Drupal 8: Creating field types with multiple values

Planet Drupal - 7 March 2016 - 7:15am

In learning about custom Drupal 8 module development, I found plenty of very simple field module examples, but none that covered how to store more than one value in a field and still have it work properly, so it's time to fix that.

To save you typing or copy and pasting things around all the code in this post is available on Github at https://github.com/ixis/dicefield

Concepts

There are three main elements to define when creating a field type:

read more

Categories: Drupal

Path Entity Context

New Drupal Modules - 7 March 2016 - 6:36am

Module provides a CTools context that loads an entity of given type from a given path argument.

E.g. if current path is user/%user/orders/%commerce_order, the module allows to obtain commerce order
object from the fourth path argument.

The module adds one new context per entity type (e.g. "Node from path", "User from path"). Context settings form allows
to select the path argument position to use as entity ID.

Categories: Drupal

tanay.co.in: Drupal Association Board Elections - Shyamala for Director at Large

Planet Drupal - 7 March 2016 - 2:31am

Starting Monday, you can vote for the next at-large director on our board. Before you do, our candidate sessions: https://t.co/B0lUqmUac4

— Drupal Association (@DrupalAssoc) March 4, 2016

Drupal Association Board Elections are around. So what are these elections? How would it matter to anyone in the Drupal community? Why should one vote?

The At-large Director position is Drupal Association’s way to ensure community representation on the Drupal Association board. ie, you could have a share in shaping the future of Drupal Association by voting for the right candidate whom you think would best represent the community’s interests. You can see the list of candidates competing for this here. More about the election process here.

I have decided to vote for Shyamala Rajaram. I met Shyamala for the first time in November 2008 at a Chennai Drupal Meetup, which she had organized. I had just moved into the city, for my job at TATA Consultancy Services. That was my first weekend in Chennai. Didn’t have many friends around and a lot of time to kill. Drupal, at that time to me, was one of the many CMSs that I had freelanced earlier. Although it was my favorite. But I never saw it as a career option. And was surprised to see a meetup happening in Chennai that weekend and thought of dropping by.

But the meetup definitely had a significant impact on my life and career. I had dabbled a lot with Drupal while in my college (Vellore Institute of Technology). Though Drupal was my favorite, I had always seen in as one of the many CMSs that were mushrooming every day in the PHP ecosystem. This specific meetup gave me an opportunity to see that Drupal and its community existed outside of the internet as well ;-)

And what surprised me the most was that the newspaper portal that I read every day then, one of the largest in India, was actually powered by Drupal, and architected by none other than Shyamala and her team!

Being one of the first adopters of Drupal in India, Shyamala has been organizing meetups in and around Chennai since 2007. She has spearheaded many community initiatives, including taking Drupal to Colleges in and around Chennai.

I believe she has the right mix of leadership and technical capabilities and can best represent the Drupal community in general, and India & Asia in specific, on the board of Drupal Association. All the very best Ma’am!

 
Categories: Drupal

Zoocha Blog: Setting up Drupal Code Sniffer

Planet Drupal - 7 March 2016 - 2:22am

A few weeks ago I had to go through the process of setting up php code sniffer on my new computer, and realised how confusing most of the blog posts out there are and how many loops and posts you have to jump through to get it set up.

I decided to write a quick post with all the commands in one place and small descriptions for most of the commands:

Installing Drupal Coding Sniffer

1. Download php code sniffer (source code: https://github.com/squizlabs/PHP_CodeSniffer)

curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar

curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar

sudo mv phpcs.phar /usr/bin/phpcs

sudo mv phpcbf.phar /usr/bin/phpcbf

sudo chmod a+x /usr/bin/phpc*

Test that it's installed by running phpcs -hand it should output the code sniffer help.

2. Download the Coder module

Note: download the 8.x branch, even if you intend to use it on Drupal 7.

You can download it in any 'normal' folder, but not in a Drupal project.

cd /folder/where/i/want/coder

drush dl coder

It should download the latest version which is 8.x - if it doesn't then add --select to the drush command and choose the 8.x branch.

3. Add Drupal standards to PHP Code Sniffer

Tell phpcs to use the Drupal standards from the downloaded Coder module:

sudo phpcs --config-set installed_paths /folder/where/i/want/coder/coder/coder_sniffer

At this point you have PHP Code Sniffer set up with Drupal coding standards.

You can use it from command line by running:

phpcs --standard=Drupal file/to/check

or add it to your favourite text editor/IDE.

Adding code sniffer to Sublime

Here are the few steps you need to follow to add it to Sublime Text 2/3:

1. Download the Sublime Build file from the repo: https://github.com/sirkitree/DrupalCodingStandard

wget https://raw.githubusercontent.com/sirkitree/DrupalCodingStandard/master/DrupalCodingStandard.sublime-build -O ~/.config/sublime-text-3/Packages/User/DrupalCodingStandard.sublime-build

If you don't know where your Sublime installation saves its packages then open Sublime, go to Preferences > Browse Packages, and replace the above path with yours.

2. Activate the Drupal Build file by going to Tools > Build System > DrupalCodingStandard in Sublime.

3. Open any Drupal file and hit Ctrl (Cmd) + B to run the sniffer on that file.

Adding code sniffer to PHPStorm

I have recently started using so am slowly getting used to it and setting up features I used to use in Sublime. Adding PHPCS to PHPStorm is simple and only takes a few steps.

Go into the Settings and either search for the keywords 'code sniffer' or go to Languages&Framerworks then Code Sniffer under the PHP section.

In the Development environment I have chosen Local and clicked on the ... next to the drop down. Add your /usr/bin/phpcs path to the phpcs path and click Validate to make sure it picks it up.

Now that you have phpcs added as a code sniffer we need to tell the 'Inspections' to use it.

In the same settings window, either search for 'code sniffer' again, or go directly to Editor > Inspections. Tick the box for PHP Code Sniffer validation under PHP and then choose the 'Coding standard' from the right hand pane. If the only values in the drop down are 'Custom' or you cannot find 'Drupal' in there then hit the little 'refresh' button next to the drop down and it should pull all the coding standards added to your php code sniffer. Then choose 'Drupal' from the drop down and you are good to go.

The code sniffer will start adding errors/warnings inline in Drupal files, or you can run a code inspection manually by going to Code > Inspect Code and choosing either the whole project or the current file.

 

Sources:

http://github.com/squizlabs/PHP_CodeSniffer

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

http://github.com/sirkitree/DrupalCodingStandard

http://www.jetbrains.com/phpstorm/help/using-php-code-sniffer-tool.html

Categories: Drupal

File Force Download Imagecache

New Drupal Modules - 7 March 2016 - 1:32am

Extension for File Force Download module to apply an image style (AKA imagecache) on the downloadable image file.
In contrast to the File Force Download only, which this module extends, it doesn't simply allow to download the original image file but to download an image style derivate of the image instead.
This is for example helpful, if you want to preprocess the downloadable image style generally first (watermarking, etc.).

Categories: Drupal

Update log

New Drupal Modules - 6 March 2016 - 12:58pm

The Update log module provides an overview to all updates, providing information of each update. It will log each update that is processed via Drush or update.php.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal