> I get undefined variable $paginate...
I dunno if this helps but the var name in the view is $paginator (not
$paginate) like in
sort('id');?>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To po
maybe like:
this->Users->TeamsUser->findAll(array('Team.league_id' => 1));
as in:
http://www.cricava.com/blogs/index.php?blog=6&title=modelizing_habtm_join_tables_in_cakephp_&more=1&c=1&tb=1&pb=1
--~--~-~--~~~---~--~~
You received this message because you are su
Thank you that worked! I really appreciate that and thanks for
enlightening me about 'with'.
I have a follow up question pretty please: now I'm having the same
problem with trying to find all terms in a given context. I'm trying
to use 'with' but it doesn't seem to behave or I'm missing some
you can add stuff to the url of sort and nex/prev links with
paginator, it's in the api, so a sort table header maybe something
like:
$paginator->sort('no','Media.no',array('url'=>array($term)));
hope that helps..
--~--~-~--~~~---~--~~
You received this message b
In my project I can't use the default 'id' name for primary key
fields, I have to use 'no'. I have to change a cake I already baked
from using 'no' to 'id' everywhere. I hadn't customized it much and I
could easily change the database and everywhere I could see in the
views and models, and most