Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

Tell us your code select stories

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


rolfm at denison

Jul 7, 2008, 1:59 PM

Post #1 of 2 (157 views)
Permalink
Tell us your code select stories

Who out there has used code select and what are you using it for? How
do you like it? Share your stories!

-Matt


greg at node79

Jul 7, 2008, 2:38 PM

Post #2 of 2 (144 views)
Permalink
Re: Tell us your code select stories [In reply to]

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

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.