|
From: Sergio A. K. <ser...@ho...> - 2002-01-09 19:36:13
Attachments:
two-frames.diff
|
hi dietmar, one of the problems we have here is screen real state, many users still insist on using 640x480, so the utilization of the screen space must be done with care... I noted that in sql-ledger the bottom frame is not the most utilized, in fact it contains things that are rarely utilized (say 5% of the time), BUT the frame is displayed 100% of the time, and I think that is not fair... so attached is a patch that put the content of the bottom frame below the left frame, note that you still have to put an "Accounting" link when you go to "Setup". the problem I didn't put that link is that I cannot found the file that display the user's setup menu :) (it shouldn't be in that same file ?) and the names of the files aren't helping... ;) what do you think ? also, I have a half cooked patch that fix the no-use of the css & putting "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 //EN"> <html>" in most of the pages... (because that pages are not valid html) are you interested in this ? /sergio |
|
From: Bryan J. S. <b.j...@ie...> - 2002-01-09 19:58:18
|
"Sergio A. Kessler" wrote: > hi dietmar, > one of the problems we have here is screen real state, > many users still insist on using 640x480, so the > utilization of the screen space must be done with > care... Why do your users sound like they should be in a Dilbert comic? [ INSIGHT: I just got a slew of Dilbert books for Christmas ] -- Bryan P.S. Sorry, couldn't resist. -- Bryan J. Smith, Engineer mailto:b.j...@ie... AbsoluteValue Systems, Inc. http://www.linux-wlan.org SmithConcepts, Inc. http://www.SmithConcepts.com |
|
From: Dieter S. <dsi...@sq...> - 2002-01-09 20:31:20
|
If screen real estate is of a premium you can run a frameless version too. Pass terminal=lynx on the URL when you log in and you'll get the lynx menu. Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Wed, 9 Jan 2002, Sergio A. Kessler wrote: > hi dietmar, > > one of the problems we have here is screen real state, > many users still insist on using 640x480, so the > utilization of the screen space must be done with > care... > > I noted that in sql-ledger the bottom frame is not > the most utilized, in fact it contains things that > are rarely utilized (say 5% of the time), BUT the > frame is displayed 100% of the time, and I think that > is not fair... > > so attached is a patch that put the content of the > bottom frame below the left frame, > note that you still have to put an "Accounting" link > when you go to "Setup". > the problem I didn't put that link is that I cannot > found the file that display the user's setup menu :) > (it shouldn't be in that same file ?) > and the names of the files aren't helping... ;) > > what do you think ? > > also, I have a half cooked patch that fix the > no-use of the css & putting > "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 //EN"> > <html>" > in most of the pages... > (because that pages are not valid html) > are you interested in this ? > > /sergio > |
|
From: Sergio A. K. <ser...@ho...> - 2002-01-09 23:15:37
|
hmm, ok, I tryed that, the problem with that approach is that I'm killing usability... a user would have to press back, back, back [seeing all transactions entered] to return to the main menu... anyway, is not that the frames are a problem, is just that the bottom frame sit there all the time taking space, while is not being used much... you didn't like my patch ? :( (I can try another approach if you want) /sergio ----- Original Message ----- From: "Dieter Simader" <dsi...@sq...> > If screen real estate is of a premium you can run a frameless version too. > Pass terminal=lynx on the URL when you log in and you'll get the lynx > menu. > > > Dieter Simader http://www.sql-ledger.org (780) 472-8161 > DWS Systems Inc. Accounting Software Fax: 478-5281 > =========== On a clear disk you can seek forever =========== > > On Wed, 9 Jan 2002, Sergio A. Kessler wrote: > > > hi dietmar, > > > > one of the problems we have here is screen real state, > > many users still insist on using 640x480, so the > > utilization of the screen space must be done with > > care... > > > > I noted that in sql-ledger the bottom frame is not > > the most utilized, in fact it contains things that > > are rarely utilized (say 5% of the time), BUT the > > frame is displayed 100% of the time, and I think that > > is not fair... > > > > so attached is a patch that put the content of the > > bottom frame below the left frame, > > note that you still have to put an "Accounting" link > > when you go to "Setup". > > the problem I didn't put that link is that I cannot > > found the file that display the user's setup menu :) > > (it shouldn't be in that same file ?) > > and the names of the files aren't helping... ;) > > > > what do you think ? > > > > also, I have a half cooked patch that fix the > > no-use of the css & putting > > "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 //EN"> > > <html>" > > in most of the pages... > > (because that pages are not valid html) > > are you interested in this ? > > > > /sergio > > |
|
From: Dieter S. <dsi...@sq...> - 2002-01-09 23:29:16
|
You can apply your changes in a custom_login.pl script. Then you add a custom_menu.pl and change the menu to include the "Setup" link and from the setup menu (it's in am.pl) you link back to the main menu. This is what the API is for. Then you send me the code and I'll make it available for others. Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Wed, 9 Jan 2002, Sergio A. Kessler wrote: > hmm, ok, I tryed that, the problem with that approach is > that I'm killing usability... > > a user would have to press back, back, back > [seeing all transactions entered] to return > to the main menu... > > anyway, is not that the frames are a problem, is just that > the bottom frame sit there all the time taking space, > while is not being used much... > > you didn't like my patch ? :( > (I can try another approach if you want) > > /sergio |
|
From: Sergio A. K. <ser...@ho...> - 2002-01-10 18:39:10
Attachments:
custom_menu.pl
custom_login.pl
|
hi, here is a custom_login.pl & custom_menu.pl & a minipatch for am.pl: --- sql-ledger.org/bin/mozilla/am.pl Thu Dec 27 23:28:04 2001 +++ sql-ledger/bin/mozilla/am.pl Thu Jan 10 14:19:20 2002 @@ -516,7 +516,11 @@ <p class=menu_heading><b>|.$locale->text('Configuration').qq|</b> <br>$form->{spacer}<a class=menu_item href=$form->{script}?action=config&path=$form->{path}&login=$form->{login}&p assword=$form->{password} target=main_window>|.$locale->text('Preferences').qq|</a>$form->{spacer} - +<br> +<br> +<hr size=1> +<br> +<a href=custom_menu.pl?path=$form->{path}&action=acc_menu&login=$form->{login}& password=$form->{password} target=acc_menu>|.$locale->text('Accounting').qq|</a> </div> </body> BUT, I very much doubt that this is what you want... I think I still don't understand, I cannot see any API, just a subroutine /without parameters/ that display the menu... with this approach I have to s/login.pl/custom_login/ in every file, a big mess if I have to sync this with future releases... so, I feel I need to be hit with a clue hammer... /sergio ----- Original Message ----- From: "Dieter Simader" <dsi...@sq...> > You can apply your changes in a custom_login.pl script. Then you add a > custom_menu.pl and change the menu to include the "Setup" link and from > the setup menu (it's in am.pl) you link back to the main menu. > > This is what the API is for. > > Then you send me the code and I'll make it available for others. |
|
From: Dieter S. <dsi...@sq...> - 2002-01-10 19:28:35
|
Here is that clue hammer!
# custom_login.pl
1;
# end
sub login {
# modified to your needs
}
# eof
This code is pulled in and replaces the standard login function
in login.pl. There is no need to change any of the modules and you can
upgrade anytime keeping your mods. Of course, if I add some new stuff,
like another menu item, you'd have to adapt your custom menu too or you
won't have it available.
It's explained in more detail in the
http://www.sql-ledger.org/feature/api.html page
Dieter Simader http://www.sql-ledger.org (780) 472-8161
DWS Systems Inc. Accounting Software Fax: 478-5281
=========== On a clear disk you can seek forever ===========
On Thu, 10 Jan 2002, Sergio A. Kessler wrote:
> hi,
>
> here is a custom_login.pl & custom_menu.pl & a minipatch
> for am.pl:
>
> --- sql-ledger.org/bin/mozilla/am.pl Thu Dec 27 23:28:04 2001
> +++ sql-ledger/bin/mozilla/am.pl Thu Jan 10 14:19:20 2002
> @@ -516,7 +516,11 @@
>
> <p class=menu_heading><b>|.$locale->text('Configuration').qq|</b>
> <br>$form->{spacer}<a class=menu_item
> href=$form->{script}?action=config&path=$form->{path}&login=$form->{login}&p
> assword=$form->{password}
> target=main_window>|.$locale->text('Preferences').qq|</a>$form->{spacer}
> -
> +<br>
> +<br>
> +<hr size=1>
> +<br>
> +<a
> href=custom_menu.pl?path=$form->{path}&action=acc_menu&login=$form->{login}&
> password=$form->{password}
> target=acc_menu>|.$locale->text('Accounting').qq|</a>
> </div>
>
> </body>
>
> BUT, I very much doubt that this is what you want...
> I think I still don't understand, I cannot see any
> API, just a subroutine /without parameters/ that display
> the menu...
>
> with this approach I have to s/login.pl/custom_login/
> in every file, a big mess if I have to sync this
> with future releases...
>
> so, I feel I need to be hit with a clue hammer...
>
> /sergio
>
> ----- Original Message -----
> From: "Dieter Simader" <dsi...@sq...>
>
>
> > You can apply your changes in a custom_login.pl script. Then you add a
> > custom_menu.pl and change the menu to include the "Setup" link and from
> > the setup menu (it's in am.pl) you link back to the main menu.
> >
> > This is what the API is for.
> >
> > Then you send me the code and I'll make it available for others.
>
>
|
|
From: Sergio A. K. <ser...@ho...> - 2002-01-10 23:31:04
Attachments:
custom_menu.pl
custom_am.pl
|
----- Original Message ----- From: "Dieter Simader" <dsi...@sq...> > Here is that clue hammer! good shot ! #8-) ok, I think I got it... here is custom_am.pl (the one you send to me) and custom_menu.pl that move the content of the bottom frame to the left frame so there is more screen space and sql-ledger look better... I tested this with links & IE6 and so far so good... anyways, I think it will be much of a burden to mantain this with future releases, so if this is of no interest I will have to live with the bottom frame... thanks for the clue, /sergio |