Collective.superfish

Latest version: v2.0

Safety actively analyzes 715081 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.5

----------------

- use `official hoverIntent.js`_ with docstring and versioninfo
and replaced ``(function($){})(jQuery);`` with
``jQuery(function($){});`` syntax so the script does not conflict with
collective.carousel (when both are merged to the same file by portal_javascript).
[fRiSi]

.. _`official hoverIntent.js`: http://cherne.net/brian/resources/jquery.hoverIntent.js

0.4

----------------

- removed desc.replace(...) and added a custom entities method to fix 1.
[saily]

- don't use version in metadata.xml for the package version in setup.py.
the metadata version this is meant to reflect the version of the GS profile
and must not be mixed up with the package version. [fRiSi]

0.3

----------------

- Replace " with " to keep valid HTML if description contains quotes.
[saily]

- Made id-generation more resistent against duplicated id's. We now use
normalized urls to generate the item id. [saily]

- added support to include portal_tabs in the superfish navigation by setting
``ADD_PORTAL_TABS = True`` in subclasses [fRiSi]

- added some documentation targeted at integrators [fRiSi]

- don't render superfish_init.js with ``inline=True`` since this leads to
strange errors in
Products.ResourceRegistries-2.0b2-py2.6.egg/Products/ResourceRegistries/browser/scripts.pt
eg when adding a `StaticText Portlet`

``AttributeError: 'DirContainedFileResource5' object has no attribute 'POST'``

according to the `resourceregistry documentation`_ it's better to set inline to `False`
in any case.

.. _`resourceregistry documentation`: http://plone.org/documentation/kb/working-with-resourceregistries/registry-entry-parameters

- Removed caching after some discussions with fRiSi.
We left the code but disabled it by default, enable it again uncommenting
the ram.cache line::

ram.cache(_render_sections_cachekey)
def render(self):
return self.index()

- Displaying superfish menu only when installed in portal_quickinstaller by
adding a superfish-browserlayer through browserlayer.xml file. [saily]

- Changed default values for 'interval' and 'timeout' of hoverIntent which
controls the show and hide process of the submenu. Read more about
configuration of hoverIntent here: http://cherne.net/brian/resources/jquery.hoverIntent.html

0.2

----------------

- Moved from full to safe compression for javascript files.
[saily]

- Removed unused class attributes for SuperFishViewlet.
[saily]

- Added caching to improve rendering performance.
[saily]

0.1

----------------

- Initial import and idea [saily]

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.