Results 1 to 5 of 5

Thread: Dropdown editor issues

  1. #1
    dricrm is offline Sugar Community Member
    Join Date
    Aug 2005
    Location
    Lisbon, Portugal
    Posts
    116

    Default Dropdown editor issues

    Hello,

    I've come across a bug in the dropdown edit section of module builder: it only changed the en_us.lang.php in custom/include/language, instead of other language files (ex pt_pt.lang.php).

    To fix this I changed the word "select" to "selected" in line 75 of modules/ModuleBuilder/tpls/MBModule/dropdown.tpl. This way the dropdown keeps it's value across saves and the correct file gets written.

    One other thing I notice is that instead of replacing the file content, module builder just appends another array definition. In the long run, we may be including very large files...

    Cheers,
    diogo

  2. #2
    lougaou's Avatar
    lougaou is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Lyon - France
    Posts
    236

    Default Re: Dropdown editor issues

    An other bug:
    Add an empty value in your dropdown list...
    Save it

    Check an other dropdown
    Check the first one...key and label have been switched!
    --------------------
    Xavier Rigal

  3. #3
    kalamake is offline Junior Member
    Join Date
    Jan 2008
    Posts
    2

    Default Re: Dropdown editor issues

    Samekind bug at Studio > Opportunities > Layouts > EditView
    when you choose fields pen icon and try to change language.

    And i really need add custom drop fields to notes
    they are only empty list

  4. #4
    mbridley is offline Junior Member
    Join Date
    Nov 2007
    Posts
    1

    Question Re: Dropdown editor issues

    I have had similar problems with the editor, but in sugar CE 5.0 RC i can't delete fields from drop downs. every time i click on the trashcan next to a line item it gives a script error.

    Plus we tried your changes to the language fields but it still only affects the US version files.

    Now what do i try ?

  5. #5
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Dropdown editor issues

    Quote Originally Posted by dricrm
    Hello,

    I've come across a bug in the dropdown edit section of module builder: it only changed the en_us.lang.php in custom/include/language, instead of other language files (ex pt_pt.lang.php).

    To fix this I changed the word "select" to "selected" in line 75 of modules/ModuleBuilder/tpls/MBModule/dropdown.tpl. This way the dropdown keeps it's value across saves and the correct file gets written.
    Bug 20064 created to track this.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2008-02-27, 06:48 PM
  2. Related Dropdown List (conditioned)
    By nramirezf in forum Feature Requests
    Replies: 6
    Last Post: 2008-02-03, 11:01 AM
  3. Dropdown list
    By sridhar in forum Help
    Replies: 0
    Last Post: 2006-08-18, 01:54 PM
  4. Problem was Dropdown Menus
    By activeprime in forum Help
    Replies: 0
    Last Post: 2005-09-21, 09:12 PM
  5. Contact Search Form - Custom Dropdown Field
    By aram in forum General Discussion
    Replies: 2
    Last Post: 2005-05-01, 03:57 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
  •