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 - Drupal

By editor , 12 January, 2016

Install Drupal 8 - Requirements

Tags

  • Drupal 8
  • Server

System requirements:

Database

  • MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with PDO and an InnoDB-compatible primary storage engine,
  • PostgreSQL 9.1.2 or higher with PDO,
  • SQLite 3.6.8 or higher

 

By editor , 11 January, 2016

Useful Drush commands

Tags

  • Drupal 8
  • Drupal 7
  • Drush
  • Shell

To handle drupal with drust, First of all, you must install drush, and execute drush command from your drupal instalation folder.

By editor , 11 January, 2016

Useful Drush commands

Tags

  • Drupal 8
  • Drupal 7
  • Drush
  • Shell

To handle drupal with drust, First of all, you must install drush, and execute drush command from your drupal instalation folder.

By editor , 6 January, 2016

Install drush on Widows

Tags

  • Drupal 8
  • Drupal 7
  • Windows

Install drush on Windows
(link : http://www.drush.org/en/master/install-alternative/)

By editor , 6 January, 2016

Install drush on Widows

Tags

  • Drupal 8
  • Drupal 7
  • Windows

Install drush on Windows
(link : http://www.drush.org/en/master/install-alternative/)

By editor , 24 December, 2015

Drupal 8 Global variables - Globals

Tags

  • Drupal 8
  • Code

 

 

By editor , 24 December, 2015

Build a From from another Form

Tags

  • Drupal 8
  • Code
  • Form

Example : (From user login block)

By editor , 23 December, 2015

Delete a source string and the target translations in Drupal 8

Tags

  • Drupal 8
  • Code
  • Translation

As you haven't a Delete button on interface translation page, you can't do that from the translation interface. But you can do in a small custom module.

Example : Delete string ID 346, 'Home'

      $lid = 346;

By editor , 23 December, 2015

Page Redirection on Drupal 8 / 9

Tags

  • Drupal 8
  • Code
  • Drupal 9

Example 1. Redirect to the front page:

    return new \Symfony\Component\HttpFoundation\RedirectResponse(\Drupal::url('<front>'));

Example 2. Redirect to a route path (user page):

By editor , 22 December, 2015

Create and Render link in drupal_set_message

Tags

  • Drupal 8
  • Code

Example : Password Reset Link.
      $link = \Drupal::l(t('Link'), \Drupal\Core\Url::fromRoute('user.pass'));
      drupal_set_message(t("Password Reset Link : @link!", ['@link!' => $link]));

 

Pagination

  • First page
  • Previous page
  • …
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • Page 24
  • …
  • 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