Results 1 to 6 of 6

Thread: Change the number of items in subpanels?

  1. #1
    Weinbach is offline Junior Member
    Join Date
    Dec 2008
    Posts
    4

    Default Change the number of items in subpanels?

    Hi, I have trouble changing the amount of items displayed per subpanel.

    I changed the amount to 20 in the Admin System Settings, saved the page and even rebuild/repaired all modules. I even used a different browser in case it might be some stupid SESSION variable but to no effect.
    The amount of items displayed per subpanel remains solid at 10.

    Any idea? I am using 5.1b.

  2. #2
    sugarcane is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,207

    Default Re: Change the number of items in subpanels?

    Hello,

    there are 2 settings in the System Settings area - one for the 'Listview items per page' and the other is the 'Subpanel items per page'. Verify that you did not update the Listview field instead of the Subpanels. I tested this out and it worked fine - the subpanels updated to display the correct # of records right away
    Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net

  3. #3
    Weinbach is offline Junior Member
    Join Date
    Dec 2008
    Posts
    4

    Default Re: Change the number of items in subpanels?

    No, it's the right one (the other is at 50). And yes, it should work. It even shows 20 in the Admin panel but only 10 items show up in the list.
    Do you know which file calls for the subpanel variable or which is responsible for displaying the Contacts in the Account module?

  4. #4
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Change the number of items in subpanels?

    Well it's ./include/SubPanels/SubPanel.php. I took a look at it but it seemed fine on the first look.

    This needs a deeper dive. you could start by changing the 10 (in the script I mentioned) to, say, 20.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  5. #5
    Weinbach is offline Junior Member
    Join Date
    Dec 2008
    Posts
    4

    Default Re: Change the number of items in subpanels?

    Ok, I found the error.
    I moved the config.php from webroot to a different folder for security reasons (and updated the entryPoint.php accordingly).

    This was the cause since the number of items per panel is stored here and the file did not get updated.

  6. #6
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Change the number of items in subpanels?

    Great!

    PS there's no need for moving config.php. If you really want, you could put your db password in another file outside your webroot and include that.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Limited number of items in a drop down
    By shan1111 in forum Help
    Replies: 2
    Last Post: 2008-05-01, 02:00 AM
  2. Last Viewed items - change URL
    By nkaushal in forum Developer Help
    Replies: 1
    Last Post: 2008-04-02, 10:21 AM
  3. Dashboard, number of display items
    By gosugar in forum Help
    Replies: 2
    Last Post: 2007-06-07, 04:35 PM
  4. Replies: 3
    Last Post: 2006-09-26, 05:57 PM
  5. Limit the number of history items shown?
    By loeboy in forum General Discussion
    Replies: 1
    Last Post: 2005-06-08, 04:50 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
  •