Links when logged in as admin

Archived from the Web Auction Discussion forum.

bobede — Thu Jan 24, 2008 7:17 am

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


shannah — Mon Jan 28, 2008 11:14 am

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’)).’’;

}`