Yearly archives: 2009

 

 

 

 

196

Uncaught SoapFault exception / Invalid parameters Error

I am using nusoap library to connect to Kintera API.  It worked fine on my other sites, but this one was giving me the following error message: Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='soapclient.soapclient'>soapclient.soapclient</a>]: Invalid parameters in /test.php:147 Stack trace: #0 /test.php(147): SoapClient->SoapClient(‘KinteraConnect….’, true) #1 {main} thrown in /test.php on line 147 Line [...]

 

 

143

Modifying Drupal download_count module to show files per user

Task: allow file downloads for only registered users in Drupal for admins, show download count for each file show which user downloaded which files The download_count module is great for #1 and #2. However, it doesn’t save any information about users. Here’s some modifications I’ve added to it to accomplish #3. In the download_count.module file, [...]

 

182

Text resizing with JavaScript

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <HTML> <HEAD> <script> function init() { if($(‘container’)) textSize.init(); } var textSize = { small: ’80%’, medium: ’100%’, large: ’120%’, init: function() { var small_text = $(‘small_text’); var medium_text = $(‘medium_text’); var large_text = $(‘large_text’); var container = $(‘container’); var textSizeCookie = readCookie(‘textSize’); var textSizeCookieName = readCookie(‘textSizeName’); if(textSizeCookie && [...]

 

 

 

175

Javascript goodies

Text auto-complete: http://devthought.com/textboxlist-meets-autocompletion/ Links from Smashing Mag: http://www.smashingmagazine.com/2008/09/11/75-really-useful-javascript-techniques/ http://www.smashingmagazine.com/2009/02/08/50-extremely-useful-javascript-tools/ http://www.smashingmagazine.com/2008/04/15/60-more-ajax-and-javascript-solutions-for-professional-coding/ http://www.smashingmagazine.com/2008/09/16/jquery-examples-and-best-practices/

 

191

IE7: page contains both secure and nonsecure items

 This message shows up on secure pages and sometimes it’s really hard to find what’s causing it. Since your page is secure, all the external files, including CSS files, Javascript include files and images need to be linked from secure https pages in order for IE7 to load your page without errors. The Fiddler tool [...]