Results 1 to 3 of 3

Thread: customize pop up filter?

  1. #1
    basudeba87 is offline Sugar Community Member
    Join Date
    May 2011
    Location
    Hyderabad
    Posts
    54

    Question customize pop up filter?

    HI All,

    I have one custom module's pop up and I want to display the records in this popup those are related to cases id. I am passing the parameter in this pop like below.

    open_popup("trade_trademark", 600, 400, "&trade_trademark_casestrade_trademark_ida={'s ome value'}", true, false, {"call_back_function":"set_return","form_name":"Ed itView","field_to_name_array":{"id":"trade_tradema rk_casestrade_trademark_ida","last_name":"trade_tr ademark_cases_name"}}, "single", true);

    is it correct or anything need to do in trademark module's popupdefs.php file ?.

    Please let me know any suggestion regarding the steps to get the filtered data in that pop up.

    Regards,
    Basudeba.
    Regards,
    Basudeba Rath.

  2. #2
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: customize pop up filter?

    I have not sure whether sugar framework supports this standard filter based on url parameters. But is possible to develop that with some javascript programing.

    You could program a javascript function in an external "js" file which will execute these actions:
    1. Read your parameter from url.
    2. Set this parameter in the proper search field.
    3. Submit the search form.

    Then on your popupdefs.php include this javascript file and make sure to call the function defined.

    This way you probably can reach desired result.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  3. #3
    basudeba87 is offline Sugar Community Member
    Join Date
    May 2011
    Location
    Hyderabad
    Posts
    54

    Smile Re: customize pop up filter?

    Thanks Mr. Rafael,
    I think it is very complicated process, is there any other procedure to solve this problem ?

    Anybody have any more idea ? Please let me know.


    Regards,
    Basudeba
    Regards,
    Basudeba Rath.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Opportunities Filter 4.5.1
    By gosugar in forum Downloads
    Replies: 24
    Last Post: 2010-02-25, 02:42 PM
  2. customize - filter
    By nimco in forum Developer Tutorials
    Replies: 0
    Last Post: 2010-01-24, 12:54 PM
  3. Replies: 3
    Last Post: 2008-06-03, 02:31 PM
  4. Replies: 23
    Last Post: 2006-08-30, 05:32 PM
  5. Replies: 3
    Last Post: 2006-08-10, 01:18 AM

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
  •