I can't get link to work [SOLVED]

Talk about link fields or link implementations

Moderator: alexandrleonenko

bgsherm
Newbie
Newbie
Posts: 5
Joined: Apr 28th, '09, 20:48

I can't get link to work [SOLVED]

Postby bgsherm » Apr 28th, '09, 20:53

I can't get the link to working
Here is the array that I am passing into the datagrid:

Array ( [header] => Work This [type] => link [field_key] => SalesOrder [href] => mainwindow.php?page=pricequote.php&SalesOrder={0} )

I also tried this one:

Array ( [header] => Work This [type] => link [field_key] => SalesOrder[field_data] => SalesOrder [href] => mainwindow.php?page=pricequote.php&SalesOrder={0} )


Please help!!!

bgsherm
Newbie
Newbie
Posts: 5
Joined: Apr 28th, '09, 20:48

Re: I can't get link to work

Postby bgsherm » Apr 29th, '09, 15:25

It looks like it is creating the correct link, but there is no text associated with the link.

<td class='blue_class_td class_right ' style=' ' ><a class='blue_class_a2' href='http://localhost/Sherwood-dev/modules/mainwindow.php?page=pricequote.php&SalesOrder=32645' target='' title='Work This' ></a></td>

bgsherm
Newbie
Newbie
Posts: 5
Joined: Apr 28th, '09, 20:48

Re: I can't get link to work

Postby bgsherm » Apr 29th, '09, 18:51

Working now, database field was SalesOrder not Sales_Order as it is in other tables.
*sigh* consistency programmers, consistency


Return to “Field type: "link"”