Results 1 to 6 of 6

Thread: Switching between Detail View & List View

  1. #1
    bleggee is offline Sugar Community Member
    Join Date
    Jan 2010
    Posts
    58

    Question Switching between Detail View & List View

    canceling this post ...
    Last edited by bleggee; 2010-01-22 at 10:46 PM.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Switching between Detail View & List View

    Personally, I just hit the back button in the browser. If you know you want to go to the next Contact in the list you should see some VCR controls in the upper right corner of the Detail View so that you can iterate through the list. If you don't see it look for 'disable_vcr' => true, in your config.php or config_override.php and change to false.

  3. #3
    bleggee is offline Sugar Community Member
    Join Date
    Jan 2010
    Posts
    58

    Default Re: Switching between Detail View & List View

    I see ... Now that I look, my issue with this Module is that I do NOT use the field name "Name". In my other modules, that Name field is a Clickable Link ! Is there any way to define a different field as "Clickable" ? If not, I guess I wil throw in the Name field, just for good measure to get everything working.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Switching between Detail View & List View

    Oh, I see now! Yes, you can define another field as being the link. To do so open custom/modules/Contacts/metadata and open listviewdefs.php (if this does not exist yet copy modules/Contacts/metadata/listviewdefs.php to that location). Add 'link' => true, to the field you would like to have the link. For example:

    PHP Code:

      
    'TITLE' => 
      array (
        
    'width' => '10',
        
    'label' => 'LBL_LIST_TITLE',
        
    'link' => true,
        
    'default' => true,
      ), 
    And that should do it. If not, run Repair & Rebuild on the Contacts module. You shouldn't need to for list view changes though.

  5. #5
    bleggee is offline Sugar Community Member
    Join Date
    Jan 2010
    Posts
    58

    Question Re: Switching between Detail View & List View

    Great!! Thanks.

  6. #6
    bleggee is offline Sugar Community Member
    Join Date
    Jan 2010
    Posts
    58

    Question Re: Switching between Detail View & List View

    By the way, can I add something to this code so that the link opens in a NEW Browser window?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. link to detail view from list view in the custom module problem
    By shamimwilson in forum Developer Help
    Replies: 10
    Last Post: 2009-12-24, 10:47 AM
  2. Replies: 1
    Last Post: 2009-03-04, 10:56 AM
  3. Replies: 2
    Last Post: 2007-09-11, 05:09 PM
  4. Replies: 2
    Last Post: 2006-08-19, 12:00 PM
  5. Replies: 0
    Last Post: 2006-05-04, 01:27 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
  •