emGee Software Solutions Custom Database Applications

Share this

Drupal CMS

Sooper Drupal Themes: Try The SooperThemes Drupal 8 Experience With Our First Beta Release. Refinements for D7, One more thing..

Drupal.org aggregator - Sat, 12/16/2017 - 10:02
Drupal 8 Products Now Feature-Complete with New Media Library

A few months ago we released our first Alpha release on Drupal 8. Now we have full support for image re-usability thanks to the Entity Browser module and are ready to release our first beta! The beta hits feature-parity with the Drupal 7 products so you can start upgrading your websites if you're willing to be an early adopter. Download the beta here to test our Drupal themes and Drupal Drag and Drop builder:

Drupal 8 Beta Download

The result of our work with Entity Browser is a slick interface to search and select images. It's really a step up from Drupal 7's Media Browser. Entity Browser is becoming the standard for media management in Drupal 8 and we've made some contributions and customizations to get the interface up to our design standards. Here's a little demo video:

Shooting For Early January Release Of All Drupal 8 Themes And Modules It's going to be a hell of  a lot of work to get all 15 demos running on our Drupal 8 framework. The demos use different (probably some untested) features and additional contrib modules on top of what the main demo uses. This means there's not just the work of migrating and testing hundreds of content items but also different interactions between Glazed Builder and several modules. We're aiming for an early January release but can't make a hard guarantee. However, since the beta releases will be backwards compatible you can already start building our Drupal 8 projects if you're with being a beta tester and you don't need the demos that are yet to be ported.  Refinements and Minor Bug Fixes: Patch Release On D7 Products

We've been cleaning out out some minor bugs for Glazed Theme and Glazed Builder, trying to get the bug counter to zero before we release on Drupal 8. You can check the release notes for a full report but here's the management summary:

Glazed theme:
  • Added support for Navbar module (backport from D8 navbar)
  • Fixed issue with page titles hidden between page title background image
  • Fixed issue with secondary header region expanding when sticky footer option is enabled
  • Fixed issue of body scrolling while swiping mobile menu backdrop
  • Updated all colors to reflect 2018 Glazed branding
Glazed Builder
  • Fixed layout bug for websites using non-bootstrap theme with Glazed Builder
  • Updated design of image selection widget
  • Fixed issue with color picker
  • Added category selection to icons widget
  • Made icon search much faster (dropped jQuery ui from widget)
  • Fixed bug with Carousel element prev/next pager in Bottom-Left position
  • Updated all colors to reflect 2018 Glazed branding
Something Extra For The Holidays:

Something else was released this month that we're very excited about.. after many years of using Font Awesome 4 we now finally have Font Awesome 5 Pro! Because SooperThemes is a backer of this million dollar Kickstarter project we can now provide you with the Pro version of this enormous icon kit. Font Awesome 4 is not going anywhere, and will continue to exist along with Font Awesome 5 solid, light, and regular stroke icons.

On top of that we also added the 900-icon Google Material Design icon kit! We thought it would be a nice contrasting option compared to the more round lines of Font Awesome. Material Icons are more tightly drawn and perhaps more suited if you're going for a stark, hard-edged look.

We're super excited for everyone who's been waiting and emailing us about our Drupal 8 products, we're now confident you can start your Glazed project if your project's release is scheduled for january/february! If you're just curious you can spin up our Drupal 7 admin demo here: http://trysooperthemes.com/. To try our Drupal 8 beta release you'll have to sign up. Subscriptions start at just $78 USD and are guaranteed by our 20 day refund period.

Join SooperThemes To Get Full Access

Happy holidays! If you've got sales questions about our Drupal 8 products feel free to email us or drop a comment here. For feedback from testing the beta please use the feedback thread in our support forum.

Categories: Drupal CMS

MTech, LLC: Migrate (almost) goes stable in Core

Drupal.org aggregator - Fri, 12/15/2017 - 06:06
Migrate (almost) goes stable in Core

For those following along from the sidelines, Drupal 8 core has 3 modules that make up the migrate sub-system. For the past few years, the community has been working very hard to get these to a stable state an out of their "experimental" designation. Drum role please... as very soon the first of these modules is going to do just that. Go stable. The migrate module (also known as the API module) should have its last critical release blocker committed in the next few days. At which point, this module can be called stable.

Admin User Fri, 12/15/2017 - 08:06
Categories: Drupal CMS

