Web Mystery - Web Development Blog

Web Mystery

Hello, my name is Andrey, and this is my personal blog. At the very beginning of my career, I called "Web mysteries" things behaviour of which I couldn't explain. As it came with experience, everything happens for a reason - you just need to take more time on learning, debugging or googling the issue. This blog was initially meant to explain such "mysteries" and save time of the readers, but in fact contains general articles split into 3 categories: Front End, Drupal and Tools. Welcome!

How to Run a Cordova Application and Bring to Foreground on a GCM Notification

Cordova plugins

In the previous post, I tried to explain how to set up, receive and handle push notifications in a Cordova application.

How to Make GCM Push Notifications in a Cordova Android Application

Push notification on Cordova app

I guess you know perfectly well how your smart-phone reacts to news emails, IMs or anything else that needs your attention. Typically, it's a sound notification followed by a message appearing on your phone's top bar (or even on lock screen on Android 5+ devices).

How to switch between different Node.js versions on Linux

how to use nvm

Hi again. Few days ago, I tried to install a node.js framework and ended up with an error saying that my current node version did not fit the minimum requirements. Updating was not an option since it would break the compatibility with the project I'm currently working on.

Moving from Windows 8.1. to Ubuntu. Picking Software Alternatives

From Windows to Ubuntu

Hey, what's up? Sorry for my absence again, had many tasks to do again, but hope now I'll be post on my blog weekly.

Sticky Headers with Pure JavaScript

Sticky headers with Javascript

At the end of the last week, I had another exciting task – implementing sticky headers within a scrollable element. Headers had to change dynamically when a user scrolls over the data back and forth.

How to Set up a Custom Drupal Commerce Payment Method and Restrict it for a Certain User Role

Drupal commerce custom payments

Hello there! Sorry for not writing for so long, had been quite busy for the last couple of weeks. Yesterday I had a task to set up a sort of cashless payment method for a certain users and generate monthly reports for orders made with this payment method.

Drupal Development with Vagrant and VDD on Windows: Getting Started

Vagrant Drupal Development

For a long time, I was working with OpenServer, a WAMP stack, which is actually good for a beginner. As my understanding of development details grew, the limitations and incompatibilities of Windows were becoming more and more annoying.

Commerce Order Reminder – send automatic reminders of uncompleted orders on your Drupal website

Commerce Order Reminder module

Commerce Order Reminder is my first full project at Drupal.org that sends automatic email reminders of the orders that have not been completed.

Advanced Surveys on a Drupal website with Lime Survey

Limesurvey and Drupal

Today we are going to be talking about creating advanced surveys. When it comes to surveys on a Drupal website, most of people would think about using the Webform module.

Applying discounts on certain product types with Drupal Commerce

Drupal discount on product types

Drupal Commerce allows setting up sort of discounts out of the box using Commerce Pricing Rules. This feature is available once you enable Product Pricing UI sub-module, and some of the default pricing rules require having Tax UI enables as well.