Drupal

Ubercart Square Up

New Drupal Modules - 1 January 2018 - 12:16am

This is an Ubercart payment gateway module for the Square up payment processor.
This modules integrates the Square Checkout API with ubercart.

Categories: Drupal

slides presentation

New Drupal Modules - 31 December 2017 - 5:35am

This module is for easily creating beautiful presentations using HTML.

Usage

  • Create your presentation by type "presentation".
  • Create list of slide by type "slide" per presentation.
  • View your presentation page.

Installation

Categories: Drupal

Twig Typography

New Drupal Modules - 31 December 2017 - 3:09am

This module provides a Twig filter which integrates the PHP Typography library and applies it to strings. An example use case is for protecting against widowed words in titles. This could be applied in the page-title.html.twig template like this:

<h1{{ title_attributes.addClass('page-title') }}>{{ title|typography }}</h1>

The PHP Typography library can do the following transformations:

Categories: Drupal

Enzolutions: My 2017 Recap

Planet Drupal - 30 December 2017 - 4:00pm

It’s been awhile since I wrote a blog post. Actually, this is only the third one in 2017; a bit of a change from 2016 when I wrote almost 200 posts. If you are wondering why, let me explain with a quick recap of my milestones for this year.

Is there anybody else who has never seen snow before?

This is something difficult to understand or believe for some people, but after 40 years I had never seen snow before. This is the price that comes with living in tropical countries like Colombia and Costa Rica, but hey, even paradise has a downside!

I decided that I needed to check off this item from my bucket list, and in a big way. Fortunately, the Drupal community always helps me in my crazy travel adventures, and in this case the community of Iceland stepped up to the challenge.

To accomplish this goal and at the same time contribute to the local Drupal community, I attended the first Drupal Northern Lights at Reykjavik, Iceland, which by the way is a remarkable event organized by Baddy Breidert, Hilmar Hallbjörnsson, and the rest of the amazing open source community in Iceland.

Back to the snow, I tried to prepare as much as possible for this visit, but it seems you can never be ready enough for snow in Iceland. In the second day of my visit, we got the biggest snowfall since 1952, 51 cm in just a few hours.



After having experienced that, anything less than 51 cm of snow doesn’t feel like a proper snowfall to me :P. I guess that’s the problem when you set high standards!

In 2017 I also visited these places:

  • Metz, France
  • Ghent, Belgium
  • Brussels, Belgium
  • Berlin, Germany
  • Copenhagen, Denmark
  • Malmo, Sweden
  • Rome, Italy
  • Camberra, Australia
  • Sunshine Coast, Australia
Down Under

During my tour in Europe, I was notified that my family and I qualified to emigrate to Australia. So from Italy, I flew to Australia to arrange all the details for the arrival of my family, typical things like finding a place, buying some furniture, setting up the school for the kids, and a long etcetera.

But why move so far away? This is a recurrent question, since the common impression for most people is that Australia lays at the end of the world (well maybe not for people in New Zealand, Indonesia, and Papua New Guinea, our closest neighbors).

The answer is simple. My wife and I wanted our kids to pick up a close-to-native command of the English language, while at the same time have access to a better education system. Australia offers both, and although the immigration process is tough, it is also clearly stated, and if you read the fine print carefully it can actually be a straightforward process.

Is the *AMP stack dead?

I have been a Drupal Developer for many years, but before that, I was a straight-up PHP developer, Sysadmin, and even an Oracle Developer, among others in a long list of technologies that I’ve used in my professional career.

In addition, as CTO of Anexus (now weKnow), my role includes to constantly evaluate new technologies in order to improve the approach and solutions we offer to our partners. As a result, this year I decided to push myself to learn something new and far away from Drupal.

For years in our company we’ve had a gap between what the market offers and our requirements related to time tracking, HR, accounting, and capabilities. We tried many tools and SaaS platforms, but none of them truly fulfilled our needs.

After playing around with NodeJs and ReactJs, I decided to build a professional application, something that could fill this gap and finally resolve our problems.

After some analysis I decided to build this platform leveraging the following technologies:

