[Vtigercrm-developers] Q. on new 7.1 Portal

Alan Lord alanslists at gmail.com
Fri Feb 2 15:19:08 GMT 2018


Having had a quick look around the new Portal it looks nice but you know 
what is coming next surely?

How do we extend it? ;-)

Say I need to provide my customers with read, or even read/write access 
to certain fields in either a normal vtiger module or a custom entity 
module?


I see at the vtiger end I can make fields read/write for only the 
Tickets and Assets modules. Where is this determined and can it be 
easily changed?

Say I want to write a total custom function in the portal, maybe a _bit_ 
like a web-form, that enables us to capture some data from the customer, 
then process it and record it where we need to in vtiger?

I had a quick look and found very little that looked to be hardcoded - 
which is good. Apart from the modules/CustomerPortal/apis/SaveRecord.php 
process() function :-(

> if (in_array($module, array('HelpDesk', 'Documents', 'Assets', 'Quotes', 'Contacts', 'Accounts'))) {

Do you *really* (You are now making an assumption about possible 
use-case)need to hardcode this? Can't it be controlled in the database? 
Or can we extend this so we can do other things?


In short, I think we could do with some documentation on the 
architecture and how it all hangs together.

Thanks


Al



More information about the vtigercrm-developers mailing list