Page 308 of 211,266, showing 20 records out of 4,225,308 total, starting on record 6,141, ending on 6,160
# | Username | Text | |
---|---|---|---|
# | Aug 8th 2008, 18:24 | il_padrino | ? auth |
# | Aug 8th 2008, 18:29 | il_padrino | S |
# | Aug 8th 2008, 18:31 | jadjei | I think the AuthComponent sets Session params, so you can check these to see if a user is logged in. |
# | Aug 8th 2008, 18:31 | achew22 | no space |
# | Aug 8th 2008, 18:33 | achew22 | in a view use $this->Session->check('Auth.User') and that should tell you if the user is logged in |
# | Aug 8th 2008, 18:33 | il_padrino | ;9 |
# | Aug 8th 2008, 18:33 | il_padrino | ;) |
# | Aug 8th 2008, 18:49 | sktforfun | Hi, to load a javascript I must use $javascript->link('jquery') right? |
# | Aug 8th 2008, 18:49 | sktforfun | I'm getting this error message: Fatal error: Call to a member function link() |
# | Aug 8th 2008, 18:55 | CrazyTux[m] | Inside of layout, whats the method to grab the current controller your inside of. |
# | Aug 8th 2008, 19:07 | Azhi_Dahaka_ | ok, i'm doing a search action on a controller |
# | Aug 8th 2008, 19:08 | Azhi_Dahaka_ | messages of empty term or no results should be handled on the controller or the view? |
# | Aug 8th 2008, 19:16 | TommyO | Azhi_Dahaka_: I like empty in the view. <?php if (empty($results)): ?>... <?php else foreach($results as $result): ?>... |
# | Aug 8th 2008, 19:16 | TommyO | empty term however is a validation issue imho |
# | Aug 8th 2008, 19:17 | Azhi_Dahaka_ | thing is: i'm not exactly looking for stuff on just one field |
# | Aug 8th 2008, 19:17 | Azhi_Dahaka_ | so, i don't want to do a like "%%" |
# | Aug 8th 2008, 19:17 | Azhi_Dahaka_ | because, that's ALL |
# | Aug 8th 2008, 19:27 | Azhi_Dahaka_ | hmm, how can i add validation to a form not tied to a model? |
# | Aug 8th 2008, 19:32 | TommyO | Azhi_Dahaka_: tie it to a Model then, even if the Model isn't tied to a database |
# | Aug 8th 2008, 19:33 | Azhi_Dahaka_ | hmm... it's a search term for some fields in an existing model... |