Skip to main content

User account menu

  • About Us
  • Log in
Log in
Mycode.blog website logo
category-icon
HTML - CSS

Must Read

  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • How to write jQuery code for developing toggle search bar
  • Maximising Your Website's Performance, Avoid These HTML Pitfalls
  • How to create a progress bar using JavaScript
  • CSS Guidelines for Becoming a Top-Notch UI Developer

Recent Blogs

  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • Achieving Advanced DOM Manipulation with jQuery Chaining Methods
  • Customized Landing page for your browser using JavaScript
  • A Basic Calculator App as an Extension to Google Chrome Browser
  • How to write jQuery code for developing toggle search bar

Recent Snippets

  • How to strip HTML tags in JavaScript
  • Develop word counter application with the help of JavaScript
  • Disabling right-click to avoid content copying in one line
  • Remove whitespace between HTML tags in drupal 8/9 twig templates
  • Copy to clipboard functionality using JavaScript in one line
JS - jQuery

Must Read

  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • The predefined Rules for Writing & Using JavaScript Functions
  • How to write jQuery code for developing toggle search bar
  • How to create a progress bar using JavaScript
  • How to create a progress bar using JavaScript

Recent Blogs

  • How to use local storage in javaScript
  • How to Install react app with their node packages on Ubuntu 22
  • Develop Debugging Skills with Chrome Dev Tools and Debug Keyword
  • Fetch using for Get method in JavaScript
  • How to use local storage in javaScript

Recent Snippets

  • How to strip HTML tags in JavaScript
  • Converting string to int in javascript
  • Generating random numbers in javascript
  • How to write single & multi line comments in web technologies
  • How to strip HTML tags in JavaScript
Drupal

Must Read

  • How to Create Entities (node, user, term) programmatically in Drupal 8/9
  • List of form element types in Drupal 8/9
  • Command-line tools & useful commands for Drupal developers
  • How to install Linux, Nginx, MySql, Php(LEMP) stack in Ubuntu
  • A Beginner's Guide to Custom Theme Development in Drupal 8/9

Recent Blogs

  • Create a custom entity in Drupal 8/9 using drupal-console
  • All the possible ways to install a module in Drupal 8/9
  • Delete All Entities (node, user, term) by specific conditions in Drupal 8/9
  • How to Create Entities (node, user, term) programmatically in Drupal 8/9
  • How to unpublish nodes using cron in drupal 8/9

Recent Snippets

  • Drupal 8/9 programmatically create a user entity
  • Drupal 8/9 programmatically create a link that opens in new tab
  • Get current active user roles, uid in drupal 8 and drupal 9
  • Attach an asset library to a specific page in drupal 8/9
  • Drupal 8/9 attach an asset library in a Twig template

Main navigation

  • Blogs
  • Snippets

Mobile menu

  • About us
  • Blog
  • Code Snippet

Feed

    • All
    • Blog
    • Code Snippet
  • menu icon
    • Recent
    • Popular
Code snippet bookmark-iconAdd to read list

How to reset the user password programmatically in Drupal 8 and Drupal 9

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions Sep 10
Code snippet bookmark-iconAdd to read list

How to render core login form in twig template in Drupal 8 and Drupal 9

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Sep 08
Code snippet bookmark-iconAdd to read list

Remove and Add the lazy loading attribute from the img tag programmatically in drupal 8/9

  • PHP
naveen-golla
naveen-golla, Credit to volkotech-solutions Sep 08
Code snippet bookmark-iconAdd to read list

Drupal 8/9 get user image field programmatically in twig

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • Twig
navya
navya, Credit to volkotech-solutions Sep 02
Code snippet bookmark-iconAdd to read list

Drupal 8/9 add site domain name as a class for body tag

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • HTML
navya
navya, Credit to volkotech-solutions Aug 23
Code snippet bookmark-iconAdd to read list

How to add website domain name as a class for body using JS

  • JavaScript
  • Jquery
navya
navya, Credit to volkotech-solutions Aug 22
Code snippet bookmark-iconAdd to read list

How to render an image field in a template with a custom image style in Drupal 8/9

  • Drupal
  • Drupal 9
  • Drupal 8
  • PHP
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Aug 21
Code snippet bookmark-iconAdd to read list

