Ok, forgive me but I used the following code:
PHP Code:
<?php
require_once('include/MVC/View/SugarView.php');
class ViewSidequickcreate extends SugarView {
function ViewSidequickcreate() {
parent::SugarView();
}
function display() {
if ($_REQUEST['module'] == 'Home')
return '';
else
return parent::display();
}
}
?>
And it still does not appear in either module. I do see module=Contacts and module=Home in the URL so I'm pretty sure $_REQUEST['module'] is correct. Not sure if it matters but if I do this:
PHP Code:
<?php
require_once('include/MVC/View/SugarView.php');
class ViewSidequickcreate extends SugarView {
function ViewSidequickcreate() {
parent::SugarView();
}
function display() {
return parent::display();
}
}
?>
Nothing displays in either Contacts or Home. I forgot to mention that I am running in developer mode so I'm assuming that cache shouldn't be an issue. What am I missing?
Bookmarks