Remove add/edit/delete option from view page

Tips submitted by PHPMaker users

Remove add/edit/delete option from view page

Postby joubertjg » Tue Aug 02, 2016 3:12 pm

Use the following code to remove add/edit/delete option on view page.

In view page Page_Render

$this->OtherOptions["action"]->Items["edit"]->Body = "";

-- In items replace edit with the option you want to remove
joubertjg
 
Posts: 36
Joined: Tue Sep 02, 2014 7:59 pm

Return to User Submitted Tips (PHPMaker)