Lukas Renggli wrote:
How do I move
stuctures from one folder to another?
I do it using some inpsectors on 'server root' and its children.
There is also a web-interface as an enhancement available that is able to do
exactly this task in a more visual manner without the need to have Smalltalk
knowledge. David Vogel, is it working? Can you help on this?
yes, I created an extension similar to a 'file-navigator'. with this
extension you are able to cut, copy and delete any structure you want
to. note that the links to the moved structure aren't updated
automatically yet, and that the roles which might be 'attached' on it,
are also copied together with the structure.
this extension comes with the admin package Smallwik.Admin available
from cincom store. this package also provides the user interface in
order to manage user and roles. note that this package also changes the
security model a little bit; that's why I suggest steps a) or b)
so if you only want to use the file-manager:
a) load and delete some stuff
------------------------------
- load the package SmallWiki.Admin
- delete classes and methods from THIS package as follows:
- class security
- class barrierrole
- methods that this package has overridden.(from class user, structure)
BUT don't delete the method SwazooSite>>prepareRequestCookies: aHTTPRequest
b) or load it, use it, and unload it
hope this helps.
I should provide this extension in a separate package in future...
cheers,
david.
ps. see attachment snapshot.jpg
pps. some documentation:
--------------------------------------------
Load the package named Smallwiki.Admin from Cincom Public StORE into
your image. This package is required if you want to use the security
extension
with its security user interface and the features
of safe delegation. Run the postload class method
SmallWiki.Structure migrateAction:SmallWiki.Advanced in order to register
the Advanced menu item into your Template. This postload method should
be executed automatically when loading the package, but if the Advanced
menu item doesn’t show up in the Admin menu, re-run the method in the
workspace.