Page 181 of 211,259, showing 20 records out of 4,225,166 total, starting on record 3,601, ending on 3,620
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 15:19 | cudell | i had eaccelarator (a php cache) on but turned that off |
# | Aug 7th 2008, 15:19 | cudell | still no dice |
# | 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: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:22 | Wisp | hmm |
# | Aug 7th 2008, 15:22 | Wisp | i wanna global variable |
# | Aug 7th 2008, 15:22 | mitnavn | ) |
# | Aug 7th 2008, 15:22 | _psychic_ | Wisp: define one in app/config/bootstrap.php |
# | Aug 7th 2008, 15:22 | Wisp | like $this->pageTitle or something |
# | Aug 7th 2008, 15:22 | _psychic_ | ? |
# | 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_ | define it in AppController then. |
# | Aug 7th 2008, 15:22 | teknoid | Wisp: that's not a global variable |
# | Aug 7th 2008, 15:27 | ADmad | Wisp: http://api.cakephp.org/class_view.html#3826c0ef9ee1fdc08bc2f4ea1f6a2071 |
# | 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:33 | ADmad | seghezzi: add the models you need to the $uses array |
# | Aug 7th 2008, 15:33 | seghezzi | var $uses = array('Recipe', 'User'); <----- roger |
# | Aug 7th 2008, 15:34 | teknoid | seghezzi: you sure your models are not related? |
# | 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:35 | ADmad | seghezzi: both |