[Vtigercrm-developers] Action Controller for a custom module

lajeesh k lajeeshk at gmail.com
Sat Aug 27 17:50:14 GMT 2016


Try changing h to capital letter in hello , class Device_hello_Action


Regards,
Lajeesh

On Fri, Aug 26, 2016 at 9:14 PM, Rey Polanco <reypolanco at gmail.com> wrote:

> Hi Everyone
>
> is the some sort of guideline for creating a Action controller for a
> custom module ?
>
>
>
> class Device_hello_Action extends Vtiger_Action_Controller {
>
> public function process(Vtiger_Request $request) {
>
> $this.hello();
>
> }
>
> public function hello () {
> echo("HELLO");
> }
>  I have tried doing it the same way as the DownloadFile Action for the
> document module with no luck. alll i get is a blank screen.
>
> Tranks in advanced for the help.
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160827/9dca0560/attachment.html>


More information about the vtigercrm-developers mailing list