# |
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:08 |
Azhi_Dahaka_ |
messages of empty term or no results should be handled on the controller or the view? |
# |
Aug 8th 2008, 19:07 |
Azhi_Dahaka_ |
ok, i'm doing a search action on a controller |
# |
Aug 8th 2008, 18:55 |
CrazyTux[m] |
Inside of layout, whats the method to grab the current controller your inside of. |
# |
Aug 8th 2008, 18:49 |
sktforfun |
I'm getting this error message: Fatal error: Call to a member function link() |
# |
Aug 8th 2008, 18:49 |
sktforfun |
Hi, to load a javascript I must use $javascript->link('jquery') right? |
# |
Aug 8th 2008, 18:33 |
il_padrino |
;) |
# |
Aug 8th 2008, 18:33 |
il_padrino |
;9 |
# |
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:31 |
achew22 |
no space |
# |
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:29 |
il_padrino |
S |
# |
Aug 8th 2008, 18:24 |
il_padrino |
? auth |
# |
Aug 8th 2008, 18:24 |
il_padrino |
? bot |
# |
Aug 8th 2008, 18:21 |
il_padrino |
for example know if a user is loged? |
# |
Aug 8th 2008, 18:21 |
il_padrino |
is there one helper to handler AuthComponent? |
# |
Aug 8th 2008, 18:20 |
il_padrino |
D |
# |
Aug 8th 2008, 18:20 |
il_padrino |
i have a question with AuthComponent |
# |
Aug 8th 2008, 18:20 |
il_padrino |
hello |
# |
Aug 8th 2008, 18:03 |
jadjei |
I can't figure out how find('neighbor',...) works although it's deprecated.. just using findNeighbours still |
# |
Aug 8th 2008, 18:03 |
Symbi0nt |
is it included automaticly from there? |
# |
Aug 8th 2008, 18:03 |
Symbi0nt |
how to include jquery correct? do I have to put it in the /vendor/js directory? |
# |
Aug 8th 2008, 17:59 |
Howard`` |
Enjoy, thanks for the info |
# |
Aug 8th 2008, 17:59 |
kabturek |
hitting the bed, laters |
# |
Aug 8th 2008, 17:59 |
kabturek |
find('count') too ;) |
# |
Aug 8th 2008, 17:58 |
Howard`` |
i'll have to look those up |
# |
Aug 8th 2008, 17:58 |
Howard`` |
threaded and list eh? |
# |
Aug 8th 2008, 17:57 |
kabturek |
more cool ;) |
# |
Aug 8th 2008, 17:57 |
kabturek |
find('all'), find('threaded', find('list') |
# |
Aug 8th 2008, 17:57 |
Howard`` |
weird i missed that. |
# |
Aug 8th 2008, 17:57 |
kabturek |
yep |
# |
Aug 8th 2008, 17:53 |
Howard`` |
findAll is depreciated? |
# |
Aug 8th 2008, 17:49 |
kabturek |
http://www.assembla.com/wiki/show/searchable_behavior Zend_Search_Lucene |
# |
Aug 8th 2008, 17:48 |
kabturek |
everyobdy has these moments Azhi_Dahaka_ |
# |
Aug 8th 2008, 17:47 |
kabturek |
haha |
# |
Aug 8th 2008, 17:47 |
Azhi_Dahaka_ |
damn, i suck... |
# |
Aug 8th 2008, 17:47 |
kabturek |
is it returned by the method maybe ? ;) |
# |
Aug 8th 2008, 17:46 |
Azhi_Dahaka_ |
ok... after using find, how can i access the data? |
# |
Aug 8th 2008, 17:46 |
Howard`` |
ftp doesn't always upload things like it should |
# |
Aug 8th 2008, 17:45 |
kabturek |
hmmm |
# |
Aug 8th 2008, 17:45 |
Howard`` |
Fatal error: Class 'Security' not found in cake/libs/session.php on line 155 <-- hrm ok what's missing.. anyone know off the top of their heads by chance |