Page 1 of 1

Table view - custom field links

Posted: 2017-05-16 10:40
by GreenWyvern
I need to change all the field links in a table view. Suppose the table is 'table1', then all the default links are to

   ...table1_view.php?SelectedID=...

I need to change all the links to

   ...table2_view.php?SelectedID=...

So I want to redirect all links to the detail view of a different table. Is there any way I can do this?

Thanks!

Re: Table view - custom field links

Posted: 2017-05-16 17:33
by GreenWyvern
Okay, I found the solution!

In the init function in the hooks file, add the line

   $options->ScriptFileName = "table2_view.php";