Log message #1031420

# At Username Text
# Sep 11th 2009, 08:25 olamma ok thx for the info
# Sep 11th 2009, 08:25 markstory no
# Sep 11th 2009, 08:24 olamma hello, quick question is there a way to call a controller method from a model method?
# Sep 11th 2009, 08:23 MikeMnD and in the second paginator, the other model
# Sep 11th 2009, 08:22 MikeMnD well i've set 'model'=>'Profile' in the $paginator->numbers()
# Sep 11th 2009, 08:21 jrod your gonna have to have some way to tell it
# Sep 11th 2009, 08:21 jrod MikeMnD: it could but how does it know which one your paginating?
# Sep 11th 2009, 08:21 MikeMnD jrod: i thought using ajax gone round the problem
# Sep 11th 2009, 08:20 jrod you cant pass named params in with the same name and have it know which paginator to control
# Sep 11th 2009, 08:20 jrod MikeMnD: you need 2 seperate views
# Sep 11th 2009, 08:19 MikeMnD here's a bin of my controler,view codes http://bin.cakephp.org/view/703811872
# Sep 11th 2009, 08:19 jessica-m when using $html->link - is there a way to print a url properly if it does not have http in front of it?
# Sep 11th 2009, 08:19 MikeMnD Guys i've got two elements with pagination in the same view, all works but it bugs When i firstly click number,next,prev in the paginator 1 it's ok, but the when click number,prev,sort..so on on the second paginator, it renders the first instead of the second
# Sep 11th 2009, 08:18 BlackIce TehTreag|AFK: that loggable behavior did the trick very very nicely, exactly what I needed (and was building myself :/, should check the bakery more often :P)
# Sep 11th 2009, 08:17 jrod SCotto: what browser / os ?
# Sep 11th 2009, 08:16 TehTreag|AFK hmvrulz: Hey.
# Sep 11th 2009, 08:15 Scotto ive never seen that mime type before
# Sep 11th 2009, 08:15 Add- Ceeram: that doesn't work either :(
# Sep 11th 2009, 08:14 Scotto but when a coworker uploads a pdf, it shows as application/pdf, any idea why this is?
# Sep 11th 2009, 08:14 Scotto whenever i upload a file from a form, it reads "application/force-download" but its supposed to be a pdf
# Sep 11th 2009, 08:13 MikeMnD !bin
# Sep 11th 2009, 08:13 TehTreag )
# Sep 11th 2009, 08:12 markstory rchavik: sure
# Sep 11th 2009, 08:12 markstory TehTreag: exactly, I do enough work for free as it is. :)
# Sep 11th 2009, 08:12 Ceeram Add-: return parent::beforesave() instead of true
# Sep 11th 2009, 08:11 rchavik markstory: no.. i have an enhancement idea, but would like to get your opinion on it before i start working on it..
# Sep 11th 2009, 08:11 TehTreag markstory: Doing more work isn't the problem, is it? As long as it's work for pay. Right? :)
# Sep 11th 2009, 08:10 markstory Miika--: well that has nothing to do with date errors.
# Sep 11th 2009, 08:09 Miika-- markstory: and i have this line on my php.ini error_reporting = E_ALL and ~E_DEPRECATED
# Sep 11th 2009, 08:08 markstory does it involve me doing more work?
# Sep 11th 2009, 08:08 rchavik markstory: hi mark, i have an idea that i want to discuss with you.. can i pm you?
# Sep 11th 2009, 08:08 markstory csiegert: constants are faster
# Sep 11th 2009, 08:07 davidebenini this doesn't work
# Sep 11th 2009, 08:07 Miika-- markstory: yes, im running 5.3.0
# Sep 11th 2009, 08:07 davidebenini $page_conditions = array('Company.name like'=> urlencode("%".$this->data['Company']['name'].'%');
# Sep 11th 2009, 08:07 csiegert What is to prefer for values that never change: constants or Configure?
# Sep 11th 2009, 08:07 davidebenini been experinmenting wit urlencoding conditions
# Sep 11th 2009, 08:07 davidebenini back
# Sep 11th 2009, 08:07 Gothfunc lo
# Sep 11th 2009, 08:07 markstory there is a setting in core.php in the 1.2.5 package/checkout for this as well.
# Sep 11th 2009, 08:07 markstory you are running 5.3 and don't have your ini file setup properly.