Agiledrop.com Blog: AGILEDROP: What makes Drupal SEO friendly

Drupal.org aggregator - Fri, 12/15/2017 - 03:51
To achieve the highest ranking in the search engine, the website has to be SEO friendly. Google SERP (Search Engine Results Page) has one of the most important roles growing businesses with the help of a website. Drupal is a very powerful system that ensures search website optimization with its modules. It gives us the ability to control all the elements of the web pages with the help of already installed automation tools for SEO, which places it at the very top of SEO friendly CMSs. Let's look at some examples.   SEO-friendly URLs Because search engines search for keywords in URLs, they… READ MORE
Categories: Drupal CMS

Amazee Labs: Estimations - Amazee Agile Agency Survey Results - Part 7

Drupal.org aggregator - Fri, 12/15/2017 - 02:46
Estimations - Amazee Agile Agency Survey Results - Part 7

This is part 7 of our series processing the results of the Amazee Agile Agency Survey. Previously I wrote about defining work, this time let’s focus on estimations. How do you estimate and who does estimations in your teams?

Josef Dabernig Fri, 12/15/2017 - 11:46

First, we asked about how teams estimate. 43.3% of the contestants answered “Estimation is done in days/hours”, 20% say “Estimation is done in story points based on complexity” and 16.7% mentioned, “Estimations in done in story points based on effort”. The remaining answers of 3% each varied in different degrees of combined estimations, i.e. teams would estimate on a higher level using story points and compare then against hour based task estimations. Also one of the 30 contestants answered that they don’t do estimates at all. For some background information, you can refer to this article on story points.

At Amazee we do two different kinds of estimations. We estimate in days for the offers that we create and put a general price tag below the contract. This is intended to fix a budget but not to guarantee an exact feature set to be delivered. When we go to the implementation phase, teams estimate Jira tickets using story points. The story points are based both on complexity and effort, based on our velocity we can related story points to a price tag and compare against the initial offer and how much budget is left.

We also asked about who is involved in estimation. 50% say that “the entire team does all estimations”, 36.7% mentioned that “a tech lead does high-level estimates, the team estimates on a lower level”. 6.7% say that “a tech lead does all estimates”.

For us, at Amazee we tend towards having a tech lead doing high-level estimates and having the team estimate on individual stories and tasks which get prepared for a sprint to work. The tech lead role can be fulfilled by any developer of a Scrum team and may change however the team and the team lead decide it would work best. More complex offers get challenged by multiple developers, more straightforward suggestions will be estimated by only one developer together with the PO. All proposals get reviewed by management. When the team does estimations, we do them along with the entire Scrum team. In some instances, we will limit the number of people in estimation meetings to find a balance between shared knowledge and how much time can be spent discussing as a group of people.

How do you estimate? Please leave us a comment below. If you are interested in Agile Scrum training, don’t hesitate to contact us.

Stay tuned for the next post where we’ll look at client interactions.

Categories: Drupal CMS

What John Cage Can Teach Us About Hacking

Lullabot - Thu, 12/14/2017 - 17:05
The episode of Hacking Culture offers ideas on what the American experimental composer John Cage (1912-1992) can teach us about hacking. Examining Cage's pieces such as Suite for Toy Piano, Sonatas and Interludes, and 4'33" alongside an essay by Richard Stallman, Eric Raymond's "Jargon File," and listening to lectures by Cage provides a fresh perspective on the art of hacking. This episode is released under the Creative Commons attribution share alike 4.0 International license. See more at hackingculture.org/episode/11.
Categories: Drupal CMS

Chromatic: Announcing a New Decoupled Drupal Project: FamilyCircle.com

Drupal.org aggregator - Thu, 12/14/2017 - 13:36

FamilyCircle.com provides expert advice about teens, family, food, style and home life, from the editors of Family Circle Magazine. When the time came to design and deploy a headless Drupal/Node.js platform, Meredith Corporation called on Chromatic’s expertise to help lead the way.

Categories: Drupal CMS

WeKnow: Managing a Distributed Team

Drupal.org aggregator - Thu, 12/14/2017 - 12:20
Managing a Distributed Team

weKnow is a fully distributed company, something we proclaim loudly and proudly to our partners and potential clients when engaging with them. It’s a characteristic that gives us the competitive edge because it highlights weKnow’s core values and the character of every individual that works at here.

