Results 1 to 4 of 4

Thread: Changing number of default columns in the main display

  1. #1
    lovebyte27 is offline Junior Member
    Join Date
    May 2009
    Posts
    3

    Default Changing number of default columns in the main display

    Hi folks,
    Complete newbie here

    I was wondering if there was a way to change the number of columns in the details and edit views of modules?
    Right now the default is 4 columns (2 labels and 2 input columns).
    I would like to set up a page with 6 columns. Is this possible?

    Thanks
    Last edited by lovebyte27; 2009-05-04 at 03:15 PM.

  2. #2
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Changing number of default columns in the main display

    In editviewdefs.php, you need to set

    Code:
    maxColumns' => '3',
    For detailview you need to do the same in detailviewdefs.php

  3. #3
    lovebyte27 is offline Junior Member
    Join Date
    May 2009
    Posts
    3

    Default Re: Changing number of default columns in the main display

    Hi crmsiva,

    Thanks for the quick reply.
    However, I have changed the settings and even after doing a quick repair on the module, it is still displaying only 4 columns.

    Will this work with custom modules?

    Do you know if there are any plans to make the module builder or studio interface more "user firendly"? By this I mean having the ability to modify the number of columns displayed, chaing the font for labels, the font zise of labels and text fields, etc.

    I am asking because I have noticed in the Studio, you cannot go and change some of the properties for the default fields like the size of the field, the font or font size, etc

    Thanks

  4. #4
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Changing number of default columns in the main display

    Make sure you have made the changes in custom/modules/<module name>/metadata/detailviewdefs.php and custom/modules/<module name>/metadata/editviewdefs.php

    And no need for a quick repair. Just enable the developer mode.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dashlet default columns
    By Mithun in forum Developer Help
    Replies: 5
    Last Post: 2009-03-31, 05:37 AM
  2. Reports, missing tab 3. Choose Display Columns
    By jmcalderond in forum Help
    Replies: 2
    Last Post: 2008-06-16, 06:52 PM
  3. customizing subpanel display columns
    By sugarcare in forum Developer Help
    Replies: 9
    Last Post: 2006-12-21, 04:56 PM
  4. Changing columns in History view ?
    By pierreavista in forum Help
    Replies: 0
    Last Post: 2006-01-30, 02:21 PM
  5. Changing Subpanel Columns
    By wilko_76 in forum Help
    Replies: 0
    Last Post: 2005-09-24, 11:42 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
  •