Results 1 to 4 of 4

Thread: Dropdown display value

  1. #1
    tripar is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    22

    Default Dropdown display value

    I have modified some of the display values of the default dropdown.
    When I view my fields in phpmyadmin or a reporting program, it is the old value that is displaying.

    For example, I changed "Proposal/Price Quote" to "Quoted", but when I pull the field opportunities.sales_stage, it is "Proposal/Price Quote" that shows up.

    So where is my new display value stored? I can't seam to find the table for it.

    Eric.

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Dropdown display value

    Quote Originally Posted by tripar
    I have modified some of the display values of the default dropdown.
    When I view my fields in phpmyadmin or a reporting program, it is the old value that is displaying.

    For example, I changed "Proposal/Price Quote" to "Quoted", but when I pull the field opportunities.sales_stage, it is "Proposal/Price Quote" that shows up.

    So where is my new display value stored? I can't seam to find the table for it.

    Eric.
    The value being saved in the database is the KEY, which is the value on the left of the Drop down that you can't change.

  3. #3
    tripar is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    22

    Default Re: Dropdown display value

    Quote Originally Posted by sacramentojoe
    The value being saved in the database is the KEY, which is the value on the left of the Drop down that you can't change.
    Are you saying that the display value that we are changing is not stored in the database. If so, how does sugar know what to display?

  4. #4
    cywolf's Avatar
    cywolf is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Toronto, Canada
    Posts
    223

    Default Re: Dropdown display value

    It looks up the translated value of the stored key on the fly so that multiple interface languages can be supported. Your custom option lists are defined in custom/include/language/ in case you want to see what the mapping looks like.
    Andrew Whitehead
    The Long Reach Corporation
    http://infoathand.com

Thread Information

Users Browsing this Thread

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

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
  •