Skip to main content

Posts

Showing posts from December, 2016

Complete the 5 Day Drupal Challenge

Hi there, in this blog post I will share my experience taking part in the 5 days Drupal Challenge. At first, I hesitated to do it as it looked challenging. Yet, part of me wanted to feel challenged (How ironic). In the end, I thought of its outcomes. I made my decision. I was determined to become a better Drupal contributor!
Day 1 - Provide online help on forums, IRC and other support channels.There are many IRC channels for Drupal where we can give help: #drupal, #drupal-usability, #drupal-contribute, #drupal-support among many others. During the moments working for Drupal, I was always present in 2 channels: #Drupal and #Drupal-support. I had some fun giving a hand when I could. What I appreciated the most is learning while helping.

Here are some moments when I gave help on IRC.
<jaykandari> @here : How to create a test? and how to include it in a patch?
<ninisama__> jaykandari, http://drupalladder.org/lesson/f6499034-7520-2db4-6522-c32c8429e2d7
<jaykandari> ninisama_:…

Test Drupal 8 default theme on Multiple Devices in Multiple Browsers

In this post, I will be sharing my experience of testing Drupal 8 default theme on various devices in multiple browsers. If ever a problem is encountered, I will report it in the issue queue. Bartik was tested on four different OS: Android, IOS, Windows and Ubuntu.

The first device I will be using is an HP Pavilion 15 Notebook PC on Ubuntu 16.04 in various browsers.

1. Google Chrome
2. Mozilla Firefox
As you can observe, the console detected an error:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/  jquery.min.js:4:15202I noticed that similar issue has already been reported. I added a screenshot in the comments.
Next, we will be testing the same HP Pavilion 15 Notebook PC but running on Windows 10.
1. Microsoft Edge
2. Google Chrome

3. Mozilla Firefox

Here again, Mozilla firefox met 4 issues:
Error in parsing value for ‘-webkit-text-size-adjust’.  Declaration dropped.  normalize…

Finish Entire Drupal Ladder [Git Basics]

Getting Started with Git At first, Drupal ladder introduced a little Git introduction and the benefits of its usage. It was fascinating. I knew it would help me in the future. There were three links: http://try.github.com/levels/1/challenges/1, http://pcottle.github.com/learnGitBranching, and http://git-scm.com/book. Both three were useful to understand Gits tree structure.
Install Git Coming to Git installation, I had to put some git commands into practice: git show, git log, git branch, git status among others. As it was something new to me, I took some time to grasp all the commands. Its installation was pretty easy; I only had to follow Drupal Ladder's steps.
Write a patch Before starting, I had to learn two of the prerequisites: getting used with the issue queue and Drupal sandbox. I had no problem hosting Drupal sandbox and creating an issue. Coming to the main step, I had to generate and submit a patch. Here are the proposed patch and screenshot. It was fantastic seeing how th…

Code a sub-theme using Classy as base theme

Classy is a theme in the D8 core. It serves Bartik and Seven as the base theme. One might think of using classy as it already provides the user with CSS classes sample. I am going to share a little of my experience with coding a subtheme with Classy as the base theme.
Install Sublime Text To code a sub-theme, moving around folders and files are necessary. Therefore I decided to use a text editor called Sublime Text. Here are the commands for its installation.
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime text
To use Sublime Text, I can just run this command.
subl [filename.txt]
If the file exists, it will open it. Else, It will create a new file.
Note: It can also open folders and lets you open whatever is inside. Prerequisites: Have a basic knowledge of the Theme Folder Structure of D8
This step is necessary so as to avoid confusion. There are two theme directories in Drupal: the one located at path/core/themes (built-in themes) and …