Skip to main content

Introduction

This package enables Collage to support nested Collage objects.

Additionally, two views (Collage layouts) are available:

  • Full: displays exactly the same as a Collage default view, including title, description, related items and, of course, the contents (rows and columns).

  • Content: displays only contents (rows and columns).

To allow Collage objects to be created inside columns we had to patch enabledType and enabledAlias methods in Products.Collage.browser.controlpanel.CollageSiteOptions to allow Collage content type to be inserted in a Column.

Additionally, a CSS resource is registered (just below the original collage.css) to display nested column widths correctly.

Usage

If you want to create new views (layouts) for nested collage objects base your class on the new NestedCollageView one, like this:

from collective.collage.browser.views import NestedCollageView

class MyNestedCollageView(NestedCollageView):
    """ A custom view for a nested collage """
    ...

Known issues

Ideally Products.Collage.config.COLLAGE_TYPES should be patched however collage.vocabularies.CollageUserFriendlyTypes doesn’t seem to notice the change, so Collage control panel doesn’t display Collage as an allowed portal type. Patches are applied to enabledAlias and enabledType instead.

Credits

Development

  • Marcos F. Romero <marcos.romero {at} inter-cultura {dot} com> (developer)

Changelog

1.0 (2011-08-09)

  • i18n support

  • English and Spanish translation

  • Full layout now displays related items

  • Full test

1.0dev (2011-03-24)

  • Initial release

  • Patches for Products.Collage.browser.controlpanel.CollageSiteOptions enabledType and enabledAlias

  • 2 views to support nested Collage: full and content

Metadata

Release files for collective.collage.nested 1.0

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

Source distribution (sdist)

Source distribution for collective.collage.nested 1.0
File Size Uploaded Provenance Actions
collective.collage.nested-1.0.zip 29.7 kB Without provenance Details for collective.collage.nested-1.0.zip

Release files / collective.collage.nested-1.0.zip

Download URL collective.collage.nested-1.0.zip
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
82d9d416e17f9f0d5bc9934d8f0c01fe2c3ec5a57955a09fad0cd0118d2f95d3
BLAKE2b-256 checksum
How to use checksums
b5b6f37cc3dff98b4e0c9a1194fb4f5c0c76b43aa4b9e668e46e7424bf579b8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for collective.collage.nested 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

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