{ "info": { "author": "Tonino Jankov", "author_email": "tyaakow@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "# mezzanineHtmlSlides\n\nAdd simple slide functionality to your Mezzanine based website allowing for\nbeautiful banners at the tops of pages.\n\n\n## Setup\n\n 1. Run `pip install mezzanineHtmlSlides`\n 2. In `settings.py` add `mezzanine_slides` to your `INSTALLED_APPS` above mezzanine apps.\n 3. Run createdb or syncdb, if running syncdb run migrate if you are using South.\n 4. If you haven't modified your `base.html` or `pages/page.html` templates then you can just `manage.py collectemplates mezzanine_slides` and use the ones I provide. If you've already modified these templates see the Templates section for continued instruction.\n\n\n## Templates\n\nAdd this to your `pages/page.html` anywhere as long as it's not inside another\nblock:\n\n {% block slides %}{% if page.slide_set.all %}\n
\n
\n \n
\n
\n {% endif %}{% endblock %}\n\nAdd this to `base.html` where you would like the slides to appear, which is\nusually between your main content and the navigation:\n\n {% block slides %}{% endblock %}\n\nNotice that I include the `row` and `span12` classes on the `pages/page.html`\ntemplate so that if you don't have any slides then nothing is added to the page.\n\nNow you'll need to include the CSS and JS in your compress areas of your\n`base.html` template:\n\n {% compress css %}\n ...\n \n {% endcompress %}\n\n\n {% compress js %}\n ...\n \n {% endcompress %}\n\nLastly you'll need to invoke the slides JavaScript by putting\n`$('.rslides').responsiveSlides();` on in your JavaScript somewhere. In the\n`base.html` template I put this in the header around line 34 where I found some\nother JavaScript functions to just make it easy and try to conform to the\noriginal Mezzanine as much as possible, here is an excerpt of the area:\n\n \n\n\n## Credits\n\nThanks to [Viljami Salminen][0] for his great [ResponsiveSlides.js][1] plugin.\n\n\n## License (Simplified BSD)\n\nCopyright (c) Isaac Bythewood\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n[0]: http://viljamis.com/\n[1]: http://responsive-slides.viljamis.com/", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/tjankov/mezzanineHtmlSlides/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tjankov/mezzanineHtmlSlides", "keywords": null, "license": "Simplified BSD", "maintainer": null, "maintainer_email": null, "name": "mezzanineHtmlSlides", "package_url": "https://pypi.org/project/mezzanineHtmlSlides/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mezzanineHtmlSlides/", "project_urls": { "Download": "http://github.com/tjankov/mezzanineHtmlSlides/downloads", "Homepage": "http://github.com/tjankov/mezzanineHtmlSlides" }, "release_url": "https://pypi.org/project/mezzanineHtmlSlides/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Plug a html slideshow into your mezzanine website on all pages.", "version": "0.1.1" }, "last_serial": 794756, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "dd4c994a12d5faa683af6cd8eb741256", "sha256": "08cded4e1c7b8eefcf2f52bba22adf5fd4d321904e0d3fa5d5669ab7f1fe452f" }, "downloads": -1, "filename": "mezzanineHtmlSlides-0.1.0.tar.gz", "has_sig": false, "md5_digest": "dd4c994a12d5faa683af6cd8eb741256", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7692, "upload_time": "2013-01-15T01:13:35", "url": "https://files.pythonhosted.org/packages/a0/6b/5c36d604cadab9cbd82899a44ec17d0cf2f9b6689b67139a21341c3cdc36/mezzanineHtmlSlides-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "738612bc2e4d02aaa8cc0cd5bb863dc8", "sha256": "0578349613d83e059dcf88701b2a25e8899880a64428501b239079ad2c764c22" }, "downloads": -1, "filename": "mezzanineHtmlSlides-0.1.1.tar.gz", "has_sig": false, "md5_digest": "738612bc2e4d02aaa8cc0cd5bb863dc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7704, "upload_time": "2013-01-15T04:34:19", "url": "https://files.pythonhosted.org/packages/6a/00/ff3b2b4166f1ff08f036d0b3bd481924b8cd3ea39688e8b9ee90303ffed4/mezzanineHtmlSlides-0.1.1.tar.gz" } ], "0.1.2dev": [ { "comment_text": "", "digests": { "md5": "e8c2cfce9892580d69771b71509a6cd0", "sha256": "6cebfd5535699f5dce49a9d2ebc1dbdf96b9fff8f8f8423747bb40c3aa6c9579" }, "downloads": -1, "filename": "mezzanineHtmlSlides-0.1.2dev.tar.gz", "has_sig": false, "md5_digest": "e8c2cfce9892580d69771b71509a6cd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7726, "upload_time": "2013-01-17T08:42:25", "url": "https://files.pythonhosted.org/packages/80/cb/e903494ec2c22745a0b818982bc21f1d351d77794265f016ecdc5ea32a6b/mezzanineHtmlSlides-0.1.2dev.tar.gz" } ], "0.1.3dev": [ { "comment_text": "", "digests": { "md5": "ee8630a6227abba0550deb22c9b25c90", "sha256": "9145307b59b8c29a54af95e9d61fd255a5f647d30bda0ff9db36890fee4b46f5" }, "downloads": -1, "filename": "mezzanineHtmlSlides-0.1.3dev.tar.gz", "has_sig": false, "md5_digest": "ee8630a6227abba0550deb22c9b25c90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9021, "upload_time": "2013-01-19T23:33:56", "url": "https://files.pythonhosted.org/packages/2f/d4/4c22d59102a88b9a33ca134dbaaa2eb73b82787d7ca723ac41a120c3a8cf/mezzanineHtmlSlides-0.1.3dev.tar.gz" } ], "0.1.5dev": [ { "comment_text": "", "digests": { "md5": "bb2f17f2014d4cae9f344bdd2131f88e", "sha256": "985be3dcd83064d4aba547dd3ca12cf661c82360f8297a1298f6a512cdec2997" }, "downloads": -1, "filename": "mezzanineHtmlSlides-0.1.5dev.tar.gz", "has_sig": false, "md5_digest": "bb2f17f2014d4cae9f344bdd2131f88e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19047, "upload_time": "2013-01-21T05:23:03", "url": "https://files.pythonhosted.org/packages/fc/8f/07f58ba93225983948af6633129ce8f0bd03c9f35adbbde2e1f4f2803fa7/mezzanineHtmlSlides-0.1.5dev.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "738612bc2e4d02aaa8cc0cd5bb863dc8", "sha256": "0578349613d83e059dcf88701b2a25e8899880a64428501b239079ad2c764c22" }, "downloads": -1, "filename": "mezzanineHtmlSlides-0.1.1.tar.gz", "has_sig": false, "md5_digest": "738612bc2e4d02aaa8cc0cd5bb863dc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7704, "upload_time": "2013-01-15T04:34:19", "url": "https://files.pythonhosted.org/packages/6a/00/ff3b2b4166f1ff08f036d0b3bd481924b8cd3ea39688e8b9ee90303ffed4/mezzanineHtmlSlides-0.1.1.tar.gz" } ] }