> One thing that has always bothered me was menus that stay around when you
> are on the page.
>
> I played around with if(! $SCREEN = "welcome")
> {
> display the welcome menu
> }
>
> but I think the way you implement ScreenURL is messing up the logic. No
> matter what the user presses the screen goes to welcome.
>
> Any way around that?

Inside index.php3 there is code that checks $SCREEN to make sure there's an
entry in ScreenInfo and that the file actually exists.  If either aren't
true, then the
user gets sent to "welcome".  One mod you could do is send them to a screen
called "unknown_page".  It may be possible to generate a 404 error.  You
could
remove the check and let users see an error message.  A mod we make
sometimes
is to divide screens into subdirectories and then put the subdirectory in
the ScreenInfo
array.

Leon



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to