# |
Oct 22nd 2009, 09:45 |
Ceeram |
they pass |
# |
Oct 22nd 2009, 09:45 |
Ceeram |
no |
# |
Oct 22nd 2009, 09:45 |
dogmatic69 |
ionas: ye its working with Industry not with country |
# |
Oct 22nd 2009, 09:45 |
markstory |
you might get fails on dbo source and dbo mysql tests |
# |
Oct 22nd 2009, 09:45 |
Ceeram |
-t |
# |
Oct 22nd 2009, 09:45 |
Ceeram |
id didnt put it there, but i like it much thought |
# |
Oct 22nd 2009, 09:45 |
ionas |
dogmatic69, it works though |
# |
Oct 22nd 2009, 09:45 |
Iiridayn_ |
markstory: I searched through the file view.php for that variable name. While I realize that it's possibly used elsewhere, where and why form the basis of my question ;) |
# |
Oct 22nd 2009, 09:45 |
dogmatic69 |
ionas: im trying to order by Country.name in Publisher | Publisher belongsTo Country andand Publisher belongsTo Industry... Industry.name sort works fine... must be my code |
# |
Oct 22nd 2009, 09:45 |
markstory |
putting it into Product is wrong. |
# |
Oct 22nd 2009, 09:44 |
Ceeram |
well it isnt |
# |
Oct 22nd 2009, 09:44 |
markstory |
it should be at [0][price] |
# |
Oct 22nd 2009, 09:44 |
Ceeram |
wasnt the [0][price] issue fixed? |
# |
Oct 22nd 2009, 09:43 |
markstory |
you can't really have component callbacks called without a controller. |
# |
Oct 22nd 2009, 09:43 |
Ceeram |
markstory: i must have some great db then: http://bin.cakephp.org/view/875784950 |
# |
Oct 22nd 2009, 09:43 |
markstory |
Iiridayn_: how do you figure the controller isn't used? |
# |
Oct 22nd 2009, 09:41 |
Ceeram |
~bin |
# |
Oct 22nd 2009, 09:40 |
ionas |
dogmatic69, the first example uses contains, the second not (due to contains building lots of queries I omitted it) |
# |
Oct 22nd 2009, 09:39 |
dakota |
just need to put it at the right place :) |
# |
Oct 22nd 2009, 09:39 |
dakota |
lol |
# |
Oct 22nd 2009, 09:39 |
dakota |
much* |
# |
Oct 22nd 2009, 09:38 |
dogmatic69 |
thanks ionas |
# |
Oct 22nd 2009, 09:38 |
dogmatic69 |
dam... that was easy... |
# |
Oct 22nd 2009, 09:38 |
dakota |
but, what ionas posted is pretty must it |
# |
Oct 22nd 2009, 09:38 |
dakota |
let me go find code |
# |
Oct 22nd 2009, 09:38 |
t0nic |
I like bake esp. |
# |
Oct 22nd 2009, 09:38 |
dakota |
I try not to have plans :) |
# |
Oct 22nd 2009, 09:38 |
ionas |
and with complex find conditions and joins: http://github.com/ionas/sna/blob/master/www/app/controllers/profiles_controller.php#L97 |
# |
Oct 22nd 2009, 09:38 |
dogmatic69 |
im getting sql... where contain = 'Model' |
# |
Oct 22nd 2009, 09:38 |
t0nic |
ionas yeah, I'm working with book and bake |
# |
Oct 22nd 2009, 09:38 |
dogmatic69 |
dakota: what is your plan? |
# |
Oct 22nd 2009, 09:37 |
t0nic |
dogmatic69: http://is.gd/4vWAG |
# |
Oct 22nd 2009, 09:37 |
dakota |
dogmatic69: I do |
# |
Oct 22nd 2009, 09:37 |
ionas |
dogmatic69, http://github.com/ionas/sna/blob/master/www/app/controllers/messages_controller.php#L60 |
# |
Oct 22nd 2009, 09:37 |
dogmatic69 |
ionas: how? |
# |
Oct 22nd 2009, 09:37 |
dogmatic69 |
$publishers = $this->paginate( 'Publisher', array( 'contain' => 'Model' ) ); |
# |
Oct 22nd 2009, 09:36 |
ionas |
dogmatic69, yes |
# |
Oct 22nd 2009, 09:36 |
ionas |
t0nic, okay have fun, though if you are a newbie I really REALLY recommend BOOK + Cake Bake! |
# |
Oct 22nd 2009, 09:36 |
dogmatic69 |
anyone know how to use containable with paginate? |
# |
Oct 22nd 2009, 09:36 |
Iiridayn_ |
In my cached view file, lines 2-15 are dedicated to creating the controller object, even though I never use it in the view (not normally available), and to my knowledge since the View class doesn't store it normally, it doesn't use it there either |
# |
Oct 22nd 2009, 09:36 |
t0nic |
ionas: hmmm... I think I have enough answer already. I will pursue this further when problems arise. Thanks! |