Results 1 to 2 of 2

Thread: Rel: selecting more than 1 item

  1. #1
    mike2009 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    25

    Default Rel: selecting more than 1 item

    Hello all,

    sorry for opening 2nd thread with same topic, but I can't find any solution for my problem, not in devguide, forum and my new books.

    Problem:
    I create a new module, including <mod1> and <mod2>
    I made a 1:M-relationship betweeen <mod1> and <mod2>

    In the displayed subpanel of <mod1> I click on "select-button", popup appears, I can choose on entry of <mod2>.
    In case it is like an inventory, to some entrys of <mod1> I need up to 30 entrys from <mod2>.

    How can I solve: by clicking on select-button I can choose more than one item from <mod2> (like in subpanel contacts from accounts) ?

    2nd problem:

    building a 1:M-relationship between <mod2> and documents.
    Here also I can choose only 1 item of documents.

    How to solve: by clicking select-butto I can choose more than one item from documents ?

    Even if there are maybe solutions in some docs, I don't know the correct tags to find them.
    So, please give me a solution or a link to a sorce where I can find it.
    Thanks a lot.
    Mike

  2. #2
    vishwasrao's Avatar
    vishwasrao is offline A Prolific Poster
    Join Date
    Sep 2008
    Location
    Pune,Maharashtra,India
    Posts
    385

    Smile Re: Rel: selecting more than 1 item

    Here is ur solution.
    Just go to file
    /include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectButton.php
    find for

    $popup_mode='Single';

    change it to
    $popup_mode='MultiSelect';
    now for every popup you have multiselect option.
    May this help you.
    Reply me if find useful.
    Vishwasrao Salunkhe
    vishwasrao.salunkhe@gmail.com
    Fan Of Sachin Tendulkar
    Operating System :- Windows XP
    PHP Version:- 5.3
    Apache :-2.2.11
    MYSQL :-5.1.36

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-01-09, 10:19 AM
  2. Selecting nothing in multienum
    By martmiwp in forum Help
    Replies: 1
    Last Post: 2007-10-03, 02:18 PM
  3. Mystery ACL item
    By rickcrites in forum Help
    Replies: 14
    Last Post: 2007-05-31, 04:45 PM
  4. help with minor item
    By sugarcare in forum Developer Help
    Replies: 0
    Last Post: 2006-04-17, 05:26 AM
  5. [B]Cannot add History Item!!![/B]
    By hbenlulu in forum Help
    Replies: 0
    Last Post: 2006-02-26, 07:19 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
  •