Hi,
How can I have the subpanels set up for all modules so that when a user logs in they are all collapsed?
Rgds
C
Hi,
How can I have the subpanels set up for all modules so that when a user logs in they are all collapsed?
Rgds
C
C,
It appears that the settings for whether a sub-panel is hidden or shown is stored in the user's cookie (as the setting stays set from view to view).
For example, here is the entry for accounts with all sub-panels shown except contacts which is collapsed
Accounts_divs
project_v%3D%23activities_v%3D%23history_v%3D%23co ntacts_v%3Dnone%23opportunities_v%3D%23leads_v%3D% 23cases_v%3D%23accounts_v%3D%23bugs_v%3D%23pi1_mod uleinvoice_v%3D%23
notice the word none after contacts_v
So, presumably, you could set the cookie value after record retrieval via a logic hook. I've not tried it, and to be honest, not sure I'll get chance to play with it any time soon. But that's where I'd start.
Alternately, as the hide/show is all done by javascript, you could modify the javascript to hide all the panels on page load. That's not going to be upgrade safe though.
Hope that helps
T H E S U G A R R E F I N E R Y ™
: : : SugarCrm Customisation and Integration Services : : :
SugarCRM Systems Integration Partner
Trusted with SugarCRM
http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks