Drupal 7 taxonomy_get_tree() to generate menu form taxonomy
I have a created a custom module to create my own menu form taxonomy. Basically the function that allows it is mentioned below: function menu_custom_generate() { $terms = taxonomy_get_tree(5, 0, 2);...
View ArticleDrupal Commerce MIGS payment gateway
I came across the Commerce MIGS Merchant module but for some reason it did not work for me. Then I found about “Commerce MIGS Hosted” module which worked like a charm. Click here to go to source of the...
View ArticleDrupal clear css cache only
How can we update the css changes without clearing the cache. As clearing cache slows down the website until the cache is rebuild again. So to tackle that use the module advagg. Then go to...
View ArticleDrupal hook_user_login not redirecting
I tried using hook_user_login in my custom module it was not redirecting. use $_GET['destination'] and it works like a charm eg function mymodule_user_login(&$edit, $account)...
View Article