Skip to main content

This is an extension to the Kotti CMS that allows you to add content proxies to your Kotti site.

A content proxy is very similar to a symbolic link on UNIX systems. It allows you to refer to a single content node from multiple places in your node tree without having to duplicate the content itself. In other words: it will show up in the navigation in multiple places, but still only exist once.

For the moment only the view view and the __acl__ attribute are proxied. This means that you can only see proxies of proxied objects that you are allowed to see; when you request the “view” of the ContentProxy object it will return the rendered view of the proxied object instead (of course also respecting its permissions).

For future versions it is planned to also proxy as many object attributes as feasible / sensible.

Find out more about Kotti

Setup

To activate the kotti_content_proxy 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] section could then look like this:

kotti.configurators = kotti_content_proxy.kotti_configure

With this, you’ll be able to add content proxy items in your site.

Todo

  • Make selection of the proxied object via the UI more user friendly. Maybe use kotti_tinymce’s kottibrowser.

  • Proxy everything that makes sense.

Authors

  • Andreas Kaiser (disko).

  • Piotr Dobrogost (pdobrogost)

Changelog

0.4.1 - 2016-01-11

  • Fix broken packaging. Sorry for the inconvenience!

0.4.0 - 2015-10-07

  • Now we take object to be proxied instead of its id. This is a backward incompatible change.

0.3.0 - 2015-10-05

  • Names of proxied attributes are now kept in class attribute and read from kotti_content_proxy.proxied_attributes setting.

0.2.0 - 2015-09-30

  • Proxy now declares unique polymorphic_identity for use in SQLAlchemy.

  • Added proxying of custom attributes.

0.1.0

  • Initial release.

Metadata

Release files for kotti_content_proxy 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kotti_content_proxy 0.4.1
File Size Uploaded
kotti_content_proxy-0.4.1.tar.gz 6.3 kB Details

Release files / kotti_content_proxy-0.4.1.tar.gz

Download URL kotti_content_proxy-0.4.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f7c3539a3ed61ba5bc1d3b2884ef25a71200790ee310388ce6fb2ab898be37d1
BLAKE2b-256 checksum
How to use checksums
74f8f5b904603ba5851de207f1e4bc641eca85d6faf2fda76c007e123311ca9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4.1 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page