Results 1 to 2 of 2

Thread: Add new search panel in Accounts

  1. #1
    webnetin is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    68

    Lightbulb Add new search panel in Accounts

    Hi all,

    I am looking for help in step next to Saved search......

    I want to make New additional Search Panels, which displays data in a predefined filter.

    I am able to get the new tab displayed like this (as attached)

    This I done by adding following at ....include/SearchForm/SearchForm2.php (around line 104)

    Code:
      $this->tabs = array(array('title'  => $GLOBALS['app_strings']['LNK_BASIC_SEARCH'],
                                      'link'   => $module . '|basic_search',
                                      'key'    => $module . '|basic_search'),
                                array('title'  => $GLOBALS['app_strings']['LNK_ADVANCED_SEARCH'],
                                      'link'   => $module . '|advanced_search',
                                      'key'    => $module . '|advanced_search'),
                                array('title'  => $GLOBALS['app_strings']['LNK_NEW_SEARCH'],
                                      'link'   => $module . '|advanced_search',
                                      'key'    => $module . '|advanced_search'),
    But I am stuck at this stage.....Where all I need to change.
    What I am looking for is to.....
    1) Get this new Search panel appear in Studio, so can add/remove fields as required
    2) This panel shows data where industry (a field in accounts) = xxxx

    Looking for help. Thanks is advance

    webNET

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    My Installation details...
    1) Win 2003, IIS, MSSQL, PHP 5
    2) Sugar 5.0.d (PRO)
    Attached Images Attached Images  
    Last edited by webnetin; 2008-08-13 at 12:24 PM.

  2. #2
    webnetin is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    68

    Default Re: Add new search panel in Accounts

    I did a workaround.......

    As I am not able to get the Multiple tab worked.

    I made multiple modules (say dummy module).

    Arranged these modules as Sub module under a group module.

    (So the Look is liek desired....not 100% but as much 80%, and acceptable by client)

    Now in these custom modules, I placed one-one index.phop, with code for redirecton to main module and a self defined parameter.

    Then handled this parameter to define the filter and IT WORKS.....

    So It is done.

    Thanks to you all who viewed my post.
    As no one has shown interest on repltying or discussing, I presume that no-one is interested in this custom code


    Regards
    BS
    webNET

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. popup search - add account
    By mikesolomon in forum Help
    Replies: 3
    Last Post: 2009-04-17, 08:44 AM
  2. Replies: 10
    Last Post: 2008-06-16, 08:35 AM
  3. Add Field to Basic Search?
    By nomi in forum Help
    Replies: 2
    Last Post: 2006-12-28, 01:20 PM
  4. Replies: 0
    Last Post: 2006-10-30, 01:22 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
  •