Page 1 of 1

Links when logged in as admin

PostPosted: Thu Jan 24, 2008 7:17 am
by bobede
Hi again,

When logged in as an admin, if you select the Bids tab at the top and have the List showing, it shows you a list with
Bid id | Product id | Username | Time of bid | Bid amount | Product_name
and the items listed in these columns are all links. No matter which link you click for a given row, they all seem to link to the Bid details. Is there a way to change it so that if you were to click on the Product id it would bring you to that record in the Products table? or if you clicked on Username, it would bring you to that record in the Users table?

Thanks!

Bob

PostPosted: Mon Jan 28, 2008 11:14 am
by shannah
You could implement the product_id__renderCell() method in the bids delegate class to show something different. E.g.:

Code: Select all
function product_id__renderCell(&$record){
     return ''.htmlspecialchars($record->display('product_id')).'';

}