Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: location of Custom dropdown menus

  1. #1
    aheuermann is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    61

    Question location of Custom dropdown menus

    I am looking where the data in dropdown menus is stored. Is it somewhere in the database or is it written to a file. I want to use a certain dropdown for a report. Does anyone know?

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: location of Custom dropdown menus

    Admin -> Dropdown editor
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    aheuermann is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    61

    Default Re: location of Custom dropdown menus

    Quote Originally Posted by umeco
    Admin -> Dropdown editor
    Not the editor, the actual table or file that contains the dropdown menus that are edited in the editor

  4. #4
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: location of Custom dropdown menus

    Hi,

    the values are written into the language file in the directory /custom/include/language/ i.e. en_us.php

    Hope this helps
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  5. #5
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: location of Custom dropdown menus

    ok, where do i find the dropdown values situated in reports - sugar professional?

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

    Default Re: location of Custom dropdown menus

    Quote Originally Posted by Meyer
    ok, where do i find the dropdown values situated in reports - sugar professional?
    Hi,
    if you are looking for a dropdown that is not a custom one, you should find its values here:
    <sugar-root>\include\language\en_us.lang.php
    values are stored in this form:
    Code:
      'account_type_dom' =>
      array (
    	'' => '',
    	'Analyst' => 'Analyst',
    	'Competitor' => 'Competitor',
    	'Customer' => 'Customer',
    	'Integrator' => 'Integrator',
    	'Investor' => 'Investor',
    	'Partner' => 'Partner',
    	'Press' => 'Press',
    	'Prospect' => 'Prospect',
    	'Reseller' => 'Reseller',
    	'Other' => 'Other',
      ),
    in the example, values are listed as account_type_dom; you should look for the name of the dropdown that you are interested in.
    What do you think the cookie monster eats ?

  7. #7
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: location of Custom dropdown menus

    yip found them but they have no impact on report - sugar professional dropdowns

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

    Default Re: location of Custom dropdown menus

    Quote Originally Posted by Meyer
    yip found them but they have no impact on report - sugar professional dropdowns
    What do you mean no impact on report?
    Does it mean that you modified the values but you still see in report module the previous values?
    What do you think the cookie monster eats ?

  9. #9
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: location of Custom dropdown menus

    Correct

    i have changed the label for accounts to broker network and contacts to broker contacts and oppertunities to sales activities.

    everything works 100% until you have to create a custom report.

    the firs dropdown shows the changed labels -but when you add related module you see accounts, contacts etc.

    help

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

    Default Re: location of Custom dropdown menus

    Quote Originally Posted by Meyer
    Correct

    i have changed the label for accounts to broker network and contacts to broker contacts and oppertunities to sales activities.
    Have you made these changes everywhere in sugar or in a single module only?
    Quote Originally Posted by Meyer
    everything works 100% until you have to create a custom report.
    When the template is built, it takes sugar's defaults, not your changes.
    Quote Originally Posted by Meyer
    the firs dropdown shows the changed labels -but when you add related module you see accounts, contacts etc.
    help
    If you get default labels adding a related module, it means that you haven't modified labels everywhere but for one or a few modules only. I suggest you make an in-file research for those labels you modified and change every occurence you find. After that use rebuild functions in Admin section.
    What do you think the cookie monster eats ?

Page 1 of 2 12 LastLast

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
  •