Active module won't display further than nth list options down #2307
@jshwhitlow I have been looking into this rather old issue and have discovered the reason for the active module not being displayed at the very bottom of the tab group. Basically in include/MVC/View/Sugarview.php there is an assignment that sets the 'max_tabs' value based on the current user preference, this is in fact defined as a default in the config.php file 'default_max_tabs' => 10.
Due to this limit of 10 tabs any additional modules in the tab group get added to an extra module list which is populated in the smarty template after the primary module list. This is causing your 'Active Module' to be displayed after the 10th module in the group (excluding 'Home') and prior to any additional modules.
To get around this, all you would need to do is increase the value for 'default_max_tabs' in config.php.
@Jason-Dang, I tested this and it in fact did work on my current Version of SuiteCRM 7.5.1. (Don't fret, the first quarter of this year we are upgrading to the latest version).
That said, I do think something needs to get changed here.
A) The default_max_tabs setting should be removed, and if the limit exceeds a certain number or gets too long, the module list should become scrollable. There really isn't a need for a limit when I can just change which modules appear in that list myself.
B) The default_max_tabs setting needs to do what it really implies which limit the total number of modules that will appear in a list, I'm not a fan of this list, but I think troubleshooting this problem would be easier if I was searching for 'Can't display more than 10 modules' instead of what I'm searching for how to fix.
If you feel it best, you can change this topic from a 'bug request' to a 'feature request'.
@jshwhitlow Just to note also, if a user does not already have a max_tabs preference set or their preference is less than or equal to 0 or greater than 10, then it will be set to the current default value set in config.php.
In regards to your suggestions/requests I would recommend creating a new 'suggestion' to highlight your points.
For the actual issue of the current module list not displaying at the bottom of the tab group, I am currently looking into a workaround for this so that it will always be displayed last regardless of the max tabs setting.