Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Products.SmartColorWidget
Advanced tools
SmartColorWidget is a user-friendly color picker widget for Archetypes. It allow quick and easy color selection from 3 different ways:
The 3 inputs modes are javascript-wired and dynamically change when anything is modified
A demo type is included. Set `INSTALL_DEMO_TYPES= 1 in
config.py``` to
enable it.
read docs/Install to install the package in your zope instance using buildout or easy_install
Install the skin in your Plone Site with the Quickinstaller tool
In your custom Archetype, add::
from Products.SmartColorWidget.Widget import SmartColorWidget
Use it like a regular field/widget in your Type's Schema. Example::
StringField('color', default='#00FFFF', searchable=0, required=0, widget=SmartColorWidget( label='Color', ) ),
This product was built by Pierre Gayvallet <mailto:support@ingeniweb.com>
_.
The jQuery team <http://jquery.com>
_, for their powerfull javascript library.
EasyRGB <http://www.easyrgb.com>
_, for the colors transformation formulas.
Roland Fasching <http://www.sterngasse.at>
_ for the widget idea from
ATColorPickerWidget.
edit macro template is simplified
some js fixes :
resolve problems with css colors,
translate rgb colors,
translate 3 digits only hexa color.
Removing included jQuery. We use the jQuery that ships with Plone
Removing CMF skins layer. All's going to browser resources.
Upgrade step
jquery-1.1.2.js removed from portal_javascripts (already installed in Plone3.1)
css colors (white, red, black ...) are changed in hexadecimal colors at first field edition
product is packaged for buildout and easy_install
added configure.zcml and profile installation
FAQs
Smart color picker widget for Archetypes
We found that Products.SmartColorWidget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.