Results 1 to 2 of 2

Thread: Create ' Saved Search & Layout ' in Basic Search

  1. #1
    kodikarthi is offline Senior Member
    Join Date
    Sep 2008
    Posts
    20

    Default Create ' Saved Search & Layout ' in Basic Search

    Dear,
    SugarCRM Friends. ' Saved Search & Layout ' option available in advanced search in every module. I want to create this option ( 'Saved Search & Layout ' ) in Basic Search. How can i create this one in existing module and custom module. Please provide all details.

    Thanks in advance.

  2. #2
    kodikarthi is offline Senior Member
    Join Date
    Sep 2008
    Posts
    20

    Default Answer: Create ' Saved Search & Layout ' in Basic Search

    I got the answer myself. Suppose u check following code of path , u can understand it.
    include/SearchForm/SearchForm2.php line #145 to 162 then u addd, following code for 'basic search'

    else{
    /*$this->th->ss->assign('DISPLAYADV', 'display:none');
    $this->th->ss->assign('DISPLAYBAS', '');*/
    $this->tpl = 'include/SearchForm/tpls/SearchFormGenericAdvanced.tpl';
    if ($this->action =='ListView') {
    $this->th->ss->assign('DISPLAY_SEARCH_HELP', true);
    }
    $this->th->ss->assign('DISPLAYADV', 'display:none');
    $this->th->ss->assign('DISPLAYBAS', '');
    $this->th->ss->assign('DISPLAY_SAVED_SEARCH', $this->displaySavedSearch);
    $this->th->ss->assign('SAVED_SEARCH', $this->displaySavedSearch());
    //this determines whether the saved search subform should be rendered open or not
    if(isset($_REQUEST['showSSDIV']) && $_REQUEST['showSSDIV']=='yes'){
    $this->th->ss->assign('SHOWSSDIV', 'yes');
    $this->th->ss->assign('DISPLAYSS', '');
    }else{
    $this->th->ss->assign('SHOWSSDIV', 'no');
    $this->th->ss->assign('DISPLAYSS', 'display:none');
    }

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2007-11-30, 11:28 AM
  2. BUG In Search/Edit Layout???
    By tj@estreet.com in forum Help
    Replies: 13
    Last Post: 2006-06-10, 05:43 AM
  3. Replies: 0
    Last Post: 2006-03-17, 06:58 AM
  4. Replies: 2
    Last Post: 2005-11-11, 09:44 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
  •