I decided to write this because our clients are always amazed by how seamless our operations and projects run. They always seem amazed by the fact that we span 12 countries and cover 6 time zones, yet seamlessly integrate into their projects from kickoff to completion without a hitch. This is how we keep things running smooth…

kabarca Thu, 12/14/2017 - 20:20
Categories: Drupal CMS

DrupalBASE: The information itself is useless

Drupal.org aggregator - Thu, 12/14/2017 - 10:58

The information itself is useless.

Quite original start for a web-published text, isn't it? Still the confirmation is true. Solutions don't demand information, solutions demand clearly organized data. No matter what is the domain – in every situation people tend to organize data in a readable well-understandable formats.

Multiple mechanisms of collecting and storing the data are developed, and technologies continue to progress. But the key question of data presentation often remains ignored.

Categories: Drupal CMS

WeKnow: How we approached building the new weKnow site

Drupal.org aggregator - Thu, 12/14/2017 - 10:39
How we approached building the new weKnow site

It’s been a little over a year since weKnow came to life as a rebranding for Anexus, which allowed me to join the company as a new business partner. My main goal within the company is directing our efforts to explore new fields and technologies (that’s right, we are not just a Drupal shop anymore!)

As a web solution provider, having a website that accurately reflects what we do is a challenging task, because usually our plate is full with client work, and it’s not uncommon to put your own website at the end of the queue. This is why last year we decided to put together a basic landing page while setting aside some time to work on the company image as part of the rebranding.

jmolivas Thu, 12/14/2017 - 18:39
Categories: Drupal CMS

Promet Source: Implementing ADA Section 508 for Local Government: A Developer's Journey to Web Accessibility

Drupal.org aggregator - Thu, 12/14/2017 - 06:15
My name is Katherine Shaw and I am a front end web developer at Promet Source. I'd like to start by sharing a little bit of my background, as it has helped me to understand why accessibility, on the web and in the world around us, is such an important issue. I am an advocate for web accessibility and in today's blog, I'll be share how I became so passionate about implementing ADA Section 508 best practices into my work as a developer, which all began when I was working for local government.
Categories: Drupal CMS

Electric Citizen: Twig for Drupal 8 Development: Twig Templating Part 2 of 2

Drupal.org aggregator - Thu, 12/14/2017 - 05:12

In the recent post Twig for Drupal 8 Development: Twig Templating Part 1, we covered some Drupal Twig templating basics like debugging, custom templates, inheritance, variables, filters, attributes, and macros. This post will cover more advanced topics. You will learn about preprocessing variables, expanding the available templates with theme suggestion, Drupal 8 Views and Twig, and the Twig Tweak module.

Categories: Drupal CMS

Tim Millwood: Drupal Service ID Collectors

Drupal.org aggregator - Thu, 12/14/2017 - 01:29
Drupal Service ID Collectors

Since Drupal 8 we've had services. This also brought the concept of a service collector or tagged services. This allows services to be tagged with a specific tag, then a service collector can collect all services with the a given tag and use whichever service "applies".

As you could imagine loaded all of these tagged services when loading the service collector service can be a performance nightmare, which is why Drupal 8.4.0 brought us service ID collector functionality.

Tagging a service with the service_id_collector tag will pass all services with a given tag as the last parameter in the constructor. This will be an array of service IDs ordered by the priority. You will then need to use the ClassResolver service to lazily instantiate the collected service IDs.

my_module.services.yml
my_module.negotiator:
  class: \Drupal\my_module\MyModuleNegotiator
  arguments: {'@class.resolver'}
  tags:
    - { name: service_id_collector, tag: my_module_negotiator }
my_module.negotiator.foo:
  class:\Drupal\my_module\FooNegotiator
  arguments: {'@entity_type.manager'}
  tags:
    - { name: my_module_negotiator, priority: 100 }
my_module.negotiator.bar:
  class:\Drupal\my_module\BarNegotiator
  arguments: {'@entity_type.manager'}
  tags:
    - { name: my_module_negotiator, priority: -100 }
my_module.negotiator.baz:
  class:\Drupal\my_module\BazNegotiator
  arguments: {'@entity_type.manager'}
  tags:
    - { name: my_module_negotiator, priority: 0 }

MyModuleNegotiator.php
/**
 * The negotiator for my module.
 */
class MyModuleNegotiator {

