release) and it is enough to worry about forgetting even though it is
only two lines. Pulling the core with Git has helped tremendously,
though. All fast-forwards so far.
If you need to make a "hack" in the core you will save yourself a lot
of trouble if you use Git.
/Martin
On Mar 30, 6:11 pm, brian <bally.z...@gmail.com> wrote:
> On Mon, Mar 30, 2009 at 8:17 AM, Martin Westin
>
>
>
> <martin.westin...@gmail.com> wrote:
>
> > That sounds like a lot of work just to avoid using html. If you are
> > concerned about CakePHP coding standards (do they exist?) you should
> > definitely not be thinking about hacking the core files. Creating
> > "manual" form elements must be way better than editing files in the
> > core.
>
> > Even using different names for each group of boxes and merging them in
> > the controller or model must be better than modifying the core.
>
> > I am still not clear about why you need to call the select multiple
> > times. The only situation that would require you to call it twice is
> > some layout issue you need to adress. Like:
>
> > div
> > checkbox
> > checkbox
> > /div
> > div
> > checkbox
> > checkbox
> > /div
> > ...
>
> > That is the only situation I can think of that can't be handled by a
> > single select. It would be interesting to hear about it.
>
> Yes, that seems to be the problem keyur is addressing--how to split up
> the group of checkboxes across the page. My first thought was that
> this might be better dealt with through a change in model/association
> but I think I understand the problem better now.
>
> Creating a helper would, of course, be much better than hacking the
> core, but your idea of creating separate checkbox groups and merging
> the results in the controller seems reasonable, also.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment