Skip to main content

Newsfeed

A list of useful Drupal modules

Image Thumb

Here is a quick list of modules that I find very useful. If you are a drupal developer, I encourage you to look into each of them and consider using them.

Keycloak: How to override the password reset emails

Image Thumb

In order to override the text of the password reset emails in Keycloak, you want to do the following.

Make your own copy of the default themes. These can currently be found at: https://github.com/Halazv2/keycloak-theme/tree/master/themes/base/email 

Then, make changes to the theme as appropriate. There are several themes: the login theme stores the styling of the login pages. But the email theme contains the wording of the emails. 

HTML class naming conventions, and id naming conventions

Image Thumb

In HTML, classes should be lower-case with dashes:

<div class="class-name-1 another-class-name"> </div>

There are exceptions:

<div class="BookChapter" ></div>

However, ids should be camelCase or PascalCase (capitalized first letter):

<div id="thisDiv"></div><div id="anotherArray"></div>