Tags:
create new tag
view all tags

Question

I am having trouble understanding how variables are set, how FLEXWEBLIST works and some other details.

Background: I just installed the Nat skin for twiki and got it running. Looks great. How ever I can not add a topic unless I modify the URL (/WebTopicCreator?parent=WebTopicCreator), there is no "Create topic" link for the skin. I was able to find the side bar file (TWikiWebSideBar.txt), wow there is a lot there.

I would like to do the following:

Set a variable to indicate a user is logged in. If a user is NOT logged in only show certain web, I can so this using webs. When so try to set a variable in the side bar file it is shown on the screen and not set. " * Set SOMEVAR = test" is shown as "Set SOMECAR = test" on the screen.

I would like to add a "create new topic" link to what is returned from FLEXWEBLIST.

Thank you

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache 2.0.52-28
Perl version: 5.8.5
Client OS: Window XP
Web Browser: IE & FireFox
Categories: Plugins

-- JamieBohr - 05 Dec 2006

Answer

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.

I think you are on the wrong road looking at FLEXWEBLIST when you want to make the customizations you outlined above. Here are my suggestions:

  1. Hiding certain webs from not authenticated users: edit the WebPreferences of those webs and set DENYWEBVIEW = TWikiGuest. Read more at TWikiAccessControl.
  2. Adding a link to create a new topic: edit TWiki.TWikiWebLinks and add [[WebTopicCreator][Create new topic]]; this will show up in the sidebar then. Read more at NatSkinPlugin.

-- MichaelDaum - 05 Dec 2006

Perfect answer. Everything works great and my manager is pleased, which is always a good thing.

-- JamieBohr - 08 Dec 2006

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-12-08 - JamieBohr
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.