Tags:
create new tag
view all tags

Question

Why does the Comment plugin fail to create bullets? Raw view of output follows (view this topic in raw view).

<span class="commentPlugin commentPluginOutputOneliner">   * Comment 1 -- Main.LorenEvey - 09 Jul 2006 - 19:15</span></span><!--/commentPlugin-->

The threadmode works fine. For whatever reason, a bullet ouput (type = above or below) outputs a line beginning with a "less than" symbol rather than with 3 spaces and an asterisk. I observed the same problem with Twiki 403 and 404. The problem persisted after disabling all other plugins. The Twiki installation is in a user directory (not the default Debian installation). I have installed multiple instances of TWiki for each of several virtual servers. All features appear to work great. This is the only problem I have had. There are no errors reported by the TWiki configure script. The Apache error log is non-eventful. An example of the problem can be seen at www.pigsrevenge.com/twiki/bin/view in the LoEvSandbox.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian 2.6.15
Web server: Apache 2.0.55
Perl version: 5.8.8
Client OS: W2K and Linux
Web Browser: IE and Firefox
Categories: Plugins

-- LorenEvey - 09 Jul 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.

Your test URL is incomplete. What web?

Anyway, I just checked, and it looks like a recent change screwed up the comment templates. I have raised a bug.

http://develop.twiki.org/~develop/cgi-bin/view/Bugs/Item2322

To work around the problem, edit CommentPluginTemplate. Find the text <span class="commentPlugin commentPluginOutputOneliner">   * Comment 1 and insert a newline immediately after the first >

-- CrawfordCurrie - 11 Jul 2006

Crawford, Thanks for you help. I got it working. I was blinded a bit by my previous experience in programming. I tried \n "\n" newline \newline and other escapes. Finally I just put in an "enter" and everything works great. I in the early stages of a major migration. Here is how TWiki is evolving on one of our sites.

So far, this technology looks viable. I have a long way to go but I very much look forward to not being the "Webmaster." It was eating up too much of my time and Webmaster is not my job. Thanks again. Loren

-- LorenEvey - 12 Jul 2006

Loren, it is nice to see how TWiki is used in so many different domains.

You can perfectly use the Main web for your primary content. If you expect that other teams will use your TWiki for different domains I suggest to create a web for each large domain, and to reserve the Main web just for users and TWiki groups. (There is a balance, do not create too many webs though.)

If you allow public contributions make sure to install the latest BlackListPlugin to keep your site clean of spam. In case it happens, make sure to remove it quickly because spammers search for spammed wiki sites (easy targets that do not get cleaned up.)

-- PeterThoeny - 12 Jul 2006

Peter, Thanks for the suggestions. The BlackListPlugin is high on my list. Here is another site just created today.

I have worried that maybe I was on the wrong track because I somehow found my way to personal site of your's and saw that you were not using TWiki for your personal WEB.

So far, I have 5 separate TWiki installations installed in "user" directories and served from virtual servers all running on the same Linux box. I suppose that this is inefficient but I like knowing that an entire site can be backed up in a single directory structure. Further, the sites are diverse enough that I did not want a common main web. It looks like my next task is to learn about CSS and skins so that I can customise the different sites accordingly.

I will eventually post a separate question about setting the home page on a virtual server. I have been unable to do this for the TWiki main. Thus, I have static front pages with an "Enter Here" link.

Thanks again for this wonderful and powerful software. Loren

-- LorenEvey - 12 Jul 2006

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-07-12 - LorenEvey
 
  • 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.