A Plone Portlet which displays custom recent types
Project description
Overview
A Plone Portlet which does an adapter lookup to fetch the portal type to use in the query for recently changed portlets.
Rationale
This is crratching an itch of a customer, which wants to display only recent “news” on a news page etc. Instead of hard-coding the portal type, we do a adapter lookup.
Usage
Users then can register adapters like:
<adapter
for="Products.BabpnProducts.browser.search.BabpnSPSearchView"
provides="inquant.portlet.contextualrecentitems.interfaces.ITypeNameProvider"
factory=".adapters.SPTypeProvider"
/>
And have the actual adapter look like:
class BizOpTypeProvider(object):
def __init__(self, context):
pass
type = "BusinessOpportunity"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inquant.portlet.contextualrecentitems-0.2.1.tar.gz.
File metadata
- Download URL: inquant.portlet.contextualrecentitems-0.2.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f763ab7313046837afe293ab7127a6598d24fa7bbf6a717eecb4fbfda2c1836
|
|
| MD5 |
ba50d43fe8698bb3456e34614a5d7281
|
|
| BLAKE2b-256 |
f10bf2c80fa08211da1e3164a97f95e3997e2bf71e5f120cea0a1597fab7c2c2
|
File details
Details for the file inquant.portlet.contextualrecentitems-0.2.1-py2.4.egg.
File metadata
- Download URL: inquant.portlet.contextualrecentitems-0.2.1-py2.4.egg
- Upload date:
- Size: 23.9 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c0ec2eac73c1921b37fe925d2daf04ca9c4791411fee4b5a8bcfe990e12a454
|
|
| MD5 |
7a40063cd642c3a2d80d73597b9822ee
|
|
| BLAKE2b-256 |
50da12cde8033cc67f8d49dfcfc1e2c39521433db15a2173299d863cbe9a0fce
|