Hi
Using PHPMaker 2020
I have a Page duration_lookup10list.php and one of the fields is a hyperlink like so v_picturelist.php?x_groupm=901
Which works as required however only if I have Advanced Search ticked in the Table setup for v_picturelist.php
so at the top of this page I have, Show All, Advanced Search and Filter Icons - can I hide these somehow without turning off the advanced search
Regards
John B
arbei
2
You may try to use Page_Load server event to set:
Security()->setCanSearch(FALSE);
Thanks, I tried that and whilst it hid the Icons it also disabled the Advanced Search so the link v_picturelist.php?x_groupm=901 no longer works
Rgeards
John B
arbei
4
If you want to hide the search and filter links only, use the following codes in the Page_Render server event:
$this->SearchOptions->hideAllOptions();
$this->FilterOptions->hideAllOptions();