Gossamer Forum
Home : Products : Others : Fileman :

How do we increase the default rows from 20 to a larger number please?

Quote Reply
How do we increase the default rows from 20 to a larger number please?
How do we increase the default rows from 20 to a larger number please? Tried editing some variables I saw which were 20 in file_editor.html, but no luck.

Thanks.

Nadeem Azam
Azam.biz, Inc., London
Click here to develop a residual income stream

Quote Reply
Re: [1Lit.com] How do we increase the default rows from 20 to a larger number please? In reply to
Edit the file private/lib/GT/FileMan/Commands.pm and change the following:

return $self->page($template, {
editor_mode => (!$self->{in}->cookie('editor_mode')) ? 0 : 1,
rows => $self->{in}->cookie('rows') || 23,
cols => $self->{in}->cookie('cols') || 100,
%$args
});

This was 23 (not 20) before I changed it
(though I may have changed it from 20 in the past), but setting it to a larger number did change the default.

Quote Reply
Re: [d503] How do we increase the default rows from 20 to a larger number please? In reply to
Just simply change 'Rows per Page' on Preferences page instead of editing Commands.pm.

TheStone.

B.
Quote Reply
Re: [TheStone] How do we increase the default rows from 20 to a larger number please? In reply to
Yes, but that won't change the default. I don't want to have to change this every time I log in from a different PC.