Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version bump and fix to documentation

  • Loading branch information...
commit 91031b347ff9cc82972a4e360d9a264576efbcad 1 parent 8020ebe
Zenobius Jiricek authored
Showing with 24 additions and 3 deletions.
  1. +23 −2 README.md
  2. +1 −1  cmsplugin_configurableproduct/__init__.py
View
25 README.md
@@ -15,6 +15,7 @@ This simple extension provides some plugins to display things about your
## Installation
1. make sure you are using a python virtual environment
+
virtualenv ~/Dev/virtualenv/projectname
. ~/Dev/virtualenv/projectname/bin/activate
cd ~/Dev/projects/projectname/
@@ -32,15 +33,35 @@ This simple extension provides some plugins to display things about your
Choosing a template in the administration interface means that you
populate the following two relative paths (to any of your app template dirs)
-with templates you desire tobe made available.
+with templates you desire to be made available.
* cmsplugin_configurableproduct/product-types
* cmsplugin_configurableproduct/product-list
-
Any .html file that doesn't contain the word 'base' will be presented in
the template selector combo dropdown in the admin interface.
+For example, if your django project was at :
+
+ ~/Dev/Django/MyProjectName/
+
+And you had a django application named `SomethingSomethingSomething` at :
+
+ ~/Dev/Django/MyProjectName/SomethingSomethingSomething/
+
+Then templates for this plugin could be found at :
+
+ ~/Dev/Django/MyProjectName/SomethingSomethingSomething/templates/cmsplugin_configurableproduct/product-types/*.html
+ ~/Dev/Django/MyProjectName/SomethingSomethingSomething/templates/cmsplugin_configurableproduct/product-list/*.html
+
+In fact, anywhere django looks for templates, you can place the following tree :
+
+ /cmsplugin_configurableproduct
+ /product-types
+ /*.html
+ /product-list
+ /*.html
+
### Customising Templates
View
2  cmsplugin_configurableproduct/__init__.py
@@ -1 +1 @@
-__version__ = '0.0.6'
+__version__ = '0.0.7'
Please sign in to comment.
Something went wrong with that request. Please try again.