๐Ÿ‡น๐Ÿ‡ณTunisia @Ridha Rahmi

Tunisia
Account created on 23 June 2017, about 7 years ago
  • Dรฉveloppeur Drupal at emeryaย 
#

Recent comments

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

change password with drush 

drush upwd username new_password

example: 

drush upwd admin admin123

or login with drush:

drush uli
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia
@media (max-width: 767px){
 // code css
}
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

Ridha Rahmi โ†’ created an issue.

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

add core/drupal

dependencies:
    - core/jquery
    - core/drupal
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

hello,

change color and save config form

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

install this version โ†’

https://www.drupal.org/project/domain_group/releases/2.0.1 โ†’

composer require 'drupal/domain_group:^2.0'
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

change your version php to  PHP 8.1

and install drupal 10 with composer

composer create-project drupal/recommended-project my_project
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

change your version php to  PHP 8.1

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

install this module  registration_role โ†’  and config default register role

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

Run this cmd

vendor\bin\drush

example:

vendor\bin\drush cr

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia
{{ content.attributes.addClass(your_class) }} 
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia
<form{{ attributes }}>

{{ title_prefix }}
{{ element.elements.name }}
{{ element.elements.email }}
{{ element.elements.message }}
{{ element.form_token }}
{{ element.form_build_id }}
{{ element.form_id }}
{{ element.actions }}
{{ title_suffix }}

</form>
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

if node twig

{% if node.field_name is not empty %}
// your code here
{% endif %}

if paragraph twig

{% if paragraph.field_name is not empty %}
 // your code here
{% endif %}
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

Add this line on mymodule.info.yml  or   mytheme.info.yml  in your module or theme

core_version_requirement: ^8 || ^9 || ^10
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

install composer on your system.

And read this document  Using Composer to Install Drupal and Manage Dependencies โ†’

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

add this code in twig

{{ drupal_entity('block', 'block_id', check_access=false) }}

OR

{{ drupal_block('plugin_id', wrapper=false) }}

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

change this code in fluffiness.info.yml

# fluffiness.info.yml

libraries:
  - fluffy/cuddly-slider

OR  change code in fluffiness.libraries.yml

# fluffiness.libraries.yml
global-styling:
 version: 1.x
  css:
    theme:
      css/cuddly-slider.css: {}
  js:
    js/cuddly-slider.js: {}
๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

Run composer installdrush updt and clear cache drush cr

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

Install drush 11

composer require drush/drush:11.*

๐Ÿ‡น๐Ÿ‡ณTunisia Ridha Rahmi Tunisia

Run Update Database

drush updt

Production build 0.69.0 2024