πŸ‡ΉπŸ‡³Tunisia @ridha rahmi

Tunisia
Account created on 23 June 2017, over 7 years ago
#

Merge Requests

Recent comments

πŸ‡ΉπŸ‡³Tunisia ridha rahmi Tunisia

ridha rahmi β†’ made their first commit to this issue’s fork.

πŸ‡ΉπŸ‡³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

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.71.5 2024