Adding links and actions to the edit interface¶
This document covers how to customize the available links and actions of the edit interface (the extra tabs and menus that appear after you log in).
The basic building block is the link, kotti.util.Link
. Instantiate it as:
link = Link('name', _(u'Title'))
The name refers to a view name available on the context.
There’s also:
kotti.util.LinkParent
, which allows grouping of linkskotti.util.LinkRenderer
, which, instead of generating a simple link, allows you to customize how it’s rendered (you can insert anything there, even another submenu based on aLinkParent
).kotti.util.ActionButton
, very similar to a simple link, but generates a button instead.