Epoz FAQ.txt,1.11,1.12 CHANGES.txt,1.103,1.104

Maik Jablonski <[email protected]>
Newsgroups gmane.comp.web.zope.epoz
Message-ID <[email protected]>
Update of /cvsroot/epoz/Epoz
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26172

Modified Files:
	FAQ.txt CHANGES.txt 
Log Message:
added CSS-IDs to all buttons so disabling single buttons gets much more easier

Index: FAQ.txt
===================================================================
RCS file: /cvsroot/epoz/Epoz/FAQ.txt,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** FAQ.txt	23 May 2005 20:47:33 -0000	1.11
--- FAQ.txt	24 May 2005 19:06:33 -0000	1.12
***************
*** 69,70 ****
--- 69,90 ----
  
       .visualFontSizeCorrection {font-size: 75%; background-color: #e0e0e0;}
+ 
+ 
+   - How can I customize the Epoz-Toolbar? I want to remove some buttons.
+ 
+      Two solutions (first recommended, second for backward compatibility):
+ 
+        1) Use a simple CSS-definition to hide all the buttons you don't like:
+ 
+         <style type="text/css">
+         <!--
+          #epoz_button_bold {display:none;}
+          #epoz_button_indent {display:none;}
+         //-->
+         </style>
+ 
+        See epoz/epoz_core/epoz_script_widget.js for the appropriate CSS-IDs.
+ 
+        2) Customize the epoz/epoz_core/epoz_script_widget.js as you like
+        and feed it into Epoz by calling Epoz with the widget-parameter which
+        should point to an url where your customized widget can be loaded from.

Index: CHANGES.txt
===================================================================
RCS file: /cvsroot/epoz/Epoz/CHANGES.txt,v
retrieving revision 1.103
retrieving revision 1.104
diff -C2 -d -r1.103 -r1.104
*** CHANGES.txt	23 May 2005 20:47:33 -0000	1.103
--- CHANGES.txt	24 May 2005 19:06:33 -0000	1.104
***************
*** 3,10 ****
--- 3,28 ----
   2.0.0 - call it EpozNIP (in progress)
  
+        ** PLEASE NOTE **: I needed to change the epoz_script_widget.js,
+        so if you use a customized version of it, please update your
+        template accordingly to the new one.
+ 
       - Epoz can now handle several wysiwyg-areas at once. Many thanks
         to Benoit Pin for his great work making this often requested feature
         real!!!!! Benoit, this release is dedicated to you!
  
+      - It is much easier now to disable single buttons without customizing
+        the epoz_script_widget.js. Just use some CSS like
+ 
+                <style type="text/css">
+                <!--
+                 #epoz_button_bold {display:none;}
+                 #epoz_button_indent {display:none;}
+                //-->
+               </style>
+ 
+        and "bold" and "indent" are gone. Thanks to Mathias Grund for
+        the nice idea! See epoz/epoz_core/epoz_script_widget.js for
+        the CSS-IDs for all buttons.
+ 
       - Fixed security-problem in __init__.py. Thanks to Benoit Pin for working
         this out and patch!
***************
*** 12,16 ****
       - Epoz used properties from stylesheet_properties.props in deciding the
         background and font of the buttons. stylesheet_properties.props is
!        depreciated in Plone 2.0.5. Thanks to Lucas Hofman for patch.
  
       - added AT-Image as additional image-type for Plone-Toolbox. Thanks
--- 30,34 ----
       - Epoz used properties from stylesheet_properties.props in deciding the
         background and font of the buttons. stylesheet_properties.props is
!        deprecated in Plone 2.0.5. Thanks to Lucas Hofman for patch.
  
       - added AT-Image as additional image-type for Plone-Toolbox. Thanks



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.