# |
Aug 8th 2008, 13:59 |
CrazyTux[m] |
Controller: http://pastebin.com/d3142a30c |
# |
Aug 8th 2008, 13:59 |
tom_mk |
but doesn't work :( |
# |
Aug 8th 2008, 13:59 |
tom_mk |
alternative: http://bin.cakephp.org/view/1050372363 |
# |
Aug 8th 2008, 13:58 |
teknoid |
? |
# |
Aug 8th 2008, 13:58 |
teknoid |
CrazyTux[m]: secondly, if you do use containable, why do you have $uses array |
# |
Aug 8th 2008, 13:58 |
AD7six |
CrazyTux[m]: to put it anothe way if you quit before you get kicked out it's better for you. |
# |
Aug 8th 2008, 13:58 |
teknoid |
CrazyTux[m]: you are not using containable correctly |
# |
Aug 8th 2008, 13:58 |
CrazyTux[m] |
Ah. |
# |
Aug 8th 2008, 13:58 |
AD7six |
CrazyTux[m]: well if you quit so does what you're polling |
# |
Aug 8th 2008, 13:57 |
tom_mk |
http://bin.cakephp.org/view/1956916747 |
# |
Aug 8th 2008, 13:57 |
tom_mk |
AD7six : u mind looking through my code? |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
AD7six, that will stop it? Isn't it already buffered? |
# |
Aug 8th 2008, 13:57 |
mil |
AD7six: I was just trying to get someone's attention :P -- thanks everyone |
# |
Aug 8th 2008, 13:57 |
tom_mk |
still don't get the correct result out -_-'' |
# |
Aug 8th 2008, 13:57 |
lqdice__ |
;) |
# |
Aug 8th 2008, 13:57 |
AD7six |
CrazyTux[m]: if it happens again - quit. |
# |
Aug 8th 2008, 13:57 |
teknoid |
teknoid: mental note... do not tell people to post code without ~bin |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
Sorry about that |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
is what I meant to paste. |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
http://pastebin.com/d3142a30c |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
my fucking ctrl c / v f*'ed up |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
sorry guys |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
.... |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
?> |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
} |
# |
Aug 8th 2008, 13:57 |
lqdice__ |
lol |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
} |
# |
Aug 8th 2008, 13:57 |
CrazyTux[m] |
$this->set('WebListingResults', $result); |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
$result = $this->WebListing->query("(SELECT * FROM web_listings WHERE web_listing_type = 4 ORDER BY RAND() LIMIT 5) ORDER BY company"); |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
// lets load up the web-listings.... |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
echo '<!--'; var_dump($therapies); echo '-->' . "\n"; |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
$services = $this->Service->findAllByStatus(1); |
# |
Aug 8th 2008, 13:56 |
AD7six |
CrazyTux[m]: STOP |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
$conditions = $this->Condition->findAllByStatus(1); |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
$therapies = $this->Therapy->findAllByStatus(1); |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
$this->Condition->contain(array('id')); |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
$this->Therapy->contain(array('id')); |
# |
Aug 8th 2008, 13:56 |
teknoid |
** not here |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
// lets load up the therapies, conditions, and services links. |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
public function index(){ |
# |
Aug 8th 2008, 13:56 |
CrazyTux[m] |
public $helpers = array('PhoneNumber'); |