[Vtigercrm-developers] Left panel extension container

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Vtigercrm-developers] Left panel extension container

Tony Sandman
How you hiding extension block in case user has no access to extension? 
Locking access to for instance PDFMaker not removing extension block, but shows ugly "No access" html


Tony

_______________________________________________
http://www.vtiger.com/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Left panel extension container

Sutharsan Jeganathan
Hi

I think the way is to customize the code if you can. There are no ways to do this at settings.

The layout

layouts/vlayout/modules/Vtiger/SideBarWidgets.tpl
 
also copy / extend below class to the relevant module directly
modules/Vtiger/models/Link.php
And validate role and module activation under function "getAllByType()"

Thanks
Sutharsan Jeganathan



On Thu, Mar 23, 2017 at 1:50 PM, Tony Sandman <[hidden email]> wrote:
How you hiding extension block in case user has no access to extension? 
Locking access to for instance PDFMaker not removing extension block, but shows ugly "No access" html


Tony

_______________________________________________
http://www.vtiger.com/


_______________________________________________
http://www.vtiger.com/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Left panel extension container

Tony Sandman
tnx

T.

On Thu, Mar 23, 2017 at 4:21 PM, Sutharsan Jeganathan <[hidden email]> wrote:
Hi

I think the way is to customize the code if you can. There are no ways to do this at settings.

The layout

layouts/vlayout/modules/Vtiger/SideBarWidgets.tpl
 
also copy / extend below class to the relevant module directly
modules/Vtiger/models/Link.php
And validate role and module activation under function "getAllByType()"

Thanks
Sutharsan Jeganathan



On Thu, Mar 23, 2017 at 1:50 PM, Tony Sandman <[hidden email]> wrote:
How you hiding extension block in case user has no access to extension? 
Locking access to for instance PDFMaker not removing extension block, but shows ugly "No access" html


Tony

_______________________________________________
http://www.vtiger.com/


_______________________________________________
http://www.vtiger.com/


_______________________________________________
http://www.vtiger.com/
Loading...