grouping list results

4 posts by 2 authors in: Forums > CMS Builder
Last Post: April 2, 2008   (RSS)

Re: [ChrisTitchenal] grouping list results

By Dave - April 2, 2008

Hi Chris,

Do you have a mockup page that shows what you want this to look like?

And how can we sort or filter the records so we get all th eastern teams and then all the western teams?

If all you wanted to do was insert a new row (or some new HTML after 4 record you could use this:

<?php if (@++$rowCounter == 4): ?>
<tr><td><b>East</b></tr></tr>
<?php endif; ?>


Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] grouping list results

By Chris_t - April 2, 2008

Hey Dave I knew there was some way to do that. To bad I did it the hard way [mad] I used a page view and called each one of them up by record num. Works, and looks the way I need it to so everything is fine.

Thanks again

Chris

Re: [ChrisTitchenal] grouping list results

By Dave - April 2, 2008

Sometimes when you have just a few records and you need to place them precisely a certain way that actually is the simplest way.

In any case, glad to hear it's working now! :)
Dave Edis - Senior Developer
interactivetools.com