# |
Oct 22nd 2009, 08:32 |
Horror |
hello guys, is it possible to gave pagination 2 models? |
# |
Oct 22nd 2009, 08:31 |
liaogz82 |
i dun want to just put it in default layout cos i have a number of layouts |
# |
Oct 22nd 2009, 08:31 |
liaogz82 |
well... i want to have an advert side bar for my website |
# |
Oct 22nd 2009, 08:31 |
liaogz82 |
hi ADmad |
# |
Oct 22nd 2009, 08:26 |
odegard |
Phally, sorry, that sounded VERY cryptic hehe |
# |
Oct 22nd 2009, 08:26 |
odegard |
Phally, yes, it's a hash problem. add doesn't hash on insert. All views are scaffolded, how can I make add in usersController hash password on reg? |
# |
Oct 22nd 2009, 08:25 |
PhpNut |
oh ok |
# |
Oct 22nd 2009, 08:25 |
ajushi |
thanks! |
# |
Oct 22nd 2009, 08:25 |
ajushi |
Phally: ok man, it's awesome :D |
# |
Oct 22nd 2009, 08:24 |
Ceeram |
oh yeah markstory explained that mb_strrpos would be defined by cake, didnt know that |
# |
Oct 22nd 2009, 08:24 |
PhpNut |
Ceeram "Don't understand why PHP functions are tested even" |
# |
Oct 22nd 2009, 08:24 |
Phally |
ajushi: it works a bit different then a normal find so pay attention ;) |
# |
Oct 22nd 2009, 08:24 |
PhpNut |
Ceeram I meant the rest of your ticket question |
# |
Oct 22nd 2009, 08:24 |
ajushi |
find('neighbors') is cool! :D |
# |
Oct 22nd 2009, 08:24 |
PhpNut |
Ceeram you will notice that a few test will not pass and I commented them out |
# |
Oct 22nd 2009, 08:24 |
Ceeram |
it just doesnt take the offset |
# |
Oct 22nd 2009, 08:24 |
Ceeram |
it is compiled |
# |
Oct 22nd 2009, 08:23 |
PhpNut |
patch is fine, the php functions are testing that multibyte works properly if not compiled Ceeram |
# |
Oct 22nd 2009, 08:23 |
Phally |
odegard: well look at the query and check if it matches what is in your database.. if not, and you are sure you typed the same, then they are hashed differently |
# |
Oct 22nd 2009, 08:23 |
ajushi |
Phally: ok i'll check it out, but can't i use the paginator helper or it's not applicable on my situation? |
# |
Oct 22nd 2009, 08:22 |
Lemon_BE |
or have an IDE that can intreped cakephp's structure |
# |
Oct 22nd 2009, 08:22 |
odegard |
Phally, are you thinking it might be a hashing error? Can you teach me how to debug? |
# |
Oct 22nd 2009, 08:22 |
Phally |
ajushi: use find neighbors? |
# |
Oct 22nd 2009, 08:22 |
ADmad |
Lemon_BE: php should have "Did you mean:" like google :) |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
ok |
# |
Oct 22nd 2009, 08:21 |
PhpNut |
Ceeram ok I see what you are saying now |
# |
Oct 22nd 2009, 08:21 |
odegard |
login.ctp? it's via form helper |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
it takes the offset as encoding param |
# |
Oct 22nd 2009, 08:21 |
ajushi |
hi, how do i set pagination on a single view page? i mean when viewing a single entry i want to see previous and next at the bottom |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
5 fails and 5 php errors |
# |
Oct 22nd 2009, 08:21 |
Phally |
odegard: how did you insert your password? |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
PhpNut: http://bin.cakephp.org/view/2124391032 |
# |
Oct 22nd 2009, 08:20 |
odegard |
I get a "Login failed. Invalid username or password" no matter what I do. I've reduced the code to the minimum described in the cookbook. Any tips? |
# |
Oct 22nd 2009, 08:20 |
Ceeram |
~bin |
# |
Oct 22nd 2009, 08:19 |
Ceeram |
they fail, and give error |
# |
Oct 22nd 2009, 08:19 |
Lemon_BE |
stupid spelling mistakes |
# |
Oct 22nd 2009, 08:19 |
Ceeram |
offset was used in 5 tests of the testcase |
# |
Oct 22nd 2009, 08:19 |
Lemon_BE |
$this->CalibationProfile->contain(array('MeasuringDevice')); |
# |
Oct 22nd 2009, 08:19 |
Lemon_BE |
i hate these bugs: |
# |
Oct 22nd 2009, 08:18 |
Ceeram |
php.net: 5.2.0 Added the optional parameter offset . |
# |
Oct 22nd 2009, 08:17 |
Ceeram |
run them on 5.1.2 |