  /**
   * The class resolver service.
   *
   * @var \Drupal\Core\DependencyInjection\ClassResolver
   */
  protected $classResolver;

  /**
   * The negotiator service IDs.
   *
   * @var array
   */
  protected $negotiatorServiceIds;
 

  /**
   * Constructs the negotiator.
   *
   * @param \Drupal\Core\DependencyInjection\ClassResolver $class_resolver
   *   The class resolver service.
   * @param array $negotiator_service_ids
   *   The negotiator service IDs.
   */
  public function __construct(ClassResolverInterface $class_resolver, array $negotiator_service_ids) {
    $this->classResolver = $class_resolver;
    $this->negotiatorServiceIds = $negotiator_service_ids;
  }
 

  /**
   * Run the negotiators.
   */
  public function runNegotiators() {
    foreach ($this->negotiatorServiceIds as $negotiator_service_id) {
      $negotiator = $this->classResolver->getInstanceFromDefinition($negotiator_service_id);
      if ($negotiator->applies()) {
        $negotiator->run();
      }
    }
  }
}

timmillwood Thu, 14/12/2017 - 09:29 Tags drupal planet drupal-planet drupal8 Add new comment
Categories: Drupal CMS

Issue 319

TheWeeklyDrop - Thu, 12/14/2017 - 01:00
Issue 319 - December, 14th 2017 Hard to believe 2017 is coming to an end. This is the last newsletter for the year and I want to thank you all for making it a good one.
Categories: Drupal CMS

myDropWizard.com: CiviCRM secrets for Drupalers: Email Campaigns

Drupal.org aggregator - Wed, 12/13/2017 - 18:14

We're Drupalers who only recently started digging deep into CiviCRM and we're finding some really cool things! This series of videos is meant to share those secrets with other Drupalers, in case they come across a project that could use them. :-)

Most Drupalers at one time have had to deal with either sending e-mail newsletters directly from Drupal, or integrating with a 3rd party tool like Mailchimp or Constant Contact.

CiviCRM has built in e-mail newsletter functionality, and if you add to it the WYSIWYG e-mail builder Mosaico you can build really rich, responsive e-mail campaigns!

Watch the video here:

Video of CiviCRM secrets for Drupalers #1: E-mail Campaigns

Some highlights from the video:

  • A sneak peek at Round Earth: our project that bundles Drupal 8 + CiviCRM
  • Drupal 8 + CiviCRM vs. "only" Drupal
  • A quick walk-through on how to quickly and easily create an email campaign
  • Plus, we mention a couple of current "gotchas" that could save you frustration!

Please leave a comment below!

Categories: Drupal CMS

FFW Agency: The ABC's of Drupal: Region, Revision, Role

Drupal.org aggregator - Wed, 12/13/2017 - 16:03
The ABC's of Drupal: Region, Revision, Role Ray Saltini Thu, 12/14/2017 - 00:03

For anyone who's ever looked up a definition of a Drupal term and still wondered what it means, here are some practical explanations you can use to navigate the Drupal-verse. This is the latest in a series on Drupal-specific terminology.

Region

Regions divide Drupal pages into different sections. Each section contains information that determines the positions of various elements. These elements can include menus, headers, footers, and sidebars. The elements in each Region are called Blocks. (For more information on Blocks, see Aliases, Blocks, and Content Types.)

