SID-02313: Missing quote in markup on TWiki
| Status: |
Answered |
TWiki version: |
6.0.2 |
Perl version: |
n/a |
| Category: |
|
Server OS: |
n/a |
Last update: |
8 years ago |
In
http://twiki.org/cgi-bin/view/TWiki.WebLeftBarLogin
the markup is missing a quote
IF{"$ LOGIN = '' and not context authenticated" then=
should surely be
IF{"$ LOGIN = '' and "not context authenticated" then=
It would be really nice if the markup on this page could be made readable while you are in there
--
TWiki Guest - 2017-05-15
Discussion and Answer
http://twiki.org/cgi-bin/view/TWiki06x00/WebLeftBarLogin?raw=on
Sorry, this is the link with the broken markup
--
TWiki Guest - 2017-05-15
Actually on further examination the uppercase AND could be the problem
--
TWiki Guest - 2017-05-15
I am sorry, but I do not understand what the problem actually is.
There is no missing quote, and no uppercase AND, and for me the page does exactly what it should:
- If I am logged in, it greets me with my name
- If I am not logged in, it invites me to either log in or register.
What do you expect when viewing this page, and what do you see instead?
--
Harald Jörg - 2017-05-16
I had copied the code to include on a 'main' page.
It would not work.
In the end I had to simplify it to
---++ Register
%IF{"$ LOGOUT != ''" then='%LOGOUT%'}%
%IF{"$ LOGIN != '' and not context authenticated" then='%LOGIN% or *[[TWiki/TWikiRegistration][Register]]*'}%
--
TWiki Guest - 2017-06-02
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.