Issue Solved: HTML5 Geolocation not working in chrome By: CodexWorldLast Updated: Jun 9, 2016 ShareTweet If your chrome version is 50, then you’ll encounter that HTML5 Geolocation API is not working. In Chrome version 50, HTML5 Geolocation delivered over HTTP no...
Month: November 2016
Use hreflang for language and regional URLs
Use hreflang for language and regional URLs Many websites serve users from around the world with content translated or targeted to users in a certain region. Google uses the rel="alternate" hreflang="x" attributes to serve the correct language or regional URL...
Magento 2 install redis in debian
sudo apt-get update && sudo apt-get upgrade Install the software-properties-common package: 1 sudo apt-get install software-properties-common 3. sudo add-apt-repository ppa:chris-lea/redis-server 4. sudo apt-get update sudo apt-get install redis-server 5. Verify the Installation Verify Redis is up by running redis-cli: redis-cli...
Drupal 8 study note 8 The Entity API -1Introduction
In Drupal, entities are a representation of data that have a specific structure. There are specific entity types, which have different bundles and fields attached to those bundles. Bundles are implementations of entities that can have fields attached to themselves....
Drupal 8 study note 7 : Plug and Play with Plugins-2 Creating a custom plugin type
The plugin system provides means to create specialized objects in Drupal that do not require the robust features of the entity system. In this recipe, we will create a new plugin type called Unit that will work with units of...
Drupal 8 study note 6 : Plug and Play with Plugins-1 Creating blocks using plugins
Creating blocks using plugins Create the src/Plugin/Block directory in your module. This will translate the \Drupal\mymodule\Plugin\Block namespace and allow a block plugin discovery. Create a Copyright.php file in the newly created folder so that we can define the Copyright class...