The option type for table views is V, the manual value is:
$options['view'] = true / false;
Example of a Table View with only Edit (E) and Delete (D) option types :
$PAGES_CONTENT->setOption("PAGES,VER PAGINAS,VOIR PAGES","aside","5","VED", true);
Once the section is created and we have to create the page "PAGES.php" where PAGES is the name that is assigned to this page.
Inside your php file you will need the following minimum requirements:
Page Title:
$case_title = translate('TITLE ENGLISH','TITLE SPANISH', 'TITLE FRENCH');
Data Base info, table name and table id column name:
$dbtable = "PAGE"; $idfield = "PID";
Table Titles (array):
$td_titles = [ ];
Table fields (array):
$td_fields = [];
Query (string) using %%WHERE%% and addwhere function to set the conditions :
addwhere("CLID = '$idvalue'"); // optional $query = "Select * from $dbtable %%WHERE%%"
Include the table View file:
include("core/table_view.php");