Skip to main content

PyAMS portlets management package

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is PyAMS portal?

PyAMS_portal is a PyAMS extension package which can be used to handle presentation templates.

A template is made of rows, slots and portlets, following Bootstrap’s grid logic, and can be shared between several contexts to handle data or content presentation.

PyAMS_portal package only provides a very small set of portlets. More portlets are provided by content management packages like PyAMS_content, while other extension packages can be used to provide custom portlets renderers.

Changelog

1.5.2

  • updated doctests

1.5.1

  • include required Fanstatic resources when portlet content is loaded from cache

  • add request protocol to portlets cache key

1.5.0

  • added default portlet previewer

  • added no-value message to renderer selection widget

  • removed static resources from layout template

  • small refactoring in raw code portlet renderers

  • added field and context arguments to properties renderers in portlet preview

  • use f-strings instead of format functions (requires Python >= 3.7)

  • updated translations

  • added support for Python 3.10

1.4.4

  • remove empty portlets from portal layout

  • use new ZMI base columns classes in cards and carousel portlets management views

1.4.3

  • added link to image preview in image portlet

1.4.2

  • restored missing callback in template layout

1.4.1

  • updated MyAMS module registration

  • updated renderer selection widget classname

  • use new context base add action

1.4.0

  • added prefix and suffix HTML codes to slot configuration

1.3.3

  • added option to display menu to access templates container from ZMI home page

1.3.2

  • added check for missing portlet renderer in preview

  • updated translation string name in layout management script

1.3.1

  • updated content provider rendering API, adding new “template_name” argument to “render” methods

1.3.0

  • added template container CSS class (with custom TALES extension and updated layout)

  • added support for designer role to portal templates container

  • added template properties edit form

  • updated doctests

1.2.3

  • small template layout CSS updates

  • added templates label adapter

  • updated add and edit forms title

1.2.2

  • package version mismatch

1.2.1

  • updated portlets inner settings forms label

  • use IObjectLabel adapter in local template share form

1.2.0

  • added Bootstrap float classes to slots

  • updated Javascript layout handler

1.1.0

  • added feature to create a shared template from a local one

  • removed permission on default portlets

  • updated forms title

  • updated translations

1.0.4

  • clear portlets cache after configuration or renderer settings update

1.0.3

  • updated layout offset classes for XS devices

1.0.2

  • corrected syntax error in image portlet setting

  • updated ZMI modules exclusion rule when including package

1.0.1

  • Javascript code cleanup

1.0.0

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyams_portal-1.5.2.tar.gz (89.4 kB view hashes)

Uploaded Source

Built Distributions

pyams_portal-1.5.2-py3.10.egg (247.8 kB view hashes)

Uploaded Source

pyams_portal-1.5.2-py3.9.egg (246.5 kB view hashes)

Uploaded Source

pyams_portal-1.5.2-py3.8.egg (246.6 kB view hashes)

Uploaded Source

pyams_portal-1.5.2-py3.7.egg (245.6 kB view hashes)

Uploaded Source

pyams_portal-1.5.2-py3-none-any.whl (145.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page