Hi All,
I have a table of records that have multiple columns that you can click on a set record which will pass the named param for that selection and update the records found.
e.g. after a click the URL is: /cards/index/P/prospect_type_id:4
I need to do this on multiple levels, at the moment I click another column and the url turns to: /cards/index/P/property_id:1 where I need it to go something like this: /cards/index/P/prospect_type_id:4/property_id:1
How can I go about doing this on many levels from the view page (I already have it setup to call multiple named params into the find). I think the Paginator function does this so I guess I am looking
to replicate it somehow.
A current link looks like this for me:
<?php echo $this->Html->link(__($statustypes[$card['Prospect']['prospect_type_id']]), array('action' => 'index', $this->request->params['pass'][0], 'prospect_type_id' => $card['Prospect']['prospect_type_id'])); ?>
Thanks
--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment