In an order details table, the name of the person making the purchase appears. It is selected from a lookup wizard.
In the list in the relation master-->details I want that when clicking on the name of the person the view with the details (address, telephone, ...) appears in popup
I have seen the code in the phprunner help to create a custom view and I put:
$value = ""<a href='https://mysite.com/users_view.php?editid1=".$data["user_id"].">Link</a>";
The code works fine. I have two problems
- I can't change the word link for the name and surname of the user. I read in the phprunner help that it says "If you chose Lookup wizard in the "Edit as" settings, use value to access the Display field value and data["LinkFieldName"] to access the Link field value." So I change it to this, but it doesn't work:
$value = "<a href='https://mysite.com/users_view.php?editid1=".$data["user_id"]."'>User: ".$data["mylinkfieldname"]."< /a>";
- I can't show the popup view. I don't know how to get it