shepherdweb.com

Archive for the 'web development' Category

SXSW 2008

Monday, March 10th, 2008

I’m not there. But, one of my best friends—and my business partner Scott Faris is! If you see this guy walking around, go introduce yourself.

Then say nice things about me to each other and while buying each other lunch.
By the way, Scott and I recently finished FarisWheel 2.0. [...]

Select Element Z-index Ignored by IE 6 - Workaround

Wednesday, February 14th, 2007

IE 6 will continue to be a problem for web developers for a while longer. Statistics for this site show that even though IE 7 has been out for several months, 30% of my visitors still use IE6. IE 7 is climbing fast (currently at 22%), but still has a ways to go [...]

How to Point CompareValidator’s ControlToCompare Attribute at a HiddenField

Tuesday, January 30th, 2007

If you point the ControlToCompare attribute of the CompareValidator at a HiddenField you’ll get an error that looks something like this:
Control ‘hiddenBalance’ referenced by the ControlToCompare property of ‘CompareValidator1′ cannot be validated.

With a small amount of “googling” I found two useful articles:

Validating against the value in a hidden input
MS KB Article 310082

Between these two article [...]

Using the CakePHP selectTag HtmlHelper

Sunday, January 7th, 2007

The use of the selectTag HtmlHelper seems to be confusing to a lot of people (judging from the popularity of questions about it in the CakePHP Google Group). Hopefully I can clear up a few things about it.
Parameters
selectTag ($fieldName, $optionElements, $selected=null, $selectAttr=array(), $optionAttr=null, $showEmpty=true, $return=false)
$fieldName will typically be the name of your model in [...]

Building and Implementing a Custom Atlas Extender with Visual Studio 2005

Thursday, August 24th, 2006

Pre-requisites:

Atlas Framework
Atlas Control Toolkit

Summary
The Atlas Control Toolkit site does a good job a walking through all the steps necessary to build a custom extender. You’ll want to refer to that site for more general detail. I’m going to show you my own custom implementation.
I needed a control that would sum all the TextBoxes [...]

Editing hasAndBelongsToMany (HABTM) Relationships in CakePHP

Monday, August 21st, 2006

I had a difficult time wrapping my head around how to do this. The manual is not much help. I did get a few clues from a couple of Wiki articles, but in the end I had to piece all this together with stuff I dug out of the CakePHP Google Group.
Let’s assume [...]

CakePHP Shopping Cart

Wednesday, July 26th, 2006

Looking for a standards compliant, open source, php shopping cart built on the popular MVC CakePHP framework? Checkout BakeSale.
Technorati Tags: CakePHP, BakeSale, ecommerce, shoppingcart

Bad Behavior has blocked 518 access attempts in the last 7 days.