Drupal is a flexible, open-source content management system (CMS) for building complex websites and applications.

How to override different version of Jquery in Drupal 8 using theme

Drupal 8 use its own jquery version by default and if you want to use the other version of jQuery instead of default than this tutorials steps is for you, sometimes we need different version to other plugins and libraries to work if you are using external libraries or something like that . Follow the steps 

1) we need to create the "libraries-override"  attribute in yourtheme.info.yml

libraries-override:
  core/jquery: yourtheme/jquery-custom

2) Second download and placed your js file in theme folder like example:

Import and Export Drupal 8 Views, Or Import and Export any configuration Drupal 8

Drupal Views

Import and Export configuration is the basic protocol to staging the website or production website deployment, In Drupal 7, we need the extra modules to import and export or we can use features modules to do so.

But In the drupal 8 that settings / configuration can we imported directly from the core system, Drupal 8 provide the system in core functionality, if you want to do this kind of stuff, please follow this tutorial.

In this tutorial we can see how to import and export a view, you can do full configuration also, so lets start

Drupal 8 Theming Essential Guide

What's new?

I’ll list some changes with the theming system of Drupal 8 compared to Drupal 7. You may have got familiar with these in the Drupal 7 version. The bases are still remained, but they have changed in a new form. There may be some points you don’t understand, but don’t worry. I’ll explain them later. Now just take these as bullet points to remember.

Schema API Drupal not accept the datatype like date or datetime

Schema  Api Drupal 7 and Drupal 8 not accept the datatypes Like data or datatime and generate the warning and sql syntax error while installing the drupal module in install 

normally we Define like this:

'dob' => array(
		  'description' => 'Date of Birth',
		  'type' => 'date',
		  'not null' => FALSE,
		),

See the dob datatype below the correct version of using

Drupal 8 Opcache Problem with xampp

;Put this code in php.ini (C:\xampp\php\php.ini)

zend_extension=php_opcache.dll

[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1

; Determines if Zend OPCache is enabled for the CLI version of PHP
opcache.enable_cli=0

; The OPcache shared memory storage size.
opcache.memory_consumption=64

; The amount of memory for interned strings in Mbytes.
opcache.interned_strings_buffer=4

; The maximum number of keys (scripts) in the OPcache hash table.
 Only numbers between 200 and 100000 are allowed.
;opcache.max_accelerated_files=2000

; The maximum percenta
Subscribe to Drupal