Results 1 to 5 of 5

Thread: Why cannot remove a dropdown by DropDown Editor

  1. #1
    PanJun is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Shanghai
    Posts
    50

    Question Why cannot remove a dropdown by DropDown Editor

    Hi,

    I just can not figure out why an admin user can Add DropDown in the DropDown Editor while can not remove it after. Anybody know the reason?

    Thanks.

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Why cannot remove a dropdown by DropDown Editor

    You should be able to do that. In DropDown Editor there is a trashbox icon on the right side of each item where you can remove this item (see screenshot).
    Attached Images Attached Images  
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    PanJun is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Shanghai
    Posts
    50

    Default Re: Why cannot remove a dropdown by DropDown Editor

    Remove all the items and leave an empty dropdown list which is not useful anymore ?

    I can unset in the dropdown array by coding, but I can not prevent admin user create new empty dropdown by mistake and just leave it.

  4. #4
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Why cannot remove a dropdown by DropDown Editor

    Yes, the dropdown list itself cannot be removed by Dropdown Editor. I think this is because any field could still use this list. If you're sure that the list isn't used anymore you could delete it's entry manually from file custom\include\language\en_us.lang.php. It should look like
    PHP Code:
    $GLOBALS['app_list_strings']['MY_EMPTY_DROPDOWN_LIST']=array (
    ); 
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  5. #5
    PanJun is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Shanghai
    Posts
    50

    Smile Re: Why cannot remove a dropdown by DropDown Editor

    Thanks, now I understand.

    I hope someday DropDown Editor can detect the list which is not in use, and enable a button Delete DropDown, that will be perfect

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 6.0.2 dropdown editor not available
    By phuzzzed in forum Help
    Replies: 0
    Last Post: 2010-11-08, 01:28 PM
  2. After Upgrade to 6.0 no DropDown Editor
    By marcusm in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2010-08-04, 02:57 PM
  3. Error dropdown editor
    By sk1983 in forum Help
    Replies: 2
    Last Post: 2008-04-04, 12:55 AM
  4. Replies: 0
    Last Post: 2006-04-19, 04:37 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
  •