• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3769: Can't create configuration subsection for plugins and contribs

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine ConfigureScript Normal Closed   minor 4.2.0

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Given you created a Config.spec for your new extension of the following kind

# ---+ MyNewPlugin settings
# intro intro intro
# intro intro intro
# ---++ General Settings
# **STRING**
$TWiki::cfg{MyNewPlugin}{Host} = 'my.domain.com';

# **NUMBER**
$TWiki::cfg{MyNewPlugin}{Port} = 389;


Then only

# ---+ MyNewPlugin settings
# intro intro intro
# intro intro intro

will be shown and anything else below will be cropped.

This behaviour has been changed as of Item3559 (2007-02-07, r12794) for reasons I don't understand.

The relevant code is at lib/TWiki/Configure/TWikiCfg.pm in the function _parse()

       elsif( $l =~ /^#\s*---\+(\+*) *(.*?)$/ ) {
            # Only load the first section if we don't have LocalSite.cfg
            last if ($sectionNum && !$haveLSC); # OUTCH
            pusht(\@settings, $open) if $open;
            $open = new SectionMarker(length($1), $2);

Can anybody explain why this was added? This broke configuring LdapContrib.

-- TWiki:Main/MichaelDaum - 15 Mar 2007

It was added to support only loading the first section (general path settings) if there is no localsite.cfg. The theory is that new users get put off by too much info when initially configuring their TWiki.

Since there should be a localsite.cfg when configuring LdapContrib, I think maybe you are encountering a different problem.

-- TWiki:Main.CrawfordCurrie - 16 Mar 2007

There was a missing parameter


Summary Can't create configuration subsection for plugins and contribs
ReportedBy TWiki:Main.MichaelDaum
Codebase 4.1.2, ~twiki4
SVN Range TWiki-4.1.2, Sat, 03 Mar 2007, build 13043
AppliesTo Engine
Component ConfigureScript
Priority Normal
CurrentState Closed

Checkins TWikirev:13176
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2008-01-22 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback