{ "info": { "author": "Zenobius Jiricek", "author_email": "airtonix@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "## DjangoCMS Embedded Menu\n\nThis simple extension allows you to place menus in placeholders via the\nadministration interface.\n\n\n## Requirements\n\n* django-cms\n* And all the requirements the above project(s) depend on.\n\n\n## Installation\n\n1. make sure you are using a python virtual environment\n\n virtualenv ~/Dev/virtualenv/projectname;\n . ~/Dev/virtualenv/projectname/bin/activate;\n cd ~/Dev/projects/projectname/;\n\n2. install it from pypi\n\n `pip install cmsplugin-embedded-menu`\n\n3. or, install it from github\n\n `pip install git+https://github.com/airtonix/cmsplugin-embedded-menu`\n\n## Configuration\n\n1. add `cmsplugin_embeddedmenu` to your `INSTALLED_APPS`\n\n2. perform a `./manage.py migrate` (for south users), or `./manage.py syncdb`\n\n3. There is no step three!\n\n\n## Override Template\n\nChoosing a template in the administration interface means that you\npopulate the following two relative paths (to any of your app template dirs)\nwith templates you desire to be made available.\n\n* cmsplugin_embeddedmenu/layouts\n\nAny .html file that doesn't contain the word 'base' will be presented in\nthe template selector combo dropdown in the admin interface.\n\nFor example, if your django project was at :\n\n `~/Dev/Django/MyProjectName/`\n\nAnd you had a django application named `SomethingSomethingSomething` at :\n\n `~/Dev/Django/MyProjectName/SomethingSomethingSomething/`\n\nThen templates for this plugin could be found at :\n\n `~/Dev/Django/MyProjectName/SomethingSomethingSomething/templates/cmsplugin_embeddedmenu/layouts/*.html`\n\nIn fact, anywhere django looks for templates, you can place the following tree :\n\n```\n /cmsplugin_embeddedmenu\n /layouts\n /*.html\n```\n\n### Customising Templates\n\nTemplates in all groups are provided the context :\n\na CMSPlugin has many useful attributes for you to use, the main one\nis `plugin.instance` a reference to the settings model.\n\n> plugin' :\n> An instance of CMSPlugin, which itself provides reference to either\n> of the settings models as outlined below.\n\n#### base.html\n\nbase.html in the `cmsplugin_configurableproduct` directory is used to load the\nselected template chosen in the administration interface.\n\n\n#### ./layouts/*.html\n\ntemplates here are provided the context :\n\n> plugin.instance\n> template\n> Chosen template.\n>\n\n\n\n## Contributions\n\nanyone is free to contribute, simply submit a merge request at\ngithub : http://github.com/airtonix/cmsplugin-configurableproduct\n\n\n## Todo\n\nprovide option to manipulate menu choices:\n\n* Refine the product filter.\n* Provide better default templates.\n* Allow selecting/use of snippets for menu templates?", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/airtonix/cmsplugin-embedded-menu", "keywords": "django-cms,plugin", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "cmsplugin-embedded-menu", "package_url": "https://pypi.org/project/cmsplugin-embedded-menu/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cmsplugin-embedded-menu/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/airtonix/cmsplugin-embedded-menu" }, "release_url": "https://pypi.org/project/cmsplugin-embedded-menu/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "DjangoCMS plugin for embedding menus in placeholders", "version": "0.0.7" }, "last_serial": 787546, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "b7ed43dcbd06e1f3faef5394b9ef8cf5", "sha256": "d60433196626f850a9b63d7f8d21dd604ace92078df1a223798efff7fc231fb5" }, "downloads": -1, "filename": "cmsplugin-embedded-menu-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b7ed43dcbd06e1f3faef5394b9ef8cf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9124, "upload_time": "2011-12-31T15:14:36", "url": "https://files.pythonhosted.org/packages/ac/3e/0fd47a6b6e752fb81762a7ea5c50cde69097d39bedfec4a8ea0bd51b5909/cmsplugin-embedded-menu-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "a163585b9dd465ee5b9e6312c7ee5f9a", "sha256": "a0550519ab0bd50db41cd030766397adde2f04469cc695b25c12fd10e93564e6" }, "downloads": -1, "filename": "cmsplugin-embedded-menu-0.0.6.tar.gz", "has_sig": false, "md5_digest": "a163585b9dd465ee5b9e6312c7ee5f9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9794, "upload_time": "2011-12-31T15:23:59", "url": "https://files.pythonhosted.org/packages/77/e9/5678ff99ef977ce27a7f5881153f070245f20dac9c82e309db2616739544/cmsplugin-embedded-menu-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "c593923aecebdd6f9b3f6682491e19fd", "sha256": "7e7d4e78f7cb8391a0128fb8b70bfd6a7df3413905ffb5373a3d594e75fe34cb" }, "downloads": -1, "filename": "cmsplugin-embedded-menu-0.0.7.tar.gz", "has_sig": false, "md5_digest": "c593923aecebdd6f9b3f6682491e19fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9793, "upload_time": "2011-12-31T17:03:45", "url": "https://files.pythonhosted.org/packages/ce/29/73ee0d390aff71b7744155ae227f1453cf2bc68a647031905e6a4717a07b/cmsplugin-embedded-menu-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c593923aecebdd6f9b3f6682491e19fd", "sha256": "7e7d4e78f7cb8391a0128fb8b70bfd6a7df3413905ffb5373a3d594e75fe34cb" }, "downloads": -1, "filename": "cmsplugin-embedded-menu-0.0.7.tar.gz", "has_sig": false, "md5_digest": "c593923aecebdd6f9b3f6682491e19fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9793, "upload_time": "2011-12-31T17:03:45", "url": "https://files.pythonhosted.org/packages/ce/29/73ee0d390aff71b7744155ae227f1453cf2bc68a647031905e6a4717a07b/cmsplugin-embedded-menu-0.0.7.tar.gz" } ] }