Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Call stylesheet only at a particular page in Drupal 8

In Drupal 8, if we are required to add some Stylesheets or JavaScripts in a particular page then to achieve the goal we need THEME.info.yml and THEME.libraries.yml file of our theme.   Lets see how can we achieve it.   In the .info.yml

Superglobal Variables in PHP

Superglobals variables in php are the built-in array. They are available in every scope. You can access the superglobal variable inside and outside the methods. PHP Superglobals variables: $_COOKIE – contains values provided to the script via HTT

Singleton Class in flex

SINGLETON CLASS In object-oriented programming , a singleton class is a class that can have only one object (an instance of the class) at a time. It's good when you only want one object across the whole of your application It is usually used in flex

Basic git commands

Hi All, Here are some basic and required git commands for starting purpose: 1: Set your name: git config --global user.name "Your name" 2: Set your emails: git config --global user.email your_email 3: Clone repository: git clone git_repository

Exception while parsing String into DateTime

"An exception of type 'System.FormatException' occurred in mscorlib.dll but was not handled in user code while parsing String into DateTime."     I was trying to parse a string "27/06/2015" into the DateTime as follows: string t

Initializing the model using an Angular controller

Hi all, Below example will demonstrate, How to Initializing the model using an Angular controller, defined with a global function. <html ng-app="nameApp"> <head> <meta charset="utf-8"> <title>Angular.js Example<

Replacing all occurrences of a string in javascript

String.replace method in javascript does not replace every occurrence of the string, it only replaces the first occurrence. To replace all occurrences of the string you must provide the replace() method a regular expression (or pass search string as

How to change add to cart text on product page by its type?

Hello Everyone, today I will guide you "to change add to cart text on product page by its type?" If you want to change the add to cart text according to product type, the first thing is you have to get the product type. In the below code $product i

Github: How to install and setup Github on Ubuntu 14.04

Install Github First update the apt-get package lists with this command apt-get update then install git. $ sudo apt-get update $ sudo apt-get install git Now git has been installed on Ubuntu, lets setup git. How to set up Git Now we need to do

How to override magento blocks

In this blog tutorial, i will explain how to override magento blocks using an XML- based configuration file. Config.xml is module configuration file in which we will override magento block. As magento best practices, we should not change any core fil

1 9 76
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: