Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Messages to display per page??

Quote Reply
Messages to display per page??
I know the default to display message per page is set for 25. I know each user can change there settings to display more or less in the options section once they are logged into there account. I want to change the default from 25 to 50 for ALL users, even the local admin, how would someone go about getting this changed?

Thanks for any help....

Mike
Quote Reply
Re: [pcmike] Messages to display per page?? In reply to
To change the default for future users, update the prefs.cfg (display => msgs_per_page) file that's in the template directories. To change existing user's preference, you can try using the change_prefs.pl script that was added in 3.0.1. ./change_prefs.pl display.msgs_per_page=50 should do the trick. As for existing folders, it is set in each user's individual folder in the folders_per_page option. You could update it with a single SQL query such as: "update gmail_folders set folders_per_page = 50 where folders_per_page = 25"

Note that all these changes will overwrite the user's previously chosen settings.

Adrian