Tags:
create new tag
view all tags
I stubled on a bug while designing a new skin. When searching multiple web, only one instance of %WEB% is expansed in the repeated pattern per web.

fix:

On file lib/TWiki/Search.pm, replace lines 400 and 401 (Dec 2001 release)

        $beforeText =~ s/%WEBBGCOLOR%/$thisWebBGColor/o;
        $beforeText =~ s/%WEB%/$thisWebName/o;
by:
        $beforeText =~ s/%WEBBGCOLOR%/$thisWebBGColor/og;
        $beforeText =~ s/%WEB%/$thisWebName/og;

(just add g to the end)

-- ColasNahaboo - 23 Feb 2002

Now in CVS for TWikiAlphaRelease.

-- RichardDonkin - 20 Mar 2002


Category: TWikiPatches
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2002-03-20 - RichardDonkin
 
  • 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.