Skip to Content

Planet Drupal

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 4 hours 44 min ago

Drupal core announcements: Drupal 8 beta 11 on Wednesday, May 27, 2015

12 May 2015 - 3:56pm

The next beta release for Drupal 8 will be beta 11! (Read more about beta releases.) The beta is scheduled for Wednesday, May 27, 2015.

To ensure a reliable release window for the beta, there will be a Drupal 8 commit freeze from 00:00 to 23:30 UTC on May 27.

Categories: Drupal

Amazee Labs: DrupalCon Los Angeles - Day 1: Dawn of the Drupalistas

12 May 2015 - 11:15am
DrupalCon Los Angeles - Day 1: Dawn of the Drupalistas

Yesterday, just shortly after the sun sprung up and sparked southern California’s beautiful coastal lines, the doors of LA’s Convention Center opened. Welcoming with it, a first wave of eager Drupalistas and surrounding them by its air conditioned walls. And for the subsequent days that are surely to follow, it will continue to receive and house those, transforming it, to the home of DrupalCon 2015.

To some of us, this day began just like two previous iterations in the past, with the Drupal 8 Training for Drupalistas. And like the preceding ones before, the turn out was again, lovely. A fresh batch of new ambitious students took their seats and embarked on a cinematic journey, led by our resident training director, Diana Montalion.

From lively exchanges of know-how, to focused, almost silent moments, the classroom experienced a day of captivating performances. And in-between those, pupils were given hourly breaks to take a breath and pick from a variety of delicious beverages (there were cookies!) and the oh so essential, mandatory coffee.

After a wholesome feast around noon-ish, the reins were passed on to Jason, who expertly guided the keen students through the inner workings of Drupal 8’s translation system. Shortly thereafter, Kathryn took over to introduce them to the beautiful side of Drupal 8 (theming!) before finally ending again within Diana’s experienced hands.

Meanwhile, the lower floor saw a much more handy development: the exhibition hall of large, empty at first, but slowly building up to a small but respectable miniature city of brands. Replacing muffled sounds of classroom keyboards with the repeating cracks of rising booths, only to be broken apart by the occasional clash of shouty staff members.

Thus the day drew to an end, and our students were being led on their way, charged with knowledge and filled with cookies. The building emptied its walls again to prepare for tomorrow, when at dawn, the drupalistas will rise again.

Categories: Drupal

Jim Birch: Dude, Where are my Templates? Using the Drupal 7 Theme Developer to find the way.

12 May 2015 - 10:11am

The first line of the description of the Drupal Theme Developer Module says that it is "Firebug for Drupal themeing".  I couldn't agree more.  This is the ultimate tool when you need to find out which theme hook, or which template file to modify based on your design and layout needs.

It is a finicky module though, it doesn't work with the latest version of one of it's dependencies, simplehtmldom API, and when turned on it can break your layout. 

Note that this module injects markers into the DOM to do its magic. This may cause some themes to behave erratically and less capable browsers may make it worse (especially IE)/. Enable it when needed, and disable it afterwards.

To ensure I install the correct branch of the modules, and to speed up enabling and disabling, I set up some aliases in my local/development computer's .bash_profile:

Read more

Categories: Drupal

Nikro: Moldcamp 2015 - Session Submissions!

12 May 2015 - 6:56am

If you haven't heard yet, we've announced earlier that Moldcamp 2015 is on it's way! Second edition of the Drupal Camp hosted by a small country in the Eastern Europe - Moldova.

Tags: 
Categories: Drupal

Drupalize.Me: Installing and Configuring Dreditor

12 May 2015 - 6:02am

