معرفی شرکت ها


collective.editmodeswitcher-1.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Allows to toggle edit mode in Plone
ویژگی مقدار
سیستم عامل -
نام فایل collective.editmodeswitcher-1.1.0
نام collective.editmodeswitcher
نسخه کتابخانه 1.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده 4teamwork AG
ایمیل نویسنده mailto:info@4teamwork.ch
آدرس صفحه اصلی https://github.com/4teamwork/collective.editmodeswitcher
آدرس اینترنتی https://pypi.org/project/collective.editmodeswitcher/
مجوز GPL2
collective.editmodeswitcher =========================== collective.editmodeswitcher allows to toggle between edit and view only mode. This enables users with modify permissions to view a page without editable borders. The current setting is stored in a cookie and thus effective for multiple page views. This is especially useful in single sign on environments. Install ------- Add ``collective.editmodeswitcher`` to your buildout configuration: .. code:: ini [instance] eggs += collective.editmodeswitcher or add it as a dependency to one of your packages. Compatibility ------------- Runs with `Plone <http://www.plone.org/>`_ `4.2`, `4.3` and `5.1`. Usage ----- For toggling the edit-mode call the view ``@@switch-editmode``. This will toggle the edit mode and store the current edit mode status in a cookie for further requests. You can get the current state by calling ``@@switch-editmode/get_state``, this will return `enabled`, or 'disabled'. You may want to place an action somewhere for toggling the edit mode - this integration is not done by ``collective.editmodeswitcher``. Caching ------- ``collective.editmodeswitcher`` provides a ``plone.app.caching`` etag adapter named ``editmode``. This etag can be used in the caching configuration in order to make the cache flush when switching the edit mode. Links ----- - Github: https://github.com/4teamwork/collective.editmodeswitcher - Issues: https://github.com/4teamwork/collective.editmodeswitcher/issues - Pypi: http://pypi.python.org/pypi/collective.editmodeswitcher - Continuous integration: https://jenkins.4teamwork.ch/search?q=collective.editmodeswitcher Copyright --------- This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_. ``collective.editmodeswitcher`` is licensed under GNU General Public License, version 2. Changelog ========= 1.1.0 (2019-10-15) ------------------ - Drop Plone 4.1 support. [jone] - Add Plone 5.1 support. [tinagerber] 1.0.3 (2016-05-12) ------------------ - Provide plone.app.caching etag "editmode". [jone] 1.0.2 (2016-02-12) ------------------ - Implement traversable get_state method, which returns the curren edit-mode state. [mathias.leimgruber] - Use ftw.testbrowser for testing. [mathias.leimgruber] 1.0.1 (2013-05-24) ------------------ - General package clean up: Update Readme, update metadata, testing, declare dependencies 1.0 (2011-02-25) ---------------- - Initial release


نحوه نصب


نصب پکیج whl collective.editmodeswitcher-1.1.0:

    pip install collective.editmodeswitcher-1.1.0.whl


نصب پکیج tar.gz collective.editmodeswitcher-1.1.0:

    pip install collective.editmodeswitcher-1.1.0.tar.gz