Tags:
create new tag
view all tags

Question

Where can I find documentation of the new fucntions in TWiki 4 and the old functions that they replace?

I have modications to a TWiki 3 install and notice drastic changes to the TWiki::Store.pm file. For example, the addUserToTWikiUsersTopic is gone. I noticed that there is now a TWiki::UI::Register.pm but its taking quite a bit of time to dig through the code again.

PeterThoeny mentioned in the HandlingCairoDakarPluginDifferences has more topic that there was such an API, but I can't find it when searching. Any help is appreciated.

Environment

TWiki version: TWikiRelease04x00x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache
Perl version: 5.8
Client OS: Apple
Web Browser: Firefox
Categories: Documentation

-- EricHanson - 30 Jun 2006

Answer

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.

Also, TWikiUsersDotPm does not reflect the current Users.pm that comes with 4.0.3

-- EricHanson - 30 Jun 2006

You might want to stop by TWikiIRC, best if the european daylight time and get some realtime support for these issues.

-- SteffenPoulsen - 02 Jul 2006

Use the documentation that comes with your install. TWiki.TWikiUsersDotPm in your install should be your starting point, as it is generated from the pod docs in the sources you are actually using.

-- CrawfordCurrie - 11 Jul 2006

Crawford - That documentation doesn't include any information about migrating from the previous version of TWiki. Per my original post, Peter mentioned there was a doc that gave the T3 functions and explained what replaced them.

The addUserToMapping is very different from the method addUserToTWikiUsersTopic. It does not have the same parameters as addUserToTWikiUsersTopic did.

I used to be able to lock down viewing on the TWikiUser topic and to avoid the perm denied errrors, I had to pass the ignore view permissions flag to the addUserToTWikiUsersTopic. I am trying to figure out if that is still necescary and how to do it.

Thanks.

-- EricHanson - 21 Jul 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-07-21 - EricHanson
 
  • 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.