With DrupalCon Los Angeles underway we thought it might be a good time to introduce (or reintroduce) folks to [Dreditor](https://dreditor.org/) (short for "Drupal editor"). Dreditor is a collection of user scripts, which alter browser behavior on specific pages on the drupal.org domain. The features of dreditor are mostly helpful in the issue queue and during the patch review process.

We have a video [Installing and using Dreditor](https://drupalize.me/videos/installing-and-using-dreditor) if you'd like to follow along, but since recording installation of Dreditor is even easier. Let's take a look at the changes, and how we can use this powerful tool to make interacting with the issue queue easier.

Categories: Drupal

Cocomore: MySQL - Setup

12 May 2015 - 5:58am

When setting up a MySQL Server there are a lot of things to consider. Most requirements depend on the intended usage of the system.

read more

Categories: Drupal

ERPAL: Manage agile projects with structure and control

12 May 2015 - 3:45am

In the previous part of our blog series, we talked about unrealistic budgets and deadlines. Today our focus is on structure and control in agile projects.

In software development, there’s a lot of conjuring and experimentation going on with agile projects, and many homemade definitions for the word "agile" are floating around. But agile only means that one reacts to changing project requirements, and is thus flexible during development, with the result being a software product that really provides value when used.

In large projects that extend over a longer period of time, conditions change; it’s natural. In order to maintain the defined project objectives despite these new conditions, the existing requirements need to be checked. To achieve this, it’s necessary to know what’s already been implemented and what’s still outstanding. Scrum and agile approach do not imply that:

  • there’s no planning in advance,
  • there’s no concept, or that
  • there aren’t any acceptances.

An agile project follows the same rules as I’ve described earlier, but changes are allowed. As always, you have to consider that unplanned things cannot be controlled. Often, the billing procedures are controversial. I’ve already written a post on this topic: Agile work at a fixed price. The very concept of an agile project provides a framework within which to move and control changes. This framework ensures that a path that was possibly set wrong from the start – that won’t lead to the defined target – simply is not taken. If the plan in an agile project doesn’t exist in the form of a concept, the current status of the project can’t be determined and evaluated.

 

Other blog posts of this series:

6 steps to avoiding unrealistic budgets and deadlines in projects

6 rules to follow to promote communication in projects

3 things to consider when creating project specifications

Agile projects for a fixed price? Yes you can!

Setting objectives in projects with these 3 rules

These 3 questions help you to ensure satisfactory project results

Categories: Drupal

Deeson: We're hiring: Creative Director

12 May 2015 - 12:23am
Could you be the one to make your mark here at Deeson?

We're looking for a Creative Director. That's a brand new role for us so you'll be the very first CD to grace our offices.

A lot of expectation? Maybe. But the perfect opportunity to lead our team of talented designers and put your stamp on some award-winning work.  

Why now? 

In short, we've increased our portfolio of clients and our designers are in demand. 

It's a perfect time for someone new to come and join our dynamic leadership team, contributing to key decisions as we enter our next phase of growth.

We're at a stage where we feel ready for a strong-minded Creative Director to help develop the team and help shape the direction of the agency.  

Why me?

We're looking for someone talented, that's a given.

But as well as a killer portfolio, we want someone who has an interest in nurturing the skills of those in their team. Development is really important to us at Deeson; we'll be looking for ideas about how you would grow your team's skills and confidence.    You could be a Senior Designer with tonnes of managerial experience looking for your next move or a Creative Director looking for your next challenge. If you fit the criteria we'd love to hear from you.   What else? A great bunch of people to work with and a progressive agency culture.   A huge range of benefits, including flexi working, team lunches and an unlimited training budget.    Oh, and we're located in one of the UK's most beautiful cities too. Check out our full story here.   Read the full job spec and apply here.       

 

Categories: Drupal

Deeson: Site configuration strategy (or how to manage your settings.php files)

12 May 2015 - 12:10am

Managing site configuration across multiple hosting and staging environments can get complicated, and if each one of these requires a settings.php file making sure that you consistently apply configuration can be a nightmare.

This is especially true when you start requiring different files at different points – it's very easy to lose track of which setting is where.

A typical example here at Deeson might be a site that's usually hosted on Acquia's platform, but that we need to be able to work locally on (we use VDD for this).

That probably gives you 3 settings.php files: one for your local, one for the live domain name and one for Acquia's staging URLs. We'll also have different configuration for each of these. An example is where both reroute email and shield need to be disabled only on live, if our site has 3rd party integrations then we'll configure different API keys on staging and caching is always on on live.

So, how do we solve this?

In much the same way that we don't create a site-wide views feature, and instead we use a modular approach – for example one feature for news and another for events, we should do the same with our configuration and split it up. We don't do this by environment, but by module. So all the performance stuff together, all the security stuff together etc.

For example, you might have a reroute email file, that could read something like this:

$conf['reroute_email_address'] = "rerouted_mail@example.com"; $conf['reroute_email_enable_message'] = TRUE; $conf['reroute_email_enable'] = TRUE; if (SETTINGS_LIVE_DOMAIN) { $conf['reroute_email_enable'] = FALSE; }

This is clearer and less error prone than the situation that can occur where you can't instantly tell which setting will apply in a given situation. And by coding your conditions defensively you'll improve security.

So it's possible that you might still have those three settings.php files, but instead of adding config directly to them all they do is define the database settings and then do something like this:

// e.g. dev, stage or prod or read from $_ENV['AH_SITE_ENVIRONMENT'] on Acquia. // Master.inc could read this instead of the “scopes” concept? define('SETTINGS_ENVIRONMENT', 'prod') // e.g. local or acquia define('SETTINGS_HOSTING', 'acquia'); <?php // TRUE only on the actual live domain - so any testing domains, including the "live preview" should give this FALSE. define('SETTINGS_LIVE_DOMAIN', FALSE | TRUE); foreach (glob('sites/all/conf/*.settings.inc') as $file) { require_once $file; }

See that glob call? Create files in a new dir – sites/all/conf – like thing.settings.inc and place your config in there, using 'if' statements to react to the different envrionments.

Glob sorts by file name, so prefix each of these files with a number if you need them to be in a specific order, e.g 00-master.inc, 10-reroute-email.inc.

Here are some suggestions for files you might create (all to end in .settings.inc):

  • drupal-defaults (Maybe copy settings.default.php in here and update it keep it in sync with core updates?)
  • master
  • warden
  • shield
  • reroute_email
  • mandrill
  • performance (caching, aggregation etc. Only force these on live, if you must)
  • your-api-here

In this manner we can create sets of default settings php files which are likely to be common across projects. This makes initial setup to our standards and best practice simple. Any deviation from the standards can then be configured and described in the main settings file for the site.

Categories: Drupal

DrupalCon News: Session Submission Live!

11 May 2015 - 9:21pm

With the call for papers officially open, we wanted to take a moment to give you all of the details you should know about sessions: what new and cool tracks we are offering, how to submit an awesome session submission, and how session selection works.

 

Categories: Drupal

Shomeya: Running Your Agency/Tech Company like a Factory is Destroying Humanity: Part 2

11 May 2015 - 12:45pm

In case you missed it Part 1

Very carefully I cut the letters out of the magazines that are strewn across my table. My fingers covered in glue, I lay them out one at a time on a piece of heavy duty paper, a message for the CEO of my friend's company. A message to save humanity:

"Your company is following the startup lemmings off the cliff, do you care?"

-- Anonymous

Every year your agency or startup is throwing away thousands of dollars, because you follow some very bad habits that reward mediocrity and egos. I know because as a CEO of even a tiny company, I've watched you bleed and wanted to hand you the bandage.

At Shomeya I am the CEO and the Project manager, when I fuck up and put my programmer in a bad position I see how it effects his work AND his home life. I feel every late night, and regret every poor choice when I said yes to the client, because I deal with the results.

So I learned to adjust Shomeya to make better choices. And the good news is these choices can scale because they are based on something we all deal with no matter what the size of our payroll; human brains.

Read more
Categories: Drupal

Red Crackle: Adding A Contextual Filter To A View In Drupal 8

11 May 2015 - 11:00am
In this article, we will focus on contextual filters. Initially, we will explore the difference between contextual and regular filters. After that, we will create a view displaying content created by the logged-in user. We will also explore the “WHEN THE FILTER VALUE IS NOT IN THE URL” dialog box and the different options associated with it.
Categories: Drupal

J-P Stacey: When iterating on features can break a Drupal site in development

11 May 2015 - 10:19am

It's generally safe to use Features to maintain and deploy the configuration of Drupal sites, but I'd heard rumours from other developers that, especially during a rapid development process, some phase of featurization could lead to database errors. I'd not seen that for ages until a few days ago, when re-enabling features led to PDO exceptions. Here's what I did, what I didn't do, and how to mitigate this problem in future.

The process I followed: getting a new live database mid-featurizing

I had been working on a feature locally, part of which included adding new fields to a content type. All the additions had been exported into the feature and checked into version control. The features dashboard was showing green "Default" lights all the way.

Read more of "When iterating on features can break a Drupal site in development"

Categories: Drupal

Wim Leers: Making Drupal fly - The fastest Drupal ever is near!

11 May 2015 - 9:45am

Come and join us for a wild ride into the depths of Render Caching and how it enables Drupal to be faster than ever.

The Masterplan of Drupal Performance

Here we will reveal the TRUE MASTERPLAN of Drupal Performance. The plan we have secretly (not really!) been implementing for years and are now “sharing” finally with all of you! (Well you could look at the issue queue too or this public google doc, but this session will be more fun!)

Learn what we have in store for the future and what has changed since we last talked about this topic in Amsterdam and why Drupal 8 will even be more awesome and why you don’t have to wait and can do it all in Drupal 7 right now with the help of the render_cache module (with some extra work).

Get the edge advantage of knowing more

Learn how to utilize cache contexts to vary the content of your site, cache tags to know perfectly when items are expired and cache keys to identify the objects - and what is the difference between them.

Learn how powerful ‘placeholders’ will allow the perfect ESI caching you always wanted and how it will all be very transparent and how you can make your modules ready for the placeholder future.

See with your own eyes how you can utilize all of that functionality now on your Drupal 7 and 8 sites.

Get ready for a new area of performance

We will show you:

  • The biggest Do’s and Don’ts when creating render-cache enabled modules and sites
  • Frontend performance pitfalls and why front-end performance is tied to backend performance more than you thought
  • Why libraries[] are so great and why single CSS/JS files make trouble.
  • Common scenarios and how to solve them (mobile sites variation, cookie variation, etc.)
  • Drupal using an intelligent BigPipe approach

Get to know the presenters

This session will be presented by Wim Leers and Fabian Franz. Wim implemented a lot of what we show here in Drupal 8 and made the APIs easy and simple to use and made cache tags and #post_render_cache a very powerful concept. Fabian has prototyped a lot of this concepts in his render_cache module, introduced powerful Drupal 8 concepts into Drupal 7 and is always one step ahead in making the next big thing. Together they have set out on a crusade to rule the Drupal Performance world to bring you the faster Drupal ever!

Slides: http://wimleers.com/talk-making-drupal-fly-fastest-drupal-ever-nearConference: DrupalCon Los AngelesLocation: Los AngelesDate: May 13 2015 - 02:00Duration: 60 minutes
Categories: Drupal

Drupal Watchdog: VIDEO: DrupalCon Amsterdam Interview: Kieran Lal

11 May 2015 - 9:36am

KIERAN LAL (Technical Director, Corporate Development, Acquia), nabbed outside the Acquia room, talks about the Drupal Organization, movie sound-tracks, and learning Italian – then indulges in a “Hi, Mom!” moment.

Tags:  DrupalCon Amsterdam DrupalCon Video Video: 
Categories: Drupal

Drupal Watchdog: VIDEO: DrupalCon Amsterdam Interview: Robert Vandenburg

11 May 2015 - 9:32am

Lingotek does translation management (whatever that is). As President and CEO, ROBERT VANDENBURG gets to travel to exotic locations like Austin and Amsterdam, and hobnob with the locals.

How many languages does Bob speak? We’ll ask him at DrupalCon LA. Stay tuned.

Tags:  DrupalCon Amsterdam DrupalCon Video Video: 
Categories: Drupal

nielsdefeyter.nl: Create a View with Organic Group content

11 May 2015 - 7:08am
If you want to list Organic Group content in a View you must do a little more that just add one reference. The default example is available if you enable Organic Groups. The name of that View is "OG content" (machine-name: og_nodes ). I put it here on the blog because our usecase didn't use Organic...
Categories: Drupal

iterate.: Drupal Open Days 2015

11 May 2015 - 7:03am

Drupal Open Days is the annual Irish Drupal conference. This year we are presenting three talks at the event covering business strategy, UX and development.

Categories: Drupal

Amazee Labs: Kickstart your Career with Amazee Talents

11 May 2015 - 5:04am
Kickstart your Career with Amazee Talents

Today our Group is launching Amazee Talents, a program to win bright minds like you for a 3 month internship at Amazee Labs or Amazee Metrics.

If you have completed, or are about to complete your apprenticeship, higher education or university degree and happen to live in Switzerland, the European Union, the United States or South Africa, then read on.

We are looking for above-average talents in web development, web analytics or online marketing who love to tackle tech problems and want to join our hard working team.

Depending on the available positions and your domicile you will be assigned to an internship in Zurich (Switzerland) or Austin (Texas, USA). The Amazee Group covers all travel and accommodation cost to and at your place of work. 

So, if you want to learn from the best in the field of Drupal development or web analytics & online marketing and be part of an open and creative corporate culture, visit the Amazee Talent program on our Group website.

We are looking forward to your application (scroll down for the talent program)!

Categories: Drupal


Google+
about seo