A Drupal site's active theme keeps information on the number, name, and location of each Region. Different themes can have different Regions. Typically, administrative themes have fewer regions spaced in wide columns across a page. The themes that face a site's end-users often have more complex layouts, which means more Regions. (To learn more about Themes, see Article, Base Theme, Content.

 

Together, Blocks and Regions make up Drupal's core's primary layout functionality. This combination is a simple yet powerful solution that has been steadily expanded with each major version of Drupal. 

As a note: Drupal Regions can be overridden by contributed modules such as Panels. Regions can also be overridden by custom page templates that apply to specific URLs or URL alias patterns. While the use of Panels can increase overhead and complexity, it makes additional layouts and landing page capabilities available to site builders. Layouts made with Panels are saved in the site's database, which mitigates the risk of rolling custom code by editing a site's theme files.

Revision

A Drupal Revision is a saved version of a set of changes to a piece of Drupal content created with a Content Entity. Revisions apply to any piece of content on a site, including Articles, Basic Pages, and custom content types.

After a piece of content is created, any changes or updates made to the content are saved in new versions, or Revisions. Drupal does this rather than editing an existing published version. These versions are stored indefinitely each time a set of changes is saved, and can be found on a content item's administrative interface. Users can save revisions in unpublished draft form, to be published at a later date. Previous versions can also be republished, which allows content authors to revert content to an earlier state.

Drupal's core revision feature supports a powerful workflow functionality that can be custom-configured to align with an organization's processes for content approval. Revision functionality can also be extended with the contributed Diff module to highlight changes between various drafts.

Role

Roles assign various permissions to a Drupal site's users. This includes the ability to edit and manage content and configure settings. Roles are typically grouped into sets of permissions that are determined by a user's expertise in the organization. A Role is a user-defined set of permissions that can be granted to groups of individuals. Typical Drupal user roles include Administrator (preconfigured), Content Creator, and Content Manager.

Anonymous and Authenticated are two special preconfigured user states that are accessed through the user administrative pages. Anonymous users are typically granted only the most basic permissions. By definition, Authenticated users are those that are known to the system. Authenticated users have an account and unique email address that associated with a cookie that resides locally in their browser.

When new functionality is added to Drupal, additional permissions are typically added to the system. These permissions can then be assigned to new or existing roles.

What Next?

If you've got questions about specific Drupal terms, let us know. Drop a request for a definition in the comments and we'll add it to our next ABCs of Drupal post. 

Comments
Categories: Drupal CMS

Elevated Third: Drupal 8 Is Great: Ambitious Digital Experiences Infographic

Drupal.org aggregator - Wed, 12/13/2017 - 10:04
Drupal 8 Is Great: Ambitious Digital Experiences Infographic Drupal 8 Is Great: Ambitious Digital Experiences Infographic Judd Mercer Wed, 12/13/2017 - 11:04

Customer experience. Data-driven marketing. Unified customer data. Digital transformation. You’ve heard the buzzwords and have a laundry list of things you’re not doing—or struggling to do—with an older version of Drupal. Enter Drupal 8. 

Digital Transformation is tough—and only getting tougher. 

Across the board, enterprise companies (and their digital marketing teams) struggle with technology platforms and integration in an effort to stay nimble.

Customer experience is at the top of every marketer’s list, and demand for ROI is growing. And it’s only going to continue.

Sound familiar? 

Technology should support digital transformation. But older versions of Drupal can be the biggest hindrance. Think back to your brainstorms and team meetings.

Do any of these statements sound familiar? 
  • We spend too much time managing content and not enough time producing it.
  • We spend too much money on developers to make simple site updates.
  • We have so much inefficiency with our disconnected systems.
  • We can’t seem to optimize or evolve out of our current situation.
  • We seem a long way off from personalization or targeting.

 

Drupal 8 is here. And it is the answer to all of the issues listed above. The improvements to the platform help users leverage personalization, integrate better and update seamlessly. Check out this infographic for more. 

 

 

Categories: Drupal CMS

Deep Work: Gaining Focus and Nobility in Your Work

Lullabot - Wed, 12/13/2017 - 09:00

We live in a distracted, and distracting, world. Thanks to our connected culture, distraction beckons almost every second of every day, with little to no friction to slow us down as we seek its welcoming embrace. The slightest hint of boredom can be obviated with zero effort, and we pay that cost gladly.

But the cost is higher than it may seem. This is part of Cal Newport’s argument in his book Deep Work. The effect of distractions on software developers specifically has been discussed again and again, and many have offered different techniques to help reclaim focus.

Newport expands this problem to all modern knowledge workers and offers a more unified theory of what he calls deep work. His definition from the book:

Professional activities performed in a state of distraction-free concentration that push your cognitive capabilities to their limit. These efforts create new value, improve your skill, and are hard to replicate.

The Benefits of Deep Work

The book begins with a series of arguments about why deep work is valuable, rare, and meaningful. Several examples of high performers are offered, as well as related cognitive studies.

To thrive in the new economy, Newport argues that you need two things, both of which are best achieved by deep work:

  1. The ability to quickly master hard things.
  2. The ability to produce at an elite level, in terms of both quality and speed.

But if deep work is so valuable, why is it rare? Other than the myriad ways we can distract ourselves, the modern work environment is full of things that give the illusion of productivity and that are easy to accomplish. Without clarity about what matters, and a lack of metrics to measure it, we fall back to what is easiest.

Getting to “inbox zero” provides an obvious measure of accomplishment, and it’s a lot easier to let email rule our day than taking the significant effort of figuring out where to direct your precious attention.

As a result, we lack a concrete sense of accomplishment. In that absence, we want to prove we are earning our keep. That what we do matters.

This is part of the reason why working with our hands is still so satisfying. A craftsman starts with plain wood, puts in some sweat and grind, and at the end, has made something tangible. He or she can point to it. Touch it. A lot of modern knowledge work lacks this.

To close out this section, Newport discusses why deep work is so meaningful, and that by engaging in it often we can improve our overall satisfaction with life. We are at our best when our minds are stretched to their limits to do something we feel is important. We thrive on challenges.

In many cases, the content of the work doesn’t even matter, just the intense focus that is required to accomplish it. As the book puts it, “a wooden wheel is not noble, but its shaping can be.” No matter what our vocation, deep work allows us to find and access the nobility in that work.

More deep work sounds like a worthy goal, and many others have touched on similar ideas. For example, Tim Ferriss has said that in a world of distraction, single-tasking is a superpower.

So how do we get this superpower? Deep Work does not disappoint.

How to Achieve More Deep Work in Your Life

Newport is not content with theory. The majority of the book offers suggestions and tips to achieve more meaningful work in your life. Some of these suggestions sound obvious in retrospect. Some sound radical. But to achieve more life-changing deep work, it makes sense that we might need to develop some life-changing habits.

1. Rituals and Routines

The recommendations in this section underpin or support the intention to work more deeply, and cover two main aspects: figuring out how we personally prefer to get focused work done, and then carving out (and protecting) that time with rituals, routines, and habits.

This section is about discovering how best to engage in deep work, and when, intersected with what is actually possible given our life circumstances. This will be unique to almost everybody. For some, this could include going on long sabbatical stretches. For others, they need to grab whatever time they can at random points in the day. Still others need a daily rhythm and habit, like a two hour block every morning or evening.

The book gives examples of many famous producers of prodigious output, and they all have rigid rituals that look weird from the outside, but that enable them to get things done. J.K. Rowling, for instance, had to make the grand gesture of staying in an expensive hotel room so she could focus on completing the last Harry Potter book. Paying $1000 per day just to have a quiet place to work might certainly help one muster the required energy.

No matter what we choose, it’s important to make the decisions beforehand, so we don’t have to choose every single day anew about the what, when and how. Make it as easy as possible to settle into deep work.

For me personally, I feel like I need at least 2 hours of uninterrupted time to get into the groove and feel like it was beneficial, and this time needs to be regular and recurring. This means in my professional life, I try to block out at least two 2-3 hours segments of time per day. I try to fit my shallow work in the surrounding margins. It doesn’t always work out. Stuff comes up. But if I hit a 70% success rate, that’s a good week.

In my personal life, I have tended to work at night after the rest of the family is in bed. I’ve found it has to be almost every day, though, or else my ramp-up time for these sessions become too long and too intensive, so I can’t relegate things only to huge blocks during the weekend. I wouldn’t do well with grand gestures.

Newport rounds out this section by applying principles from the book The 4 Disciplines of Execution, which can help measure something that might seem unmeasurable. These are helpful tips to maintain motivation and accountability. One key takeaway, find a way to measure your deep work time and make sure you're progressing toward greater consistency. This might be as simple as x's on a calendar for each day where you met the goal. 

As a lead into the next section, the last piece of advice is to be lazy. Embrace downtime. Give your conscious mind a rest. If we fill every moment with a mental stimulus, we are like a professional athlete occupying our recovery time with Crossfit sessions.

2. Retrain the Mind by Embracing Boredom

Merely carving out the time in our schedule is insufficient to achieving consistent deep work. This ability can't be turned on and off with the flip of a switch. Instead, we must train our attention.

If we are prone to distraction or diversion, our ability to concentrate will atrophy. Newport claims modern forms of social media and the nature of the Internet have left us addicted to distraction. According to one study that Newport cites, our brains have been rewired by these forces, losing the ability to filter out irrelevancy.

So how do we rewire our brain toward concentration? How do we ensure we get the most out of our designated “deep work” time?

Don’t take breaks from distraction, take breaks from focus.

Resist the temptation to be distracted again and again. As an example, the Internet, in general, is a good stand-in for “distraction,” so set a schedule for when we can next use the Internet, and do not use it until that appointed time. Even if it’s five minutes from now, you are training your brain to wait and stay focused rather than giving it the dopamine fix it craves.

For me, one application of this principle was to stop checking my phone at red lights, and promise that I would only check it once I got home. After a few days, the urge to scratch that itch diminishes. If you are a Mac user, the Focus app might be a great tool to facilitate this. There are also browser plugins like WasteNoTime.

Meditate productively.

The idea behind this is to practice focusing on just one problem while we walk, drive, or exercise. Outline an article, get that perfect opening sentence, work through a tricky bug, figure out the ideal gift to get your spouse for an anniversary.

The key here is to keep bringing our attention back to the problem at hand. It will wander. Sometimes it will wander really far, and we'll be confused why we’ve been thinking about how unfair our fourth-grade teacher was in giving us a low grade on that one paper on Abraham Lincoln...Where was I again?

Memory training.

The task Newport recommends is learning how to quickly memorize a deck of cards. The act of creating your mini mind palace, establishing scenes in each room, and then building up so you can mentally walk through these rooms in an established order strengthens your ability to concentrate.

It's also a great party trick.

3. Quit Social Media - Approach Your Tools Like a Craftsman

Social media is literally engineered to grab as much of our attention as possible, so it is particularly pernicious when battling for more in-depth, focused time. Newport is not demonizing all social media and similar tools, but instead advocates a more intentional approach to choosing the tools that we use.

We shouldn’t decide to use a tool just because it provides a benefit. That should just be the start of our evaluation, which should also include disadvantages and opportunity cost. For some people and organizations, certain social media sites will pass the test.

One of the exercises recommended is to quit social media for 30 days. A complete fast. But don’t tell anyone, and don’t cancel your accounts. After this period, you’ll be in a better position to honestly evaluate your use of these sites. The truth for most people is that, during this 30 days, no will notice that you ever left. No one will miss your hot takes. That’s clarifying.

4. Drain the Shallows

We are notoriously bad at estimating how much time we spend doing things, from sleeping to watching TV. We don’t know where our time is really spent. In order to achieve more deep work and segregate necessary shallow work, Newport offers some final thoughts on time management.

  • Finish work at a specific time every day. And keep it strict. This is related to embracing downtime and being strict about not working when appropriate. Adding this constraint can do wonders for our productivity.
  • Schedule every minute of every day. He recommends coming up with 15-30 minute time blocks and sitting down for a short period every morning to sort things out. Only when you measure our use of time can we better quantify the value of that time.
  • Learn to say “no.” And when we say no, make a clean break. Don’t equivocate or offer a consolation prize. Truly value your time.
  • Email management techniques, including things like establishing sender filters, focusing on process-centric email responses that decrease total email volume, and making yourself intentionally hard to reach.

Some of these may seem unrealistic or disadvantageous on the surface, but Newport makes good arguments and offers plenty of examples of putting them into practice.

Conclusion

This book was a needed kick-in-the-pants. As I was reading, many of things Newport addressed rang true from my own experience and struggles with focus. I’ve gradually begun implementing some of the recommended tips and have already reaped benefits in both my personal and professional lives.

I’ll finish this overview the same way Newport ends his book: with a quote by Winifred Gallagher.

I’ll live the focused life because it's the best kind there is.

Deep Work can help you do this, and I can’t recommend it enough.

Categories: Drupal CMS

Flocon de toile | Freelance Drupal: Apply a VAT rate on a product with Drupal Commerce 2

Drupal.org aggregator - Wed, 12/13/2017 - 05:00

Drupal Commerce 2 now allows you to manage the various taxes and VAT to apply to an online store, regardless of its country and their respective rules in this area. Most of the contributed modules managing these elements on Commerce 1.x are therefore no longer necessary. Let's find out how to use the Drupal Commerce 2.x Resolver concept to set the VAT rate to apply to different products.

Categories: Drupal CMS

hussainweb.me: Applying composer patches fails silently

Drupal.org aggregator - Wed, 12/13/2017 - 02:52
I came across an interesting bug with composer-patches plugin (it really is a git-apply bug/behavior). TL;DR, it is fixed in the latest version of composer-patches plugin as of this writing–1.6.4.
Categories: Drupal CMS

Pages