adding new UI Type in Vtiger 7.0

那年仲夏 提交于 2019-12-08 13:32:32

I have resolved this, steps are as below.

Step1: update "modules\Vtiger\models\Field.php" and add new UIType as 222

Step2: created a new file "modules\Vtiger\uitypes\Questionnaire.php"

Step3: created new .tpl files "layouts\vlayout\modules\Vtiger\uitypes\Questionnaire.tpl" and "QuestionnaireFieldSearchView.tpl" in the same dir.

Step4: created new .tpl files "layouts\v7\modules\Vtiger\uitypes\Questionnaire.tpl" and "QuestionnaireFieldSearchView.tpl" in the same dir.

Step5: Register/insert new UIType in table vtiger_ws_fieldtype

Thats all i need to create new UIType

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!