Log message #110096

# At Username Text
# 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:57 beatzombies do i need to supply additional paramaters to actually get the checking to work?
# Aug 7th 2008, 15:55 beatzombies I am using <?php echo $form->checkbox("ContributorsItem.contributed"); ?>
# Aug 7th 2008, 15:55 _psychic_ beatzombies: what are you using to generate the checkboxes?
# 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 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:38 seghezzi teknoid: that is correct, my models are not related.
# Aug 7th 2008, 15:38 pgcd_away is anybody using lightbox helper?
# Aug 7th 2008, 15:37 teknoid seghezzi: ... agian if your models are related you shouldn't have $uses array
# Aug 7th 2008, 15:36 seghezzi roger that
# 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:35 ADmad seghezzi: both
# Aug 7th 2008, 15:34 seghezzi if i have a recipeController, and i want to ad a User model, in the $uses array i must list both models, or i could just list the user model?
# Aug 7th 2008, 15:34 teknoid seghezzi: you sure your models are not related?
# Aug 7th 2008, 15:33 seghezzi var $uses = array('Recipe', 'User'); <----- roger
# Aug 7th 2008, 15:33 ADmad seghezzi: add the models you need to the $uses array
# Aug 7th 2008, 15:31 seghezzi hi, what is the correct way to tell a controller it uses a second model???
# Aug 7th 2008, 15:27 ADmad Wisp: http://api.cakephp.org/class_view.html#3826c0ef9ee1fdc08bc2f4ea1f6a2071
# Aug 7th 2008, 15:22 teknoid Wisp: that's not a global variable
# Aug 7th 2008, 15:22 _psychic_ define it in AppController then.
# Aug 7th 2008, 15:22 TommyO uughhh I'd rather my neighbor tried to learn to play the bagpipes than this freakin' 'house' crap
# Aug 7th 2008, 15:22 _psychic_ ?
# Aug 7th 2008, 15:22 Wisp like $this->pageTitle or something
# Aug 7th 2008, 15:22 _psychic_ Wisp: define one in app/config/bootstrap.php
# Aug 7th 2008, 15:22 mitnavn )
# Aug 7th 2008, 15:22 Wisp i wanna global variable
# Aug 7th 2008, 15:22 Wisp hmm
# Aug 7th 2008, 15:20 TommyO mitnavn: oh, got ya. it's in the layout. yeah, then a redirect to some 'safe' page would work too
# Aug 7th 2008, 15:20 mitnavn TommyO: But then if people actually go to /users/login it will (in my case) show two login boxes, one in my menu and another from the view.
# Aug 7th 2008, 15:19 cudell still no dice
# Aug 7th 2008, 15:19 cudell i had eaccelarator (a php cache) on but turned that off
# Aug 7th 2008, 15:18 TommyO mitnavn: I have a view that is simply <?php echo $this->element('login'); ?> even if it never gets called
# Aug 7th 2008, 15:18 cudell i have also edited core.php to disable the cache
# Aug 7th 2008, 15:18 cudell yeah, i checked into that, and only the models have things in the cache.
# Aug 7th 2008, 15:18 ammadsaleem my session values are getting override with images
# Aug 7th 2008, 15:18 teknoid cudell: your views might be cached on app/tmp/cache/
# Aug 7th 2008, 15:17 Wisp hmm
# Aug 7th 2008, 15:17 mitnavn TommyO: At the moment it's just blank, I am considering routing it back to my frontpage :/
# Aug 7th 2008, 15:17 TommyO or to a site they don't have perms on?
# Aug 7th 2008, 15:17 cudell i know the changes are being saved to the server when i reopen the files
# Aug 7th 2008, 15:17 ammadsaleem can any one help me