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 challen ged (How ironic). In the end, I thought of its outcomes . I made my decision. I w as det ermined 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 presen t in 2 channels: #Drupal and #Drupal-support . I had so me 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

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 Hp Pavilion Ubuntu 16.04 Google Chrome Hp Pavilion Ubuntu 16.04 Google Chrome console 2. Mozilla Firefox Hp Pavilion Ubuntu 16.04 Firefox Hp Pavilion Ubuntu 16.04 Firefox console   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:15202 I 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

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. Learning Git Branching 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. Installing Git Configuring Git Write a patch Downloading a project using Git 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

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 D 8 This step is necessary so as to avoid confusion. There are two theme directories in Drupal: t he one located at path/