Tags:
create new tag
view all tags

SID-01673: general method to include vars

Status: Answered Answered TWiki version: 5.0.2 Perl version: ??
Category: CategoryMissingFunctionality Server OS: redhat ?.? Last update: 13 years ago

I'm looking for a way to manage wiki variables for large collections of pages. for example: At the top of a page a user would add: %<nop>INCLUDE("VariableSetOne")% and this would define many page specifi variables (for example WSVN settings for a particular project)

Many pages would include that line, and all would get the same variables (much like webpreferences)

I'm trying to unify many different engineering webs at our site into one web to get better group interaction. But each group has its own unique variable settings (currently set in webPreferences)

I have tried the approach in Support.SID-00188 but it is not practical to have the 30+ lines in each page defeining the variables. (I tried using %<nop>EXTRACT% to build a list on the fly, but it didn't define the vars in BASETOPIC even though it printed them)

The approach in Codev.MakingVarVARTopicCapable also requires one line per variable if I understand it correctly.

My ideal solution would keep all the group specific variables in one place, and modifying that place would propagate to each page that referenced it.

(please change the question category as appropriate)

-- Randy Melton - 2013-04-01

Discussion and Answer

At this time it is not possible to INCLUDE preferences settings. You can however INCLUDE a topic that defines SpreadSheetPlugin variables or hashes. Those can be used after an INCLUDE. The same is the case with SET and GET variables of the SetGetPlugin.

-- Peter Thoeny - 2013-05-01

      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.
SupportForm
Status Answered
Title general method to include vars
SupportCategory CategoryMissingFunctionality
TWiki version 5.0.2
Server OS redhat ?.?
Web server ?? apache
Perl version ??
Browser & version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2013-05-01 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.