Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Tutorials - Other

By editor , 11 January, 2016

Some Features commands (drush)

Tags

  • Shell
  • Drush
  • Features

Enable a Features
drush en feature_name

Revert a feature
drush fr freture_name

Revert all features
drush fra -y
#OR Also
drush fr-all

By editor , 6 January, 2016

Git - Create new branche, push and merge

Tags

  • Git
  • Code

git checkout -b // TO TEST


git branch <branche>  // TO TEST

By editor , 5 January, 2016

GRUNT, The JavaScript Task Runner

Tags

  • Shell
  • Linux
  • Windows

Install in Windows.

  1. Install npm (Node.js) : https://www.npmjs.com/package/npm 
  2. Install grunt-cli (npm install -g grunt-cli)

 

 

By editor , 5 January, 2016

Apache Virtual host configuration

Tags

  • Server
  • Linux
  • Windows

Host file (Like Local DNS)
Unix /Linux : /etc/hosts
Windows : C:\WINDOWS\system32\drivers\etc\hosts
 

Example :

By editor , 12 December, 2015

Zip Unzip / Compress Uncompress Archive files on linux

Tags

  • Linux
  • Shell

Zip and Unzip Files on Linux (With zip and unzip)

Ziping files/directories
zip file *
zip -r file *

Unziping files/directories
unzip  file.zip

extract a file
unzip file.zip  file.doc

By editor , 7 December, 2015

On Linux Mint (Ubuntu/Debian) apt-get install error (404)

Tags

  • Linux

Probleme 1: No internet connection

Probleme 2 : Bad repository
sudo rm -r /var/lib/apt/lists
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update

By editor , 7 December, 2015

Disable PhpMyadmin on Apache serveur

Tags

  • Server
  • Linux
  • Shell

To disable phpmyadmin module, run followin command ad root or sudo:

sudo a2disconf phpmyadmin
sudo service apache2 reload

OR

a2disconf phpmyadmin
service apache2 reload

By editor , 27 November, 2015

Get composer instalation path

Tags

  • Composer
  • Shell
By editor , 18 November, 2015

SSH Renew / Remove remote host identification.

Tags

  • Server
  • Shell

The solution is:
ssh-keygen -R <host>

Example:
ssh-keygen -R 127.0.0.1
ssh-keygen -R domainname.com

By editor , 16 November, 2015

Helpful git commands

Tags

  • Git
  • Code

#Download / Get git repository
git clone http://url-of-your-git/project.git

#Show remore url
git remote -v

Pagination

  • First page
  • Previous page
  • …
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Next page
  • Last page

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer