By editor, 24 August, 2016 Get Entity, Node, Taxonomy from URL Path Tags Drupal 8 Drupal 7 Drupal 8 Drupal 7 Get the node $node = menu_get_object(); Get Path alias $alias = drupal_get_path_alias();
By editor, 22 August, 2016 Change Drupal 8 text field maximum length Tags Drupal 8 Code Drupal 7 Database If there no data, You can use field_update_field (tested on D7) Like:
By editor, 18 August, 2016 Drupal 8 clean URLs on Virtualmin Tags Drupal 8 Server Error Probleme 1. Showing /index.php/clean_url_path
By editor, 11 August, 2016 BEF : Views Exposed filter Options Tags Drupal 8 Drupal 7 Views Group exposed fields of a view exposed form. Install the module "Better Exposed Filters" (BEF).[drush en better_exposed_filters -y] Go to : THE_VIEW-> Advanced -> Exposed form Set : Exposed form style = Better Exposed Filters
By editor, 5 August, 2016 Views Complex Filters Tags Drupal 8 Drupal 7 Views Filter contents from two different content types with two different fields. Add two fields to the field list Add "Global: Combine fields filter" Add conditoin EX : contains 1
By editor, 1 August, 2016 WYSIWYG and CKEditor Advanced Configuration Tags Drupal 8 Drupal 7 Content Filtering Allow all : config.allowedContent = true; Allowing any class in the editor is config.extraAllowedContent = '*(*)';
By editor, 1 August, 2016 Disable 'Replace content' option on WYSIWYG Template Tags Drupal 8 Drupal 7 Edit the CKEditor profile, Add following line to the JavaScript Configuration on Advance options. config.templates_replaceContent = false;
By editor, 29 July, 2016 Preprocess a Field, Change Theming of a field Tags Drupal 8 Drupal 7 Theming Pre Process For thah you must use an additional process. 1. Create a custom module (Example : Here we use mymodule)
By editor, 25 July, 2016 Drupal MySQL Database Import and Export via Drush Tags Drupal 8 Drupal 7 Drush Database Export Drupal 8 MySQL Database via Drush drush cr drush sql-dump > /pathto/mysql-dump-drupal8.sql
By editor, 25 July, 2016 Organize the Features on Drupal Tags Drupal 8 Drupal 7 Features Settings to use with each type of features. This tutorial is an example for the following Features Structure: