bswebdev.com
PHP - Sort object by field name | Brainstorms of a Webdev
http://www.bswebdev.com/2012/12/php-snippet-of-the-day-sort-object-by-field-name
Brainstorms of a Webdev. PHP Snippet of the day – Sort Object by field name. PHP Snippet of the day – Sort Object by field name. Published on December 1, 2012. If you find you need to sort an returned object this snippet will save your life. Sort array of objects by field. * * @param array $objects Array of objects to sort. * @param string $on Name of field. * @param string $order (ASC DESC) */ function sort on field(&$objects, $on, $order = 'ASC') { $comparer = ($order = = 'DESC')? You must be logged in.
bswebdev.com
Drupal | Brainstorms of a Webdev
http://www.bswebdev.com/category/drupal
Brainstorms of a Webdev. Archive for category "Drupal". Drupal custom form with autocomplete drop down. Published on April 2, 2011. I had been putting off doing an custom autocomplete programmatically in drupal for a long time. I finally sat down and decided to work it out for a project i was doing. It was surprisingly very easy. My project consisted of pulling an autocomplete text field from a taxonomy list. The first step is to build [.]. Creating an Alpha Pager with Views 2 and Drupal 6. I’ve sp...
bswebdev.com
Creating an Alpha Pager with Views 2 and Drupal 6 | Brainstorms of a Webdev
http://www.bswebdev.com/2010/07/creating-an-alpha-pager-with-views-2-and-drupal-6
Brainstorms of a Webdev. Creating an Alpha Pager with Views 2 and Drupal 6. Creating an Alpha Pager with Views 2 and Drupal 6. Published on July 22, 2010. This is a reprint of an article I found here:. This is article that saved me tons of hours while I was chasing my tail trying to find an easy way to do this, reprinted so I can remember it later:. With Views 1, to build an alpha pager you would use the views alpha pager module. In conjunction with your view. But what about Views 2? Div class="alpha-pag...
bswebdev.com
Drupal custom form with autocomplete drop down | Brainstorms of a Webdev
http://www.bswebdev.com/2011/04/drupal-custom-form-with-autocomplete-drop-down
Brainstorms of a Webdev. Drupal custom form with autocomplete drop down. Drupal custom form with autocomplete drop down. Published on April 2, 2011. I had been putting off doing an custom autocomplete programmatically in drupal for a long time. I finally sat down and decided to work it out for a project i was doing. It was surprisingly very easy. My project consisted of pulling an autocomplete text field from a taxonomy list. Is to build your menu callbacks via hook menu api. This is where we attach the ...
bswebdev.com
Drupal node templates based on node id | Brainstorms of a Webdev
http://www.bswebdev.com/2010/06/drupal-node-templates-based-on-node-id
Brainstorms of a Webdev. Drupal node templates based on node id. Drupal node templates based on node id. Published on June 26, 2010. Code Snippet to allow you to override and specify node templates based on node id. Put the code in your template.php file. Drupal custom form with autocomplete drop down. Creating an Alpha Pager with Views 2 and Drupal 6. PHP day count and date comparison. Variable Variables and Template Lite. Laquo; Display dhtml menu over the to. Creating an Alpha Pager with V. Republishe...
bswebdev.com
Alpha Pager | Brainstorms of a Webdev
http://www.bswebdev.com/tag/alpha-pager
Brainstorms of a Webdev. Posts tagged "Alpha Pager". Creating an Alpha Pager with Views 2 and Drupal 6. Published on July 22, 2010. This is a reprint of an article I found here:. This is article that saved me tons of hours while I was chasing my tail trying to find an easy way to do this, reprinted so I can remember it later:. From reading all of the docs and quietly watching development commits, I knew Views 2 was [.]. Drupal goes to Rio. What’s new on Drupal.org? Republished from buytaert.net Yeste...
bswebdev.com
Template Lite | Brainstorms of a Webdev
http://www.bswebdev.com/category/template-lite
Brainstorms of a Webdev. Archive for category "Template Lite". Variable Variables and Template Lite. Published on May 1, 2008. There is one programing concept that always hurts my head, and that is the variable variables or dynamic variables. What dynamic let you do is access data from the value of the a variable you are viewing. (See I told you it would hurt your head). B =20; / set the [.]. Published on April 23, 2008. My whole point of this blog is [.]. Drupal goes to Rio. What’s new on Drupal.org?
bswebdev.com
Domain Names | Brainstorms of a Webdev
http://www.bswebdev.com/category/domain-names
Brainstorms of a Webdev. Archive for category "Domain Names". Experiments in Domain Parking. Published on May 8, 2008. I had just paid for several domains that I had planned to build websites on yet have not had time to do them. You know web entrepreneurs, they are always looking for that next great website. While I am not one that has taken up the reigns of the domain name rush, I was [.]. Drupal goes to Rio. What’s new on Drupal.org? City of Boston launches Boston.gov on Drupal. Republished from buytae...
bswebdev.com
Alpha Agument | Brainstorms of a Webdev
http://www.bswebdev.com/tag/alpha-agument
Brainstorms of a Webdev. Posts tagged "Alpha Agument". Creating an Alpha Pager with Views 2 and Drupal 6. Published on July 22, 2010. This is a reprint of an article I found here:. This is article that saved me tons of hours while I was chasing my tail trying to find an easy way to do this, reprinted so I can remember it later:. From reading all of the docs and quietly watching development commits, I knew Views 2 was [.]. Drupal goes to Rio. What’s new on Drupal.org? Republished from buytaert.net Yes...