Git – Fixing a botched commit / push to a bare repository
So, heya!! I know I am still taking time in between my posts. Long story short, let's jump to the topic of this blog post 😉 I had my last weekend working with my entire ClientLinq team. We needed to complete a delivery and it appeared everything was progressing as...
PowerShell – Assigning Global variable inside a function does not actually over-write the global one
Assigning a global variable inside a PowerShell function does not actually change the global variable. It rather creates a local variable with the same name.

Debugging redirects in Drupal 8/9
“Venerable” Drupal 7 had drupal_goto for redirecting providing a very convenient hook hook_drupal_goto_alter.
Drupal 8 / 9 – Handling raw file uploads bypassing the Form API (FAPI)
While working with Mart, we had a situation recently where we needed to add file () form fields dynamically in javascript client-side.
ExtJs Modern 6/7 – Making password fields revealable
There are a couple of ways one can create password fields in ExtJs 6/7: Use the textfield component with its inputType set to password:https://docs.sencha.com/extjs/6.7.0/modern/Ext.field.Text.html#cfg-inputTypeOr use a passwordfield...
Drupal 8/9 – deleting table rows via ajax
Deletion of Drupal table rows via an Ajax call was never too difficult. You just add a controller callback: organization.person.delete: path: '/person/{person_id}/delete' defaults: _title: 'Delete Person' _controller:...
Drupal 8/9 – adding row specific css class when preparing a table
This blog post kicks off a series of posts where I am gonna quickly and tersely write about small-small problems we faced working with various platforms and provide quick solutions to them. As for this blog-post, we recently had a scenario where we needed to add a...
Making SameSite cookies work in older versions of .Net
If you have landed on this blog post, good chances are you are having issues with cookies of your web application which are being blocked by recent browser versions. Our case was no different. We have an enterprise web application built on .Net which is deployed on a...
C# – Fixing unescaped special characters in XML element values
Anyone working with XML would know the following 5 characters are reserved in XML and need to be encoded/escaped anytime they occur as content in XML (which could either be as attribute or element values): < (which needs to be escaped as & lt; in content)>...
Drupal 8 / 9 – Adding theme suggestions for node id specific field template
For those working with Drupal 8 or 9 theming would know Drupal switched to Twig templates based rendering for various portions of the page. Drupal's theming engine generates file name suggestions for each portion of the page as you can see in screenshot below:...
Recent Comments