Tags:
create new tag
view all tags

Question

Is it possible to reference a custom variable (defined in WebPreferences or TWikiPreferences) in a .tmpl file? Doing this causes my browser to crash.

More details:

I have defined a variable

%CUSTOMTOC%
. This variable defines two INCLUDEs: the first referring to a USERNAMELinks page (wherin a user can define a set of links that she wants to show up on every page); the second referring to a SEARCH (display the 10 most recently changed twiki pages on each page).

CUSTOMTOC renders just fine when I include it in the body of a page, but not when I include it in one of the templates.

This is on a FreeBSD system displaying in MSIE 5.5.

( I also asked this question in CustomVariablesInTemplates before i found the support questions... sorry for the redundancy)

  • TWiki version:
  • Web server: Apache
  • Server OS: FreeBSD
  • Web browser: MSIE 5.5
  • Client OS: Win2000

-- EllenBeldner - 24 Sep 2002

Answer

.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-11-29 - 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.