This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Project Description

This product adds a pt_filled_slots methods to page templates, so it is possible from within or before a filled slot see which slots are filled by the calling page template.

For example “python:’content-core’ in template.pt_filled_slots” could be called to see if content-core is defined.

After discovering some security-related issues with this approach (access denied) I’ve also added the option of setting up the method as an External Method:

ID: pt_filled_slots Module name: Products.PageTemplateFilledSlots.pt_filled_slots Function name: pt_filled_slots

And this is called via for example “python:’content-core’ in context.pt_filled_slots(template)” in a page template.

1.0.1 (2012-03-27)

  • Added patching of ac_permissions for template, as well as an alternative method of applying pt_filled_slots from an External Method.

1.0 (2012-03-21)

  • Initial release
Release History

Release History

1.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Products.PageTemplateFilledSlots-1.0.1.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Mar 27, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting