Page 182 of 211,271, showing 20 records out of 4,225,401 total, starting on record 3,621, ending on 3,640
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 15:35 | cudell | making changes to /views/layouts/default.ctp show up fine, but not in other views |
# | Aug 7th 2008, 15:36 | seghezzi | roger that |
# | Aug 7th 2008, 15:37 | teknoid | seghezzi: ... agian if your models are related you shouldn't have $uses array |
# | Aug 7th 2008, 15:38 | pgcd_away | is anybody using lightbox helper? |
# | Aug 7th 2008, 15:38 | seghezzi | teknoid: that is correct, my models are not related. |
# | Aug 7th 2008, 15:55 | beatzombies | hey, i'm back and still having some problem with checkboxes. here is the data I am retrieving using the controller: http://bin.cakephp.org/view/1445958937 |
# | Aug 7th 2008, 15:55 | beatzombies | i want some checkboxed to be checked based on the value of ContributorsItem.contributed |
# | Aug 7th 2008, 15:55 | _psychic_ | beatzombies: what are you using to generate the checkboxes? |
# | Aug 7th 2008, 15:55 | beatzombies | I am using <?php echo $form->checkbox("ContributorsItem.contributed"); ?> |
# | Aug 7th 2008, 15:57 | beatzombies | do i need to supply additional paramaters to actually get the checking to work? |
# | Aug 7th 2008, 15:58 | _psychic_ | wonder if it has to do with the nested nature of the data you're handing it |
# | Aug 7th 2008, 15:58 | pgcd_away | beatzombies: is ContributorsItem.contributed actually available in the form? |
# | Aug 7th 2008, 15:58 | mitnavn | TommyO: I can report that routing users/login is a bad idea :P I hadn't thought about it, but it makes the action for the login form non-functional. |
# | Aug 7th 2008, 16:00 | beatzombies | pgcd_away: executing echo("Checked: ".$item['ContributorsItem']['contributed']); outputs the correct value |
# | Aug 7th 2008, 16:00 | beatzombies | pgcd_away: does it need to be available in some other fashion/ |
# | Aug 7th 2008, 16:01 | pgcd_away | beatzombies: i haven't been using checkboxes so i'm not sure, but the only way i could have cake populate a list with the values I need was to have a variable hold the values, and pass the variable to the constructor |
# | Aug 7th 2008, 16:01 | beatzombies | pgcd_away: the constructor of what? |
# | Aug 7th 2008, 16:02 | pgcd_away | $html->checkbox |
# | Aug 7th 2008, 16:02 | pgcd_away | which is not a constructor, right =) |
# | Aug 7th 2008, 16:02 | beatzombies | pgcd_away: so i should have something like $form->checkbox($item['ContributorsItem']['contributed']); ? |