create new tag
, view all tags

SID-02313: Missing quote in markup on TWiki

Status: Answered Answered TWiki version: 6.0.2 Perl version: n/a
Category: Server OS: n/a Last update: 2 months 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


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

      Change status to:
ALERT! 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.
Status Answered
Title Missing quote in markup on TWiki

TWiki version 6.0.2
Server OS n/a
Web server n/a
Perl version n/a
Browser & version n/a
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2017-06-03 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.