How can I find why my search form is not displaying for my contacts module. It's displaying correctly for every other module. I don't know where to start trouble shooting.
How can I find why my search form is not displaying for my contacts module. It's displaying correctly for every other module. I don't know where to start trouble shooting.
Also, I did some customization of the list view that may have caused this. I wanted to only let the administrator view the mass update panel, so I put the following code in view.list.php in the custom/modules/contacts/view folder. could someone please examine this for a mistake that may be causing my search form not to show up?
Code:<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); require_once('include/MVC/View/views/view.list.php'); class ContactsViewList extends ViewList { function ContactsViewList(){ parent::ViewList(); } function processSearchForm() { } function preDisplay() { require_once('custom/include/ListView/ListViewSmartyContacts.php'); $this->lv = new ListViewSmartyContacts(); } function Display(){ global $current_user; if ($current_user->id != '1') { #hide mass update print '<style type = "text/css"> div#massupdate_form { display: none; } </style>';} parent::Display(); } } ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks