This topic is locked
[SOLVED]

 link in list

6/15/2010 6:16:03 AM
PHPRunner General questions
L
lechante author

Hello,
I want to make a link in the list page, the link should go to custom.php?ID=[ID of record]

If possible i would like to use the insert button (in the editor field)to build a custom button, so that after clicking the custom button the user go's to the custom.php?ID=[ID of record].

where [ID of record] is the actual ID of the record.
Rob

A
ann 6/15/2010

Rob,
to create this link proceed to the Visual Editor tab. Add new column, then add following code to this column in the HTML mode:

<a href="custom.php?recordid={$custom_link}">Redirect</a>



Then proceed to the After record processed event on the Events tab and add the code:

$record["custom_link"]=$data["FieldName"];