Revision: 644
Author: batiste.bieler
Date: Fri Aug 14 09:49:58 2009
Log: Fix revisions with tinyMCE
http://code.google.com/p/django-page-cms/source/detail?r=644
Modified:
/trunk/example/settings.py
/trunk/example/templates/pages/index.html
=======================================
--- /trunk/example/settings.py Sat Jul 11 06:22:03 2009
+++ /trunk/example/settings.py Fri Aug 14 09:49:58 2009
@@ -94,11 +94,19 @@
'tagging',
'pages',
'mptt',
+ #'tinymce',
)
-PAGE_CONNECTED_MODELS = [
-
{'model':'documents.models.Document','form':'documents.models.DocumentForm'},
-]
+#PAGE_TINYMCE = True
+
+PAGE_CONNECTED_MODELS = [{
+ 'model':'documents.models.Document',
+ 'form':'documents.models.DocumentForm',
+ 'options':{
+ 'extra': 3,
+ 'max_num': 10,
+ },
+},]
# Default language code for this installation. All choices can be found
here:
# http://www.i18nguy.com/unicode/language-identifiers.html
=======================================
--- /trunk/example/templates/pages/index.html Wed Jul 8 15:14:46 2009
+++ /trunk/example/templates/pages/index.html Fri Aug 14 09:49:58 2009
@@ -118,6 +118,9 @@
<div>body placeholder
<div id="body" class="placeholder">{% placeholder body on
current_page with WYMEditor parsed %}</div>
</div>
+
+ {% placeholder content2 with TinyMCE %}
+
<div>
</div>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---