{% set nodeTitle = node.get('title') %}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// credits https://github.com/arshad | |
(function ($) { | |
Drupal.behaviors.dieToolbardie = { | |
attach: function (context) { | |
window.matchMedia('(min-width: 975px)').addListener( function(event) { | |
event.matches ? $('#toolbar-item-administration', context).click() : $('.toolbar-item.is-active', context).click(); | |
}); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Make IE Better Compatible " | |
<!--[if IE]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
====================================================== | |
IE6 Only | |
================== | |
_selector {...} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// working with bxSlider.js | |
// Youtube and MP4 autoplay videos on Header Sliders. | |
(function($) { | |
var CB = { | |
slider: $('.bxslider'), | |
video: {}, | |
youtubeVideos: [], | |
onLoad: function() { | |
var videoItem = CB.slider.get(0).children.item(1); | |
// check first slide to check if youtube video. |
I hereby claim:
- I am isramv on github.
- I am isramv_73 (https://keybase.io/isramv_73) on keybase.
- I have a public key ASAVO1uqK8jgmO5NnA-oRlYnlU3xJni8-bsfO9jzuZFyLQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# `vagrant_box` can also be set to geerlingguy/centos6, geerlingguy/centos7, | |
# geerlingguy/debian8, geerlingguy/ubuntu1404, geerlingguy/ubuntu1204, etc. | |
vagrant_box: geerlingguy/ubuntu1404 | |
vagrant_user: vagrant | |
vagrant_synced_folder_default_type: nfs | |
vagrant_gui: false | |
# If you need to run multiple instances of Drupal VM, set a unique hostname, | |
# machine name, and IP address for each instance. |
Fork your own copy of the DrupalConsole repository to your account
Get a copy of your recently cloned version of console in your machine.
$ git clone [email protected]:[your-git-user-here]/drupal-console.git