Creating a simple custom view in SugarCRM

I am trying to use the sugarcrm MVC architecture to add a new action with this new view too.

I managed to create a controller with an action, as well as a class view, the only thing I can not understand is to create a simple html page.

Do I need to use the metadal sugar method? I just need a simple form with two or three fields.

Are there any alternatives to metadata or do I really need to use it to create my simple page?

+3
source share
2 answers

, , . , , , , - " ", display(). , , - display(), tpl (custom/modules//tpls/view.tpl), , PHP , smarty templating engine ( , , . , Smarty).

- , ( ) /. . .:)

SugarCRM , . SugarCRM , .

: http://developers.sugarcrm.com/docs/OS/5.2/-docs-Developer_Guides-Developer_Guide_5.2-toc.html

: http://developers.sugarcrm.com/

, !

+9

:

  • //
  • URL index.php? module = & action = ( php, ) .

, action_file_map.php :

$action_file_map['action_name'] = 'path_to_your_page';

, _ - SugarController (true, SugarCRM 6.1.2).

+2

Source: https://habr.com/ru/post/1724301/


All Articles