Re: [th-users] CkEditorPlugin configuration

2012-10-09 Thread Adria Stembridge
Following up in case someone else runs into this.   The problem was that I 
previously skipped the deploy step when installing Trac.   The deploycommand 
creates the common and site folders, among other things.  

Here are my installation and configuration steps.  This is known to work 
with Trac .12.   Always consult the installation instructions for Trac and 
TracCkeditor plugin prior to and during installation to ensure you 
understand each command and step. 

(or if installing the prior 


*My steps*
(install Trac per above)
trac-admin /path/to/trac/ initenv
chown -R apache:apache /path/to/trac/
trac-admin /path/to/trac deploy /path/to/trac/deploy
trac-admin /path/to/trac permission add admin TRAC_ADMIN
htpasswd -c trac.htpasswd admin

vi /etc/httpd/conf.d/trac.conf

# The Location is the part after the host (http://example.comLocation) 
# you want to serve the Trac site
Location /trac
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   # /path/to/svn/trac is the folder you gave to trac-admin initenv 
   PythonOption TracEnv /path/to/trac
   # /trac is the same as the Location above
   PythonOption TracUriRoot /trac
   # /tmp should be some writable temporary directory
   SetEnv PYTHON_EGG_CACHE /tmp 
   # trac can be any string, but must be the same for all 
   # Trac instances on the same Apache install 
   PythonInterpreter trac
Location /trac/login
   AuthType Basic
   AuthName Trac User
   AuthUserFile /path/to/trac/conf/trac.htpasswd
   Require valid-user

# note - you may get away with using the standard easy_install program.  I 
needed 2.6 for my environment.

[linuxbox]# easy_install-2.6
Doing subversion checkout from to 
Processing trunk
Running -q bdist_egg --dist-dir 
zip_safe flag not set; analyzing archive contents...
CKIntegration 1.1dev is already the active version in easy-install.pth

Installed /usr/lib/python2.6/site-packages/CKIntegration-1.1dev-py2.6.egg
Processing dependencies for CKIntegration==1.1dev
Finished processing dependencies for CKIntegration==1.1dev

mkdir /path/to/trac/htdocs/js
chown -R apache:apache /path/to/trac/
svn checkout 
# downloading files...
Checked out revision 7632.

vi /path/to/trac/conf/trac.ini


code_styles = php, js, html, sql, default, xml
editor_type = full_integration
editor_source = site/js/ckeditor/ckeditor.js


service httpd reload
Log into Trac and create ticket.  The standard Wiki toolbar appears on top 
of the new CKEditor edit box.   Copying and pasting text from Word/HTML 
appears to work OK for the most part.  

Thanks to the developers for this handy plugin.  Hope these notes are 
th-users mailing list

Re: [th-users] CkEditorPlugin configuration

2012-10-09 Thread Franz
Thanks Adria,

I updated Documentation in the Wiki under (just copied python-doc 
into wiki)

Best reagrds,

On Monday, October 8, 2012 7:32:18 PM UTC+2, Adria Stembridge wrote:


th-users mailing list

Re: [th-users] CkEditorPlugin configuration

2012-10-08 Thread Franz
Hello Adrya,

thanks for showing interest in the CkEditorPlugin.

As it is written in the Wiki-section Configuration 

editor_source: Path to CKEditor 3.6.x javascript source. 

So in your case the editor_source path should be 

Hope this helps,

Am 04.10.2012 22:07, schrieb Adrya Stembridge: Hello,
 I am very excited to find that a CkEditor plugin exists for Trac.
 I followed instructions on your helpful wiki page ( ), however after enabling the 
 plugin in *trac.ini* and reloading the httpd server, I still see the old 
 textbox.  I confirmed that the Ckeditor plugin shows enabled in the 
 Admin - Plugins section.
 The full path to the checked-out copy of ckeditor is:
 The documentation includes a sample config:
 Sample configuration (default values shown):
 code_styles=  cpp, csharp, java, js, python, sql, default, xml
 editor_type=  full_integration
 editor_source=  sites/js/ckeditor/ckeditor.js
 I modified the code_styles slightly, but left the other two options the 
 same.   Is the problem that the editor_source is not configured 
 correctly?  The folder sites looks unfamilar, but I'm unsure if that's 
 the way it needs to be for my installation.
 Thanks for any assistance you can provide.

th-users mailing list