On Apr 19, 10:54 pm, mdb <[email protected]> wrote:
> Hello
>
> Thanks for the reply.
>
> I think i didnt explain properly. The sample you show is for view page
> of each event.
>
> But my requirement is for the event display grid where you wont have a
> event id
>
> we get all events and display in a grid. In that grid we add one more
> column "no. of registrations",
> where we get the count of users registered.

If you used counterCache, your events table would have an extra
column, event_registration_count, that you can use in any view.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en

Reply via email to