Blogs

@extend in sass is just like a inheritance in oops. The @extend directive allows one selector to inherit the styles of another selector. This is more powerfull feature of sass for styling. Here we create a selector and follows reusablity criteria using @extend directive. It prevents code bloat by grouping selectors that share the same styles into one rule.
Read More
  Author: admin
  0 comments
Share with:
If you have a requirement where you need to display node of any content type, having value of one field should be in top and then rest value of that field from another node will come, this blog would help you to do so. Sort views block by current node first might be using the module Views PHP. Steps to create Sort views
Read More
  Author: admin
  0 comments
Share with:
Mixins allow you to define styles that can be re-used through the project.The mixins are very helpful if we need to change or calculate something in the final output. They can even take arguments which allows you to produce a  variety of styles with very few mixins.It is just powerfull features of sass that makes the styling easy. Let take a exam
Read More
  Author: admin
  0 comments
Share with:
drush status - See main information and status of the site $ drush help - Use the 'help' command to get a list of available options and commands.
Read More
  Author: admin
  0 comments
Share with:
$ drush [options] [argument1] [argument2] drush status :  See main information and status of the site drush cc all :  Clear the cache drush sql-query "DELETE FROM cache" :  Clear the cache, even if Drupal is broken drush dl drupal :  Download core Drupal and projects
Read More
  Author: admin
  0 comments
Share with:
When we are developing, it’s often useful to have many smaller stylesheets rather than one huge one.This can reduce the performance of a webpage If we have five style sheets on a particular page, it can makethe page loading times much slower because each style sheet needs aseparate request to load.. Importing is a process by which a lot of files are turned into a few files. Sass has a
Read More
  Author: admin
  0 comments
Share with:
Step 1: Download DraggableViews module and enable it. Download This module provides dragging entities and saving their order. Step 2: Firstly Create a view - Goto '/admin/structure/views/add' on your site and 'Create a page'. Step 3: Create a new view page in your view to set orde
Read More
  Author: admin
  0 comments
Share with: