Gossamer Forum
Quote Reply
SSI bug
When I call via an ssi include the community.cgi?do=ssi_username, I get displayed just the username of the user... The 'else' tag seems not to work...
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] SSI bug In reply to
That would mean you are logged in. Click on logout and try it and you should see a sign in box.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SSI bug In reply to
Sorry, I mean you should see 'Guest' instead of your username.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SSI bug In reply to
Yes in fact... But in the ssi template it insn't like that.
After the 'else' tag there is the form to login (username and password field)... So it parses wrong...
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] SSI bug In reply to
Hi,

No, do=ssi_username will display either just the username, or the word guest (language variable SSI_GUEST).

Try do=ssi_login to display the ssi_login template.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] SSI bug In reply to
however in the header of user_ssi_login.html template is explained that one should use that with ssi_username. Perhaps you should correct it.. However thanks! Wink
I presume that there would be more ssi template but in the default template dir there is just one... So via ssi community.cgi can be called only via ?do=ssi_username and ?do=ssi_login ?
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] SSI bug In reply to
Hi,

I'll fix up the comment.

do=ssi_username

will display just the Username or Guest.

do=ssi_login

will parse and display the user_ssi_login template. The first method is faster which is why it's included.

Cheers,

Alex
--
Gossamer Threads Inc.