Wednesday, December 9, 2015
Drupal 7 #prefix, #suffix, #postfix
For Drupal 7, it turns out that #postfix is at the end of the entire form/page and #suffix is just the end of the item you are working with. #prefix is before the item you are working with.
Sunday, October 18, 2015
Javascript promises and jQuery validation
When using Javascript promises to do some AJAX that is needed for form validation, I have found it useful to return false to the validation function and allow the code in the promises to do the actual submission/rejection.
Saturday, September 26, 2015
Installing LAMP on ubuntu 14.04
There are many lengthy tutorials on how to do this, but I have found that the easiest way to do this is a one liner:
sudo apt-get install lamp-server^
sudo apt-get install lamp-server^
Subscribe to:
Posts (Atom)