Results 1 to 7 of 7

Thread: Creating Selectable User Box in Zucker Reports

  1. #1
    BriteComputers is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    20

    Default Creating Selectable User Box in Zucker Reports

    I wrote a query that would select all the users in our system and display them in a custom drop down menu that I use in many custom Zucker Reports.

    Instead of having a single drop down where I can only select one user at a time, is there a way to create a "box" of users so I can select multiple users by holding CTRL ?

  2. #2
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Creating Selectable User Box in Zucker Reports

    Quote Originally Posted by BriteComputers
    I wrote a query that would select all the users in our system and display them in a custom drop down menu that I use in many custom Zucker Reports.

    Instead of having a single drop down where I can only select one user at a time, is there a way to create a "box" of users so I can select multiple users by holding CTRL ?
    Try with a Multiselect field.
    What do you think the cookie monster eats ?

  3. #3
    BriteComputers is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    20

    Default Re: Creating Selectable User Box in Zucker Reports

    Can I create a multi-select field and then bind it to Zucker?

  4. #4
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Creating Selectable User Box in Zucker Reports

    Quote Originally Posted by BriteComputers
    Can I create a multi-select field and then bind it to Zucker?
    If you did that with a dropdown I guess you can do it with a multi-select as well.
    What do you think the cookie monster eats ?

  5. #5
    BriteComputers is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    20

    Default Re: Creating Selectable User Box in Zucker Reports

    After I go into the "Report and Query Parameters" in Zucker reports I see the option to create the following types of parameters:

    - Direct Input
    - Date Input
    - User Defined Query
    - User Defined List
    - Drop Down List
    - Current User
    - PHP Script


    There is no option for Multi-Select menu.

  6. #6
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Creating Selectable User Box in Zucker Reports

    Quote Originally Posted by BriteComputers
    After I go into the "Report and Query Parameters" in Zucker reports I see the option to create the following types of parameters:

    - Direct Input
    - Date Input
    - User Defined Query
    - User Defined List
    - Drop Down List
    - Current User
    - PHP Script


    There is no option for Multi-Select menu.
    In the first post of this thread you said you create a dropdown from a user defined query. Why don't you use that query?
    What do you think the cookie monster eats ?

  7. #7
    lukio's Avatar
    lukio is offline Sugar Community Member
    Join Date
    Jan 2008
    Location
    Argentina
    Posts
    32

    Default Re: Creating Selectable User Box in Zucker Reports

    Quote Originally Posted by DragonflyMaster View Post
    In the first post of this thread you said you create a dropdown from a user defined query. Why don't you use that query?
    I don't know if you could resolve this issue, but I recently have the same problem. What I did was to change some line at zucker report module.

    At modules/ZuckerReportParameter/ParameterFill.html you have this lines:


    HTML Code:
    <!-- BEGIN: SQL -->
    <tr>
     <td width="15%" class="tabDetailViewDL">{PARAM_FRIENDLY_NAME}</td>
     <td width="85%" class="tabDetailViewDF" colspan="3"><select name="{PARAM_NAME}">{PARAM_SELECTION}</select></td>
    </tr>
    <!-- END: SQL -->

    What i did was to add "multiple" at the select html tag. So what I have now is:

    HTML Code:
    <!-- BEGIN: SQL -->
    <tr>
     <td width="15%" class="tabDetailViewDL">{PARAM_FRIENDLY_NAME}</td>
     <td width="85%" class="tabDetailViewDF" colspan="3"><select name="{PARAM_NAME}" multiple>{PARAM_SELECTION}</select></td>
    </tr>
    <!-- END: SQL -->
    That' s all.
    Luciano Rossi
    gcoop - Cooperativa de Software Libre
    www.gcoop.com.ar

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. problemi step 6 di SugarSuite-Full-4.0.1h
    By lucia in forum Italiano
    Replies: 0
    Last Post: 2006-12-27, 08:50 AM
  2. Replies: 1
    Last Post: 2006-10-12, 12:07 AM
  3. 4.0.1 Installation Problem
    By clawton in forum Help
    Replies: 14
    Last Post: 2006-02-13, 04:17 PM
  4. Fatal error: Max
    By spokes2k4 in forum Help
    Replies: 3
    Last Post: 2006-01-15, 03:50 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
  •