How to add a link in a Table View: External Link Table View

Table Views can display information from the database, but can also display other information like links to external pages, and these links can be built using values from the data base.
How to add a link in a Table View: External Link Table View
How to add a link in a Table View: External Link Table View

For this feature, no option type is required,

In the table View page add a column for your link. For example an external PDF, in this case 200 is a with of 200px

array_push($td_titles, "200-PDF");

Then add a field with the name link, followed by the URL, inside the URL you can add names of columns from the database as wild cards that will be raplaced with the value from the database for that specific row. Then add the text that will be displayed in the link, in this case OPEN APPLICATION

array_push($td_fields,"link:/ajax/invoice.php?IID=%IID%&CLID=%CLID%:OPEN APPLICATION:COLUMN_NAME");

 

"OPEN APPLICATION" and "COLUMN NAME" are optional, youi can use only one or both, or none and show no text at all.

It could say OPEN INVOICE 124565, where 124565 is the INVID 

 

 

Comments

Get a Quote

Get a Quote