You could create a custom rule and put the content into a container.  In the
execute function of the rule you could query your table and loop over it and
display whatever you wanted.  

http://jake.cfwebtools.com/index.cfm/2007/1/12/Farcry-Custom-Rule-HOWTO 
http://jake.cfwebtools.com/index.cfm/2007/4/24/Farcry-Execute-Function-for-C
ustom-Rule 


Here is an example:
http://hopecenterforkids.org/index.cfm?objectid=D7A2B8DE-9027-F64A-79A534D63
CC484DF 

The staff member listings that you see (main content area and sidebar) are
custom rules.  You can see that I did a group by type and in between each
item I put a dotted line.  I could have also alternated row colors in the
same manner.

_____ 

Jake Churchill 
Team Leader
11204 Davenport, Ste. 100
Omaha, NE  68154 
http://www.cfwebtools.com 
402-408-3733 x103 


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of tilespace
Sent: Tuesday, November 20, 2007 12:17 PM
To: farcry-dev
Subject: [farcry-dev] Alternate Row Colors


Hello... Me again :)
Has anyone been able to do alternate row colors for custom types using
teaser pages?

>From what I can tell, the rule calls the teaser page for every item in
the DB so it's just getting one row at a time. I'm not going to be
able to determine what that row color should be since they're not
called at once, correct? Is there some way, or some hidden FC feature
that I don't know about, to do this?

Does that make sense what I'm trying to do?


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007
7:05 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.1/1140 - Release Date: 11/19/2007
7:05 PM
 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to