{
"info": {
"author": "JeanMichel aka toutpt",
"author_email": "toutpt@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 4.0",
"Framework :: Plone :: 4.1",
"Framework :: Plone :: 4.2",
"Framework :: Plone :: 4.3",
"Framework :: Zope2",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7"
],
"description": "Introduction\n============\n\nThis addon provide a browser view @@themeswitcher which apply on the root\nand let you override the theme which is used on all theme technologies of Plone.\n\nThis addon is intended for integrators.\n\nPlone Theming stack\n===================\n\nportal_skins\n------------\n\nFrom CMF this is the most old piece. \n\nThis one is monkeypatched.\n\nbrowser_layer\n-------------\n\nfrom Zope3, this is the modern way to create and override views and so\n\"viewpagetemplatefile\".\n\nThis one is already set by plone.theme on the portal_skins.\n\ndiazo\n-----\n\nThe last technology it happens after the rendering of the page to make xslt\ntransform on the Plone rendered page.\n\nThis one is monkeypatched.\n\n\nSwitcher\n========\n\nThis addon has been designed to easily support new switcher. At the moment\nthe only switcher that is implemented is the \"mobile switcher\"\nbased on user agent from http://detectmobilebrowsers.com/ (python version).\n\nSome ideas on switcher that could be easily done:\n\n* switch on domain\n* switch on protocol (http / https)\n* switch on role\n* switch on path\n* switch on device (mobile, tablet, desktop)\n* switch on a cookie value\n\nHow to use\n==========\n\nYou just have to configure in portal_registry which switcher you want to use\nand configure it.\n\nTo use a specific diazo theme you have to copy it's settings to switcher\nregistry.\n\nFor example let say you want to use plonetheme.mobile only for a mobile\nyou have to add a registry.xml with::\n\n\n \n \n Mobile theme\n \n plonetheme.mobile\n \n \n \n Theme switcher\n The named switcher that will be used\n \n themeswitcher_mobile\n \n \n \n convert_relative_url\n False\n absolute_url_prefix\n \n /++theme++plonetheme.mobile\n \n \n \n current_theme_description\n current_theme\n \n plonetheme.mobile\n \n \n \n \n doctype_description\n False\n doctype\n \n <!DOCTYPE html>\n \n \n \n False\n enable_theme_globally\n enabled\n \n True\n \n \n \n \n 127.0.0.1\n \n hostname_blacklist_description\n False\n hostname_blacklist\n \n \n \n 127.0.0.1\n \n \n \n \n \n parameter_expressions_description\n \n False\n parameter_expressions\n \n \n \n python: request.form.get('ajax_load')\n \n \n \n \n False\n network_urls_allowed\n readNetwork\n \n False\n \n \n \n rules_file_path\n False\n rules_file\n \n /++theme++plonetheme.mobile/rules.xml\n \n\n\nHow to install\n==============\n\n.. image:: https://secure.travis-ci.org/toutpt/collective.themeswitcher.png\n :target: http://travis-ci.org/toutpt/collective.themeswitcher\n\nThis addon can be installed has any other addons. please follow official\ndocumentation_\n\nCredits\n=======\n\nCompanies\n---------\n\n* `Planet Makina Corpus `_\n* `Contact Makina Corpus `_\n\nPeople\n------\n\n- JeanMichel FRANCOIS aka toutpt \n\n.. _documentation: http://plone.org/documentation/kb/installing-add-ons-quick-how-to\n\nChangelog\n=========\n\n1.0a2 (2013-04-29)\n------------------\n\n- Nothing changed yet.\n\n\n1.0a1 (2013-04-20)\n------------------\n\n- Package created using templer\n [JeanMichel aka toutpt]",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/toutpt/collective.themeswitcher",
"keywords": "plone",
"license": "gpl",
"maintainer": null,
"maintainer_email": null,
"name": "collective.themeswitcher",
"package_url": "https://pypi.org/project/collective.themeswitcher/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/collective.themeswitcher/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/toutpt/collective.themeswitcher"
},
"release_url": "https://pypi.org/project/collective.themeswitcher/1.0a2/",
"requires_dist": null,
"requires_python": null,
"summary": "Theme switcher",
"version": "1.0a2"
},
"last_serial": 788233,
"releases": {
"1.0a1": [
{
"comment_text": "",
"digests": {
"md5": "6394174bc577439b5c7442ed0d18cdd4",
"sha256": "08442d47fb0d9b8afa4cb4c06753938f402bcdb2eeb070f8a0c1223391c8b6f1"
},
"downloads": -1,
"filename": "collective.themeswitcher-1.0a1.zip",
"has_sig": false,
"md5_digest": "6394174bc577439b5c7442ed0d18cdd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19051,
"upload_time": "2013-04-20T11:05:00",
"url": "https://files.pythonhosted.org/packages/7a/fd/1a432634858382e351297b1848f6dc1df87e1b3bda55423eeeed8a4cd018/collective.themeswitcher-1.0a1.zip"
}
],
"1.0a2": [
{
"comment_text": "",
"digests": {
"md5": "ca99f4a6d19a7b875e5b5b61bd68634d",
"sha256": "f31b5ab320158899a69da38f203a5e872109808201c01c5af848726fc85af35b"
},
"downloads": -1,
"filename": "collective.themeswitcher-1.0a2.zip",
"has_sig": false,
"md5_digest": "ca99f4a6d19a7b875e5b5b61bd68634d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27710,
"upload_time": "2013-04-29T15:17:58",
"url": "https://files.pythonhosted.org/packages/7d/9a/fdfae4c3d9fc08b89b124832463e16b4d55ab515a9c76415182bf22da3e7/collective.themeswitcher-1.0a2.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ca99f4a6d19a7b875e5b5b61bd68634d",
"sha256": "f31b5ab320158899a69da38f203a5e872109808201c01c5af848726fc85af35b"
},
"downloads": -1,
"filename": "collective.themeswitcher-1.0a2.zip",
"has_sig": false,
"md5_digest": "ca99f4a6d19a7b875e5b5b61bd68634d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27710,
"upload_time": "2013-04-29T15:17:58",
"url": "https://files.pythonhosted.org/packages/7d/9a/fdfae4c3d9fc08b89b124832463e16b4d55ab515a9c76415182bf22da3e7/collective.themeswitcher-1.0a2.zip"
}
]
}