Laravel homestead and vagrant-hostsupdater - Automate the hosts file updation in windows for your next homestead project!

Lets configure homestead.rb to update hosts file using hostsupdater plugin. in case if you have not yet added this plugin, run
vagrant plugin install vagrant-hostsupdater
from your command prompt.
Open homestead.rb file in your favorite text editor.
Find this block at the end, (You can set anywhere but i prefer to add my customizations at the end of the file.)

Read Article →

Drupal forgot password for admin - best method to reset with PHP file. (If you have FTP Access)

You have forgot your Drupal website's password! That's horrible. But dont worry, we have a better way to reset password if you have access to your files.

If you remember / have access to the admin email, its OK you can reset by going to forgot password page and by entering your email ID for admin account.

If not, you can try this method. I have combined snippets from around the web to make it work even if you have got blocked from login.


Read Article →

More Blog Posts →