Rendering Custom View in SuiteCRM not working











up vote
0
down vote

favorite












I have a controller that calls my custom view, but the custom view is not getting rendered.
I cant understand the issue, everything looks correct to me.
Neither is it displaying any errors or warnings.



My module name is SCRV_SSRS_CRM_Reports_View



I have below code in:




custom/modules/SCRV_SSRS_CRM_Reports_View/controller.php




require_once('include/MVC/Controller/SugarController.php');

class SCRV_SSRS_CRM_Reports_ViewController extends SugarController
{
function action_test(){
$GLOBALS['log']->fatal('Am in Controller');
$this->view = "test";
}
}


And in




custom/modules/SCRV_SSRS_CRM_Reports_View/views/view.test.php




if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

require_once('include/MVC/View/views/view.list.php');

class SCRV_SSRS_CRM_Reports_ViewViewtest extends ViewList
{

public function display()
{
echo "HIIII";
$GLOBALS['log']->fatal('Am in View');
}
}


Cant see the view getting rendered when I access it by




http://localhost:8080/dev-crm/index.php?module=SCRV_SSRS_CRM_Reports_View&action=test




I cant see HIIII displayed on screen or the log entry.










share|improve this question
























  • Hi, Can anyone please help me on this?
    – user3286692
    Nov 20 at 1:34










  • Have you run a repair?
    – Reisclef
    Nov 21 at 15:01










  • Are you at least seeing the "Am in controller" message in the logs?
    – Jim
    Nov 23 at 8:51















up vote
0
down vote

favorite












I have a controller that calls my custom view, but the custom view is not getting rendered.
I cant understand the issue, everything looks correct to me.
Neither is it displaying any errors or warnings.



My module name is SCRV_SSRS_CRM_Reports_View



I have below code in:




custom/modules/SCRV_SSRS_CRM_Reports_View/controller.php




require_once('include/MVC/Controller/SugarController.php');

class SCRV_SSRS_CRM_Reports_ViewController extends SugarController
{
function action_test(){
$GLOBALS['log']->fatal('Am in Controller');
$this->view = "test";
}
}


And in




custom/modules/SCRV_SSRS_CRM_Reports_View/views/view.test.php




if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

require_once('include/MVC/View/views/view.list.php');

class SCRV_SSRS_CRM_Reports_ViewViewtest extends ViewList
{

public function display()
{
echo "HIIII";
$GLOBALS['log']->fatal('Am in View');
}
}


Cant see the view getting rendered when I access it by




http://localhost:8080/dev-crm/index.php?module=SCRV_SSRS_CRM_Reports_View&action=test




I cant see HIIII displayed on screen or the log entry.










share|improve this question
























  • Hi, Can anyone please help me on this?
    – user3286692
    Nov 20 at 1:34










  • Have you run a repair?
    – Reisclef
    Nov 21 at 15:01










  • Are you at least seeing the "Am in controller" message in the logs?
    – Jim
    Nov 23 at 8:51













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a controller that calls my custom view, but the custom view is not getting rendered.
I cant understand the issue, everything looks correct to me.
Neither is it displaying any errors or warnings.



My module name is SCRV_SSRS_CRM_Reports_View



I have below code in:




custom/modules/SCRV_SSRS_CRM_Reports_View/controller.php




require_once('include/MVC/Controller/SugarController.php');

class SCRV_SSRS_CRM_Reports_ViewController extends SugarController
{
function action_test(){
$GLOBALS['log']->fatal('Am in Controller');
$this->view = "test";
}
}


And in




custom/modules/SCRV_SSRS_CRM_Reports_View/views/view.test.php




if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

require_once('include/MVC/View/views/view.list.php');

class SCRV_SSRS_CRM_Reports_ViewViewtest extends ViewList
{

public function display()
{
echo "HIIII";
$GLOBALS['log']->fatal('Am in View');
}
}


Cant see the view getting rendered when I access it by




http://localhost:8080/dev-crm/index.php?module=SCRV_SSRS_CRM_Reports_View&action=test




I cant see HIIII displayed on screen or the log entry.










share|improve this question















I have a controller that calls my custom view, but the custom view is not getting rendered.
I cant understand the issue, everything looks correct to me.
Neither is it displaying any errors or warnings.



My module name is SCRV_SSRS_CRM_Reports_View



I have below code in:




custom/modules/SCRV_SSRS_CRM_Reports_View/controller.php




require_once('include/MVC/Controller/SugarController.php');

class SCRV_SSRS_CRM_Reports_ViewController extends SugarController
{
function action_test(){
$GLOBALS['log']->fatal('Am in Controller');
$this->view = "test";
}
}


And in




custom/modules/SCRV_SSRS_CRM_Reports_View/views/view.test.php




if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

require_once('include/MVC/View/views/view.list.php');

class SCRV_SSRS_CRM_Reports_ViewViewtest extends ViewList
{

public function display()
{
echo "HIIII";
$GLOBALS['log']->fatal('Am in View');
}
}


Cant see the view getting rendered when I access it by




http://localhost:8080/dev-crm/index.php?module=SCRV_SSRS_CRM_Reports_View&action=test




I cant see HIIII displayed on screen or the log entry.







sugarcrm suitecrm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 at 14:39









Reisclef

1,58311520




1,58311520










asked Nov 19 at 4:31









user3286692

161114




161114












  • Hi, Can anyone please help me on this?
    – user3286692
    Nov 20 at 1:34










  • Have you run a repair?
    – Reisclef
    Nov 21 at 15:01










  • Are you at least seeing the "Am in controller" message in the logs?
    – Jim
    Nov 23 at 8:51


















  • Hi, Can anyone please help me on this?
    – user3286692
    Nov 20 at 1:34










  • Have you run a repair?
    – Reisclef
    Nov 21 at 15:01










  • Are you at least seeing the "Am in controller" message in the logs?
    – Jim
    Nov 23 at 8:51
















Hi, Can anyone please help me on this?
– user3286692
Nov 20 at 1:34




Hi, Can anyone please help me on this?
– user3286692
Nov 20 at 1:34












Have you run a repair?
– Reisclef
Nov 21 at 15:01




Have you run a repair?
– Reisclef
Nov 21 at 15:01












Are you at least seeing the "Am in controller" message in the logs?
– Jim
Nov 23 at 8:51




Are you at least seeing the "Am in controller" message in the logs?
– Jim
Nov 23 at 8:51

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53368350%2frendering-custom-view-in-suitecrm-not-working%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53368350%2frendering-custom-view-in-suitecrm-not-working%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ottavio Pratesi

Tricia Helfer

15 giugno