معرفی شرکت ها


djangocms-local-navigation-1.4.1


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Display menus based on the HTML structure of the pages
ویژگی مقدار
سیستم عامل -
نام فایل djangocms-local-navigation-1.4.1
نام djangocms-local-navigation
نسخه کتابخانه 1.4.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Sylvain Fankhauser
ایمیل نویسنده sylvain.fankhauser@liip.ch
آدرس صفحه اصلی https://github.com/liip/djangocms-local-navigation
آدرس اینترنتی https://pypi.org/project/djangocms-local-navigation/
مجوز BSD
# djangocms-local-navigation This package provides a DjangoCMS plugin that displays a menu based on the structure of the current page. You can for example create a local menu that is based on all the h2 elements on your page. ## Installation `$ pip install djangocms-local-navigation` Then add it to INSTALLED_APPS: ```python INSTALLED_APPS = ( # ... 'djangocms_local_navigation', ) ``` Also add the plugin processor, which will add the `id` attributes to your navigation elements, allowing you to actually linking to them: ```python CMS_PLUGIN_PROCESSORS = ( # ... 'djangocms_local_navigation.cms_plugin_processors.patch_elements', ) ``` You should now be able to add the plugin "Local menu" to your pages. ## Configuration ### CMS_LOCAL_NAVIGATION_NAV_ELEMENTS Default: `h2` Defines which elements are used to create the local menu. This is a CSS selector so if you want for example only elements with the class `local-navigation-heading` to be included in the navigation you could use `h2.local-navigation-heading`. ### CMS_LOCAL_NAVIGATION_XML_PARSER Default: `None` (means automatic detection) Defines which XML parser is used to add anchors to the elements and create the menu. Refer to [the BeautifulSoup documentation](https://www.crummy.com/software/BeautifulSoup/bs4/doc/#specifying-the-parser-to-use) for more information. Be advised that [lxml has known issues with mod_python](http://lxml.de/FAQ.html#my-program-crashes-when-run-with-mod-python-pyro-zope-plone) and can cause your processes to hang. ## Development To run the tests, use `./setup.py test`.


نحوه نصب


نصب پکیج whl djangocms-local-navigation-1.4.1:

    pip install djangocms-local-navigation-1.4.1.whl


نصب پکیج tar.gz djangocms-local-navigation-1.4.1:

    pip install djangocms-local-navigation-1.4.1.tar.gz