create new tag
, view all tags

AutoSectionsPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on AutoSectionsPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please file bug reports in the AutoSectionsPlugin bug database.

AutoSectionsPlugin Feedback and Development

-- Mahiro Ando - 2013-05-05

Thank you very much Mahiro-san and Morgan Stanley for contributing this plugin!

I added the form. Could you please check and fix the form values?

I also created supporting topics AutoSectionsPluginDev, AutoSectionsPluginAppraisal, Support.AutoSectionsPlugin.

-- Peter Thoeny - 2013-05-06

Thank you Peter for settnig up all the topics! All the form values look good to me. It's also good for me to learn some of the related plugins that I wasn't aware of.

-- Mahiro Ando - 2013-05-15

Discussed at JerusalemReleaseMeeting2013x05x16:

  • Recommendation for per web / page setting:
    • Set AUTOSECTIONS = on -- turn on sectional edit
    • Set AUTOSECTIONS = hover -- turn on, with edit visible on hover
    • Set AUTOSECTIONS = off -- turn off sectional edit

  • It would be nice to have WYSIWYG editor support, based on EDITMETHOD setting

-- Peter Thoeny - 2013-05-17

Sure, the setting with hover has already been implemented in SVN trunk.

WYSIWYG editor would be nice. I just need to clear up some minor issues with raw editor as the simplest case, so it works in a more stable way. Then I can work on supporting WYSIWYG.

-- Mahiro Ando - 2013-06-06

Thanks and nice extension. Just to report that this stop working with the recently updated JQuery plugin.

-- Michael Severo - 2013-08-25

Thanks for reporting the issue. It was due to an incompatibility between jQuery 1.5 & 1.10. The latest version of this plugin in SVN has fixed the issue and should work with both of the jQuery versions.

-- Mahiro Ando - 2013-08-27


I have just made a clean install of TWiki 6.0, installed two small plugins (AutolinkDDTSPlugin and BugzillaLinkPlugin) successfully. I am not able to get AutoSectionsPlugin to work - the links to edit the sections just don't appear.

It's correctly enabled in configure, and there are no errors in the warning or log files. I have tried adding * Set AUTOSECTIONS = on in the topic and also specifying this on the URL with ?AutoSections=on

Could you give a hint as to where to look next to debug this? Thanks a lot,


Bumping this after a few days without a reply. Not looking for anyone to fix my issue - just looking for help to debug, as there are no error or warnings that I can see. Thanks in anticipation.

-- Steve Jones - 2014-09-11

Steve, I did a test install on TWiki.org. Indeed, it does not work. Turns out that there is an undocumented dependency on the DateTimePlugin. I recommend to patch the AutoSectionsPlugin to use CALCULATE instead of DATETIME:

Index: lib/TWiki/Plugins/AutoSectionsPlugin.pm
--- lib/TWiki/Plugins/AutoSectionsPlugin.pm   (revision 27977)
+++ lib/TWiki/Plugins/AutoSectionsPlugin.pm   (working copy)
@@ -231,7 +231,7 @@
     editLabel: "$editLabelEsc",
     rawLabel: "$rawLabelEsc",
     cancelLabel: "$cancelLabelEsc",
-    topicDate: %DATETIME{date="%REVINFO{"\$iso"}%" format="\$epoch"}%
+    topicDate: %CALCULATE{\$TIME(%REVINFO{"\$year-\$mo-\$day \$hour:\$min:\$sec"}% GMT)}%
 <script type="text/javascript" src="$jsPath?t=$t"></script>

-- Peter Thoeny - 2014-09-18

Hi Peter, thanks so much. Your fix worked very well. This kind of support is the reason I am moving my new company to TWiki from another wiki platform. Great job.

-- Steve Jones - 2014-09-22

You're very welcome. Consider also hiring TWiki consultants, this helps make the community stronger, and the project better.

-- Peter Thoeny - 2014-09-22

-- Etienne Pallier - 2014-10-10

does not work for me in Twiki 6 with Firefox (on Mac OS), either with skin topmenu or skin pattern

the plugin is installed and activated (via configure)

what's wrong ?

-- Etienne Pallier - 2014-10-10

ok, thank you Peter, I just made your suggested change above :

topicDate: \0

and it works !!!

-- Etienne Pallier - 2014-10-10

I have installed version 30269 (2016-10-25) on 6.0.2

The plugin is enabled

$TWiki::cfg{Plugins}{AutoSectionsPlugin}{Enabled} = 1;
$TWiki::cfg{Plugins}{AutoSectionsPlugin}{Default} = 1;
$TWiki::cfg{Plugins}{AutoSectionsPlugin}{Debug} = 1;

However I do not see any edit buttons in my test topics. The debug file is not being updated.The httpd logs dont show anything Where else should I look for why this isnt working?

Thanks in advance

-- Peter Jones - 2017-04-19

Do you have AUTOSECTIONS set "on" or "hover"? The plugin is not activated without AUTOSECTIONS set.

-- Hideyo Imazu - 2017-04-20

In the test page I have AUTOSECTIONS = on . I have also tried with the ?AutoSections=on option

If I add the %EDITAUTOSECTIONS% variable I see the button. I dont see any edit options in the test page or anything in the logs though

-- Peter Jones - 2017-04-24

Possibly skin related? Test with default TopMenuSkin in case you use another one.

Also, support related questions are better asked in the Support web.

-- Peter Thoeny - 2017-05-04

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2017-05-04 - 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.