Drupal 8/9 print view block/page title programmatically twig

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • Twig
navya
navya, Credit to volkotech-solutions Jul 19
Code snippet bookmark-iconAdd to read list

How to remove extra characters between Drupal generated HTML

  • Drupal
  • Drupal 8
  • Drupal 9
  • HTML
  • CSS
navya
navya, Credit to volkotech-solutions Jul 18
Code snippet bookmark-iconAdd to read list

Drupal 8/9 How to add HTML markup on the link field form or controller

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • HTML
lakshmi
lakshmi, Credit to volkotech-solutions Jun 19
Code snippet bookmark-iconAdd to read list

Drupal 8/9 verify a field is not empty in the twig template

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Jun 18
Code snippet bookmark-iconAdd to read list

Drupal 8/9 add custom library to the content type node edit form

  • PHP
  • Drupal
  • Drupal 8
  • Drupal 9
navya
navya, Credit to volkotech-solutions Jun 15
Code snippet bookmark-iconAdd to read list

How to add the target attribute to form in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions May 20
Code snippet bookmark-iconAdd to read list

How to remove default inline styles with the help of jQuery

  • JavaScript
  • Jquery
navya
navya, Credit to volkotech-solutions May 19
Code snippet bookmark-iconAdd to read list

How to disable caching on a route with controller in drupal 8 and drupal 9

  • Drupal
  • Drupal 8
  • Drupal 9
krishna kanth
krishna kanth, Credit to volkotech-solutions May 09
Code snippet bookmark-iconAdd to read list

How to manipulate the libraries in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • YML
lakshmi
lakshmi, Credit to volkotech-solutions May 09
Code snippet bookmark-iconAdd to read list

How to get current language in the page.html.twig in Drupal 8/9

  • PHP
  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions May 06
Code snippet bookmark-iconAdd to read list

How to remove all unused modules using Drush in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
lakshmi
lakshmi, Credit to volkotech-solutions May 05
Code snippet bookmark-iconAdd to read list

Drupal 8/9 Add or Remove the number of fields dynamically using Ajax Form API

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions Mar 25
Code snippet bookmark-iconAdd to read list

How to change the front page title programmatically in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions Mar 23
Code snippet bookmark-iconAdd to read list

Drupal 8/9 to get a text from a URL in the Twig Template

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Mar 20
Code snippet bookmark-iconAdd to read list

How to render taxonomy term field value in node.html.twig in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Mar 19
Code snippet bookmark-iconAdd to read list

How to fix the max execution time error in Drupal 8/9?

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
lakshmi
lakshmi, Credit to volkotech-solutions Mar 18
Code snippet bookmark-iconAdd to read list

Drupal 8/9 render term fields on Taxonomy twig templates

  • Drupal
  • Drupal 8
  • Drupal 9
  • Twig
lakshmi
lakshmi, Credit to volkotech-solutions Mar 16
Code snippet bookmark-iconAdd to read list

Drupal 8/9 get view block programmatically with contextual filters

  • Drupal 8
  • Drupal 9
  • PHP
  • Twig
navya
navya, Credit to volkotech-solutions Mar 15
  • Load More

Topics

Drupal 8
Drupal 9
Drupal
PHP
HTML
CSS
Twig
JavaScript
Jquery
Cheatsheets
YML
Terminal
Ubuntu
Mysql
JS
Drupal 10
GRID
flexbox
JSON
NPM
Node
NodeJs
Linux
SASS
Command
ElectronJs
ReactJs
Ajax
Symfony
Bootstrap
NGINX
Chrome Extension
Debug
UX
Drush
GIT
Drupal 7
Windows

Top contributors

  • navya
    • navya
    • 139 Feed
  • lakshmi
    • lakshmi
    • 116 Feed
  • naveen-golla
    • naveen-golla
    • 26 Feed
  • manoj
    • manoj
    • 23 Feed
  • krishna kanth
    • krishna kanth
    • 6 Feed

mycode-blog logo

Developers blogging community to share tech blogs and code snippets.

Company

  • About us
  • Careers
  • Contact us
social:
  • twitter icon
  • facebook icon
  • linkedin icon
  • email icon
up-arrow

Terms and Services

  • Terms & conditions
  • Privacy policy

Copyright © 2021

Site map

  • Site map