scs:
Thank you!
So. with your help, I now have working, using request->params and a url of
/topics/index/Bk or /topics/index/PR, etc. ...
public function index() {
$this->Topic->recursive = 0;
$type = $this->request->params['pass'][0];
$conditions = array("Topic.type" => $type);
$this->set('topics', $this->paginate('Topic', array($conditions)));
}
... but you're suggesting, much better, that I have a form rather than a
url to pass my type value.
That feels so good when something works! Thank you, again, scs. I do
appreciate.
Kevin
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php