[Vtigercrm-developers] Custom module - Webform save fails during getEntityModuleInfo

Uma S uma.s at vtiger.com
Mon May 11 05:36:11 GMT 2015


Hi,

In DetailViewHeaderTitle.tpl getPermissions() api is called on
$Field_model, hope which doesn't exist for you module entry. Please to
check the Record-structure of the module you have created.

On Mon, May 11, 2015 at 8:33 AM, Richard Hills - Technologywise <
richard at tw.co.nz> wrote:

>  I have created a custom module which I want to use with webforms.
>
> My webform post was failing due to getEntityModuleInfo failing.
>
> this appears to be because there was no entry in *vtiger_entityname *so I
> added this:
>   52 VCLvisitors vtiger_vclvisitors vclvisitorsid vclvisitorsid
> vclvisitorsid
> Unfortunately, once this is added the system is not able to render
> detailview:
>
> PHP Fatal error:  Call to a member function getPermissions() on a
> non-object in
> /test/templates_c/vlayout/xxx.file.DetailViewHeaderTitle.tpl.php on line 36
>
>
> So, clearly although this is an issue, my solution is incorrect. Can
> someone please offer me some advice?
>
> TIA
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZrichard at tw.co.nzwww.technologywise.co.nz
> ph: +64 (0)7 571 1060
> fax: +64 (0)7 571 1061
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150511/c0f8f890/attachment.html>


More information about the vtigercrm-developers mailing list