HI there,

if I choos in the index view the view button I get all my models data
and also the related models are shown somehow.

i.e. if I choos from customer-index: view I get the customer details.
I also get the orders he placed in some manner.
Sadly instead of an item name I am only shown the indexnumbers.

i.e.:

Related Bookings
Id      Name    Customer Id     Mealclass Id    Request Id

I would like to show up other fields instead of the id.
instead of requestID I prefer showing requestName
instead of mealclassID I prefer showing mealclassKennung

Might you please tell me how to change my code from
                        <td><?php echo $booking['id'];?></td>
                        <td><?php echo $booking['name'];?></td>
                        <td><?php echo $booking['customer_id'];?></td>
                        <td><?php echo $booking['mealclass_id']; ?></td>
                        <td><?php echo $booking['request_id'];?></td>

to something doing as I want?
I know I ll need to use the indexes to show up the fitting item out of
the database.
But still not that fit in cake to get the solution on my own.

Thanks in advance..

Michael

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to