Results 1 to 2 of 2

Thread: Search Form not displaying in Contacts Module

  1. #1
    vantagejuan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    70

    Default Search Form not displaying in Contacts Module

    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.

  2. #2
    vantagejuan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    70

    Default Re: Search Form not displaying in Contacts Module

    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(); }
    		
    	
    		
    
    	
    }
    
    
    ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. display and hide search form in a module
    By sugarcare in forum Developer Help
    Replies: 5
    Last Post: 2010-09-29, 06:12 AM
  2. Replies: 1
    Last Post: 2007-06-30, 03:27 PM
  3. Replies: 0
    Last Post: 2007-01-16, 05:27 PM
  4. Use fields from one module in the Search form for another
    By CunningPike in forum Developer Help
    Replies: 8
    Last Post: 2006-11-30, 05:55 AM
  5. Contacts Search Form
    By wjohnson in forum Help
    Replies: 3
    Last Post: 2006-11-15, 08:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •