I created a custom view in the sidebar of the Project Module.
The view does not contain a title. I have attached images to show what I am referring too.
How do I fix this? Any hint would be helpful. Thank you.
view.followup.php
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
require_once('modules/Project/ProjectListViewSmarty.php');
class ViewFollowUp extends ProjectViewList
{
public function __construct()
{
parent::__construct();
}
public function preDisplay()
{
$this->lv = new ProjectListViewSmarty();
}
function processSearchForm(){
$this->where.="production_status_c = 'Complete'"; //AND LEFT(time_in_current_status_c, LOCATE(':',time_in_current_status_c) - 1) > 1";
}
}
menu.php
// Project Follow Up List
if (ACLController::checkAccess('Project', 'list', true)) {
$module_menu[] = array(
'index.php?module=Project&action=followup',
isset($mod_strings['LNK_PROJECT_FOLLOW_UP_LIST']) ? $mod_strings['LNK_PROJECT_FOLLOW_UP_LIST'] : '',
'List'
);
}
controller.php
class ProjectController extends SugarController
{
//Loads the follow up view
public function action_FollowUp()
{
$this->view = 'FollowUp';
}
...