Hello,
I’m working on creating a new view for address book.
…
in the ‘on click’ I have added the line
menuaction=addressbook.view.idcard&contact_id=$cont[id],850,460
When I click this new button, the new screen does not display
but rather the home page displays.
The trickiest thing I’ve found is forgetting to set the
$public_functions variable in your class, (view) so the API doesn’t
allow
access to the function you’re writing.
Based off your URL, you need the following in your ‘view’ class:
public $public_functions = array(
‘idcard’ => true
);
Nathan Gray
nathan at goarctic dot com
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers