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

  • How to implement search functionality for table data with jQuery
  • Best practice for choosing and styling fonts, Tips & Tricks
  • Maximising Your Website's Performance, Avoid These HTML Pitfalls
  • How to Use CSS Positioning to Create Dynamic Web Layouts
  • How to create a smooth popup with pure CSS

Recent Snippets

  • jQuery toggle class method with active color for menu's
  • How to write media queries using jQuery for embedded iframe data
  • Drupal 8/9 How to add custom HTML(markup) field in the form
  • CSS nth-child selector for the series occurrence of an element
  • How to close drop-down on external click of it's container
JS - jQuery

Must Read

  • How to create a progress bar using JavaScript
  • 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

Recent Blogs

  • Build cross platform applications using Electron JS with example
  • Drupal 8/9 Ajax with jQuery on Views Infinite Scroll
  • Drupal 8/9 Ajax with jQuery on Views Infinite Scroll
  • How to Install react app with their node packages on Ubuntu 22
  • How to create a progress bar using JavaScript

Recent Snippets

  • Generating random numbers in javascript
  • Auto form submission when checkbox is selected using jQuery
  • How to disable back scroll when the popup is active with jQuery
  • How to filter an array and objects using JavaScript
  • Submit form only if the search box is not empty using jQuery
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

  • Drupal 8/9 Ajax with jQuery on Views Infinite Scroll
  • Drupal 8 and its features
  • Features of Drupal 9
  • Unleashing Full Potential of Drupal 10, A Feature Overview
  • How to customize Template suggestions for Drupal 8 entities

Recent Snippets

  • Drupal 8/9 Add or Remove the number of fields dynamically using Ajax Form API
  • How to change the front page title programmatically in Drupal 8/9
  • How to render taxonomy term field value in node.html.twig in Drupal 8/9
  • Drupal 8/9 to get a text from a URL in the Twig Template
  • How to fix the max execution time error in Drupal 8/9?

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

Drupal 8,9 get Image field as a background image in Twig

  • HTML
  • CSS
  • Drupal
  • PHP
  • Twig
  • Drupal 8
  • Drupal 9
navya
navya, Credit to volkotech-solutions Apr 07
Code snippet bookmark-iconAdd to read list

Generalised syntax to write clean & reusable mixins in sass

  • SASS
  • CSS
navya
navya, Credit to volkotech-solutions Feb 21
Code snippet bookmark-iconAdd to read list

Multi-Selection in Select Box using jQuery, No Ctrl+Click

  • Jquery
  • JavaScript
  • HTML
  • CSS
navya
navya, Credit to volkotech-solutions Jan 02
Code snippet bookmark-iconAdd to read list

Drupal 8+ How to rename existing route path using route_event_subscriber

  • Drupal 8
krishna kanth
krishna kanth, Credit to volkotech-solutions Dec 21
Code snippet bookmark-iconAdd to read list

How to remove config form variables when the user uninstalls the module in Drupal 8/9

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

How to install curl in Ubuntu via the command line

  • PHP
  • Drupal
navya
navya, Credit to volkotech-solutions Nov 28
Code snippet bookmark-iconAdd to read list

Drupal 8/9 gets commentator details in the comment template

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

How to get a list of node ids or group ids with language code

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

How to embed PHP inside HTML

  • PHP
  • HTML
lakshmi
lakshmi, Credit to volkotech-solutions Nov 07
Code snippet bookmark-iconAdd to read list

How to login programmatically with a user id in Drupal 8 and Drupal 9

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

How to display specific types of messages ( Error, Status, Warning) in Drupal 8 and Drupal 9

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

Drupal 8/9 Load Comment Blocks in Twig programmatically

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

How to get current user details ( id, name, email, display name, roles, access time) in Drupal 8/9

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

How to programmatically get a list of users by role in Drupal 8/9

  • Drupal
  • Drupal 8
  • Drupal 9
  • PHP
  • Mysql
lakshmi
lakshmi, Credit to volkotech-solutions Oct 13
Code snippet bookmark-iconAdd to read list

How to check if a user has a role in Drupal 8 and Drupal 9

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

How to verify whether the module is installed or not in Drupal 8/9

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

Drupal 8/9 how to render core registration form on the front page

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

How to set and update the Geolocation field programmatically Drupal 8/9

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

Drupal 8/9 how to add suggestions of page templates for content types

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

How to add a taxonomy term value as a class on the taxonomy term field in Drupal 8 and Drupal 9

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

Drupal 8/9 add term id as a class on each taxonomy term field

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

How to install drush globally in Ubuntu 22 via terminal

  • Drush
  • Drupal
  • Drupal 8
  • Drupal 9
navya
navya, Credit to volkotech-solutions Sep 19
Code snippet bookmark-iconAdd to read list

How to add suggestions of block templates for block type in Drupal 8 and Drupal 9

  • Drupal
  • Drupal 8
  • Drupal 9
lakshmi
lakshmi, Credit to volkotech-solutions Sep 15
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
  • Load More

Topics

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

Top contributors

  • navya
    • navya
    • 136 Feed
  • lakshmi
    • lakshmi
    • 113 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