Hi Stef,
> An action has to register to the structures it is able to handle,
so
> to make it show up on pages and folders, but not on resources, you
> have to add the following code to the class-side of your action:
>
> InfoAction class>>initilize
> Page registerAction: self.
> Folder registerAction: self.
Lukas I looked for search and I could not see where it was registered.
The actions of the core are registered within the appropriate
structures; have a look at Structure class>>initializeActions and its
subclasses.
I did move the registration to the structure for the core-actions to
make SmallWiki loadable from StORE, because the package containing the
actions is loaded before the package containing the structures. I not
sure if it is still a problem to do the registration in the action
itself, but it was when I implemented it.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org