Although the learning curve was a bit steep, we were able to release our first version after two and a half months of development.

We are still in the process of improving the tool, but so far we have exceed our initial needs. Right now we are at the stage of innovating and adding new functionality to extend the platform’s abilities.

A by-product of this project - at least 15% of our developers have become proficient in the technologies we used to build this tool, and are prepared to tackle any project that uses this stack. Our goal for 2018 is to increase that number to at least 50% of our company.

A sabbatical year? Maybe...

A sabbatical year is generally understood as a period for relaxing, pursuing academical or spiritual interests, and often traveling. In my case it is a bit of the opposite, as I’ve decided to avoid traveling outside Australia for a year to stay with my family a much as possible, starting in August 2017.

Why this harsh move? Well, for the last nine years I’ve been traveling almost non-stop, especially in the last couple of years. It definitely feels like I could use some “detox” from traveling, which while always interesting, is also extremely energy-consuming. That said, after two months without any traveling I started to feel a little anxious about not having a next trip to prepare. Talk about first-world problems!

At this point I’m completing four and a half months of staying put in Australia, and I don’t have plans to travel abroad in the first quarter of 2018, so I may be able to complete my goal after all... Or not. We’ll see!

This Time Next Year

This might sound geeky, but I think it would be interesting to use a Radar chart to graph the main aspects of our lives, where each variable could be an element such as love, professional life, family, financial wellbeing, health, and so on.

Maybe all is related with each one personality factors, below my personality factors described using a Radar Chart created using https://personalityfactors.com

The reality is that maintaining a balance with all these elements is really difficult, and each one constantly pulls from the other to gain more relevance. In my personal analysis, Health has been the aspect that has been neglected the most in the last decade. Fortunately I do not suffer from any condition, but I can definitely feel how my health has started to slowly decline. Nothing major, but it’s time to take precautions.

In order to incorporate some healthy changes, I made a challenge with Jesús and Omar, to see who can lose more weight in approximately a year, starting in August 2017. The end date is not set in stone because we live in different cities and countries, so the winner will be confirmed when we see each other again…. and in front of a neutral scale.

Let me share a baseline for reference. At the start of the challenge my weight was 102.8 kg (226 lbs), which equals to Grade II Obesity, definitely not very healthy. Back home I set up a diet plan and enrolled in a gym with the goal to attend at least six days/week.

After four months and two weeks I’ve lost 17.2 (37.91 lbs) kg and my new weight is 85.6 Kg (188.7 lbs), and I’ve finally started to feel more healthy. Though I’m still about 6 kg from my personal goal, I’m happy with the results so far and am confident I’ll be cashing that prize, so watch out Omar & Jesús!

Have a happy 2018!

Categories: Drupal

Btester Video

New Drupal Modules - 30 December 2017 - 3:00pm
Categories: Drupal

Btester Toolbar

New Drupal Modules - 30 December 2017 - 2:58pm
Categories: Drupal

Btester Social

New Drupal Modules - 30 December 2017 - 2:55pm
Categories: Drupal

Btester Slideshow

New Drupal Modules - 30 December 2017 - 2:52pm
Categories: Drupal

Entity Pilot: A new year brings a free tier!

Planet Drupal - 30 December 2017 - 2:48pm

In response to regular requests for trial accounts, we've added a free trial tier.

Categories: Drupal

Btester Portfolio

New Drupal Modules - 30 December 2017 - 2:45pm
Categories: Drupal

Btester Polymer Components

New Drupal Modules - 30 December 2017 - 2:41pm
Categories: Drupal

Btester Poll

New Drupal Modules - 30 December 2017 - 2:26pm
Categories: Drupal

Btester Mailing

New Drupal Modules - 30 December 2017 - 2:23pm
Categories: Drupal

mark.ie: Integrating a Drupal Text with Image Paragraph Bundle with Patternlab

Planet Drupal - 30 December 2017 - 6:25am
Integrating a Drupal Text with Image Paragraph Bundle with Patternlab

Let's get to grips with having a text with image paragraph bundle set up with PatternLab, including having options for left/right for the image/text.

markconroy Sat, 12/30/2017 - 14:25

