Link content type for Kotti.
To activate the kotti_link
add-on in your Kotti site, you need to
add an entry to the kotti.configurators
setting in your Paste
Deploy config. If you don't have a kotti.configurators
option,
add one. The line in your [app:main]
(or [app:kotti]
, depending on how
you setup Fanstatic) section could then look like this:
kotti.configurators = kotti_link.kotti_configure
kotti_link
extends your Kotti site with a link content type that allows you to
add a document with the capability to link to any other place in the internal site
or anywhere in the internet. You have to specify the link in the edit mode of the
link content type to the attribute link. Internal redirects should start with /
and external with http://
. Then you have to adjust the default view for your
object to Redirect View
.