
greg at node79
Jul 7, 2008, 2:38 PM
Post #2 of 2
(144 views)
Permalink
|
I love code selects! The simplest thing I've used them for is building quick lists, like 5,10,15,20,...,100 or letters from A-Z. I think Bret has mentioned this before on the list, but Sportsnet's bricolage installation uses code selects extensively, mostly with the "story-aware code select" patch that went into 1.10.4. For example, a code select will detect the story's category (hockey, baseball, basketball, etc.) and then show a list of teams for that sport. This way, a single "team associator" code select element can be used, rather than having separate elements for each sport and relying on the web team to pick the right element to add. In a more complicated use, we also use a code select that displays a list of stories in the same category (using Story::list()) to allow stories to be inserted and shuffled around a "top stories" listing. Same deal goes with the code select knowing what category to look in. On 7-Jul-08, at 4:59 PM, Matt Rolf wrote: > Who out there has used code select and what are you using it for? > How do you like it? Share your stories! > > -Matt --- Greg Heo web/software systems developer greg[at]node79.com 416.826.7630
|