It's a fairly common design pattern for clients to request - upload an image, place text beside it, and choose whether we have the image on the left with the text on the right or vice versa. You can see my PatternLab version of it here (I also have an added option to set a dark theme for the background).

This is an example of the pattern with the image on the left and the text on the right.

Okay, first off, in my twig file, I have the following:

{%
set classes = [
  'image-with-text',
  'layout-contained',
  paragraph.field_p_it_alignment.value,
]
%}


 

   
      {{ content.field_p_it_image }}
   

   
      {{ content.field_p_it_text }}
   

 

The only thing that is anyway special here is the paragraph.* variables. I have named them like so because this is what Drupal is going to give me back (since the machine name of those fields is p_it_alignment (I namespace all my entity fields with the first letter of the entity type - in this case the name stands for Paragraph Image (with) Text Alignment). This then allows me to have options in PatternLab for alignment and background style (light/dark). To achieve this, I have the following in my pattern's .yml file:

paragraph:
  field_p_it_alignment:
    value: left
  field_p_it_style:
    value: light

And in my image-with-text~right.yml file, I just need to override those variables like so:

paragraph:
  field_p_it_alignment:
    value: right

Following that, I have variables named content.field_p_it_image and content.field_p_it_text. Again, these are deliberately named like so, because this is what Drupal will give us back after I create a field with those machine names. Again and again, I try to keep my pattern variables in PatternLab the same as what I will get back from Drupal so when I come to adding the Drupal template, it's just one line of code to say "Hi Drupal template, you'll find the code for this file over here!". So, you can decide in PatternLab what the machine name for the Drupal fields is going to be and then get your site-builders to create fields with matching names, or you can ask your site-builders what machine names are being used in Drupal and then use those in PatternLab.

In my pattern's .yml file, I then set those variables like this:

content:
  field_p_it_text: 'A Short Heading

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

'
  field_p_it_image: ''

Finally, in our paragraph--image-with-text.html.twig file we have just one line of code:

{% extends "@building-blocks/image-with-text/image-with-text.twig" %}

You can probably guess what the sass looks like:

.image-with-text {
    display: flex;
    &.left {
      flex-direction: row;
    }
    &.right {
      flex-direction: row-reverse;
    }
}

The images with text above and below this post are examples of this pattern in use on a Drupal website.

This is an example of the pattern with the image on the right and the text on the left.

Categories: Drupal

Btester CRM

New Drupal Modules - 29 December 2017 - 11:41pm
Categories: Drupal

Btester CMS

New Drupal Modules - 29 December 2017 - 11:32pm
Categories: Drupal

Commerce ShipEngine

New Drupal Modules - 29 December 2017 - 10:46pm

ShipEngine provides a common API for multiple shipping carriers. A company using multiple carriers (UPS, USPS, FedEx) may find their services useful.

This module provides:
- Shipping Method plugin, providing rates for services configured in ShipEngine.
- Labels (currently hardcoded as test - USPS only) created after order placed, visible on order page.

Please submit issues if you would like to use this and something isn't working.

Categories: Drupal

Btester Core

New Drupal Modules - 29 December 2017 - 10:20pm
Categories: Drupal

Commerce MyCard

New Drupal Modules - 29 December 2017 - 10:07pm
Overview

The Commerce MyCard Module provide a payment method for Drupal Commerce Module. MyCard is a 3rd Party Payment Service which can be used at Taiwan, China, Hong kong. The detail of the payment can be found at MyCard Official Website.

Features

This module provide only one payment but with multiple payment method at the mycard side. There are three types of payment. 1. Ingame 2. Costpoint 3. billing.

Categories: Drupal

Aegir Dispatch: Helmo's year of Aegir 2017

Planet Drupal - 29 December 2017 - 4:00pm
What have I done? It turns out a lot of Aegir. Anarcat inspired be to write about the time I’ve spent. And now that the Aegir project has a proper blog … why not. 190+ hours of community Aegir time (23 full 8 hour days) as per my hamster. According to Drupal.org “Credited on 61 issues fixed in the past 1 year” Within Aegir I worked all over the place:
Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal