Links when logged in as admin

A place to discuss and receive support for the Web Auction application.

Links when logged in as admin

Postby 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
bobede
 
Posts: 24
Joined: Tue Oct 30, 2007 7:01 am

Postby 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')).'';

}

shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 36 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved