Pre-release
This release is a pre-release and may not be stable for production use.
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"
Release files for inquant.portlet.contextualrecentitems 0.2dev-r58889
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inquant.portlet.contextualrecentitems-0.2dev-r58889.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| inquant.portlet.contextualrecentitems-0.2dev_r58889-py2.4.egg | Legacy Egg format | - | - | Details |
Total release size: 37.7 kB
Release files / inquant.portlet.contextualrecentitems-0.2dev-r58889.tar.gz
| Download URL | inquant.portlet.contextualrecentitems-0.2dev-r58889.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56a2117270767e6651a3d638ba968ffc03d12c7b0d6f25d2a4bd90bf735874b9
|
|
BLAKE2b-256 checksum How to use checksums |
e680791b0d158bf383cf6949b43d7705d595cd5bd6dea3c976ef451bb79969ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / inquant.portlet.contextualrecentitems-0.2dev_r58889-py2.4.egg
| Download URL | inquant.portlet.contextualrecentitems-0.2dev_r58889-py2.4.egg |
|---|---|
| Size | 23.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
537a5317379d88472ad14ef9e7e8b86bf895078a74d951e5c213a82801ad7edc
|
|
BLAKE2b-256 checksum How to use checksums |
1cf27a67235dba19e71e6f586ce27f9717d6911d463c72cf1acde1c667a46fe2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |