Archive for the ‘Drupal 8’ Category

Multisite in Drupal 8

Preface Setting up default main/root Drupal site- “domain.com” Setting a sub-site “staging.domain.com” Prerequisites Creating a staging folder Creating settings.php Creating a sites.php file Adding a virtual host entry for both main and staging site Adding virtual host entries Enable the site Add entry in /etc/hosts file Restart Apache Setting up “staging.domain.com” site

Latest release of Bootstrap theme integration- Drupal 8 Basic steps

Basic Setup Requirements Get Drupal bootstrap module- https://www.drupal.org/project/bootstrap Copy the theme folder under “Starterkit” folder to create your own subtheme i.e. you can place this starterkit theme unders themes/custom folder. Rename all the instances of THEMENAME to your own sub theme name Make relevant changes in info.yml file. The default setup use CDN and hence […]

Installing Composer Globally- Drupal 8

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.