On 19 déc. 03, at 21:25, Lukas Renggli wrote:
> - there might be a problem with the versioning: the version of a
> structure is not the same as the version of the structures children
> (structure version != structure children first parent version)
> ...I'm not sure if the version should always be the same.
No, all structures are versioned independently. There is no need to
create new version for the parent, if a child changes.
> - another question:
> I want the admin link to be visible just like the other ones: view,
> edit, contents etc., what is the best way to do this? do I have to
> modify each structure's template?
There are only about 3 templates defined on this wiki: the root, the
SmallWiki folder and the CaroAndBot folder. As you know, these
instances are shared among all their corresponding child structures,
so you have to change only those 3 places.
Weak as I am, I would use the powerful reflection mechanism of
Smalltalk and do something like:
SmallWiki.TemplateBodyActions allInstances do: [ :each |
each actions add: SmallWiki.AdminAction ]
Actually I would like to integrate some other actions into the central
admin menu-item, like the history, the template and the property
editor (something new I wrote yesterday night). We should also think
about a way to show the actions of a page in a tree-like structure, as
there are too many items to show in one line
I think that for admin this makes sense.
For standard user requiring that is the smell that there is two much
may be in such a case we should have a more... button that show the