A portlet that extends Plone static text portlet, and add more functionalities
Project description
Introduction
A portlet that extends the base Static Portlet of Plone and add some new fields and features.
Dependencies
1.x branch: Plone 3 and 4 2.x (master): Plone 5
Set a background image
In portlet’s configuration there are two fields that allows to add an image background in portlet header. The image will be set as a “background-image” style in the header of the portlet.
You can also set the height or leave the default one.
Internal link field
There is a new field that allows to set an internal link to show in “more” link. If this field is set, it overrides base external link of static portlet.
Custom CSS class field
You can assign some custom css classes to the portlet.
Preset Style Classes
In the portlet configuration there is a field that allows to choose a style class from a preset list.
You can edit the list of styles in resource registry (@@portal_registry) entry: rer.portlet.advanced_static.css_styles.
Credits
Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.
Changelog
3.1.0 (2022-07-13)
Restore our css, so the background image is shown. [maurits]
Test with Plone 5.0, 5.1, 5.2 and 6.0. Test on all Python versions supported by Plone. [maurits]
3.0.0 (2020-05-06)
[chg] introduce breaking change removing dependency from collective.tiles.advancedstatic; also allow to use different registry field to store css syle [lucabel]
2.0.2 (2020-03-05)
Run modernize, switched implements->implementer, remove AT reference. [pnicolli]
2.0.1 (2019-02-15)
Avoid empty background image, that cause html page reload as image [mamico]
2.0.0 (2017-09-13)
Drop Plone < 5 compatibility. For Plone < 5, use 1.x branch. [cekk]
1.4.1 (2017-01-11)
Added compatibility with dexterity images used as background images [pnicolli]
1.4.0 (2016-02-26)
Added option to open header and footer links in a new window [pnicolli]
Added a title attribute to header and footer links for accessibility purposes [pnicolli]
1.3.4 (2016-02-24)
Changed css rendering from “import” to “link” [pnicolli]
Added target attribute to header and footer link [pnicolli]
1.3.3 (2014-12-11)
Do not show portlet without border, if there isn’t any text [cekk]
1.3.2 (2014-09-10)
Moved to github [cekk]
1.3.1 (2013-01-25)
Fix italian translation [mirco.angelini]
1.3.0 (2013-01-14)
Fixed acquisition problem in getting background image [cekk]
Added css stylesheet for background image [cekk]
1.2.5 (2012-07-25)
Added dutch translations [maurits]
1.2.4 (2012-05-02)
fixed Plone4 compatibility with hide field [cekk]
1.2.3 (2012-04-10)
fixed default value for hide portlet field [cekk]
1.2.2 (2011-10-18)
fixed Plone 4.1 compatibility in EditForm action [cekk]
1.2.1 (2011-10-13)
fixed include permission to be Plone 4.1 compatible [mirco.angelini]
1.2.0 (2011-10-10)
fixed vocabulary import to be Plone 4.1 compatible [keul]
removed broken ram.cache in render [cekk]
1.1.5 (2011-09-05)
new-old image workaround [mauro]
omit-border version of the portlet wasn’t using the portal transformed HTML [keul]
1.1.4 (2011-08-04)
fixed compatibility between old version (1.0.4) and new header image management [cekk]
1.1.3 (2011-07-22)
fixed text formatting and dependency with plone.portlet.static=1.2.1 [cekk]
1.1.2 (2011-07-18)
fixed url generating [cekk]
1.1.1 (2011-07-13)
fixed control in the footer [cekk]
1.1.0 (2011-06-30)
now the images are references to an image in the site [cekk]
release on pypi [cekk]
1.0.2 (2011-04-04)
fixed bug in the path for internal links [cekk]
1.0.1 (2011-03-24)
fixed problem with accents [cekk]
1.0.0 (2011-03-14)
Initial release
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
File details
Details for the file rer.portlet.advanced_static-3.1.0.tar.gz
.
File metadata
- Download URL: rer.portlet.advanced_static-3.1.0.tar.gz
- Upload date:
- Size: 62.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d541ce41016dba937932de671a8e76725cbad14f99a3c91afd4947241cbc8b18 |
|
MD5 | 7dabc68c547908c614d2978669e01801 |
|
BLAKE2b-256 | d78cbc11040197fd6dc71b2dda0dc43b24dd4845ecac81eaf07cfcb60ed53629 |