ProjectPier Textile Editor



I've been using ProjectPier on and off for a minute now, from the days when it was ActiveCollab, and I love it. My problem though is that this lovely project management doesn't have a user friendly GUI when it comes to adding text. So I went looking and found nothing.

As a result of my searching I came across a textile editor and decided to make a hack. Now you can add a textile editor to ProjectPier instillation with 5 simple steps. Enjoy!


Download: ProjectPier Textile Editor
* Credit: Textile Editor Helper by Dave Olsen and Chris Scharf

9 comments:

Oscar said...

This is fantastic! Thanks.

Oscar said...

I just noticed that the Textile Editor doesn't account for the messages being sent through email. They are not parsed by Textile and just return as regular text.

I don't know how difficult it would be to implement, but it should would be nice.

Gabre said...

Oscar, I actually started working on a verison 1.1 with that feature but when I tested it I got the e-mail with html not parsed. I'll look into it further.

Thanks for the feedback.

Raheel said...

Hey! This is great work. Thanks for this.

Just wondering, is there anyway we can have this editor installed on

- Add Task

It would be great if you could give a documentation on how to add on task.

Thanks! This is great work indeed.

Bala said...

Hi. I'm totally new to PP. I was searching for Textile kind of editor since i install. but i don't know how to install it.

can you please explain those five steps..?

Bala said...

I download and put the WYSIWYG folder in the assets directory but still its not working.

Gabre said...

Thy the latest version - http://www.box.net/shared/ff7muam502

Unknown said...

Thanks a lot, man.
But I still hope PP will come to an official GUI editor included in core :)

Unknown said...

I checked the log file and got this error.

Session "default" started at 2010-03-04T14:28:00+0000
#1 ERROR: Error: Undefined variable: textareaID in 'application/layouts/project_website.php' on line 46 (error code: 8)
Time since start: 0.11731290817261 seconds

So I found this code needs to change a little bit:


-------CURRENT-------------

  <!-- WYSIWYG - Textile Editor Helper -->

<?php

// WYSIWYG implemented by Gabre Cameron

// URL: http://pxljunkie.blogspot.com

$pageTitle = get_page_title();

switch ($pageTitle)

{

case 'Add project':

$textareaID = 'projectFormDescription';

break;



case 'Edit project details':

$textareaID = 'projectFormDescription';

break;


}

echo '<link href="public/assets/wysiwyg/stylesheets/textile-editor.css" media="screen" rel="Stylesheet" type="text/css" />  

<script src="public/assets/wysiwyg/javascripts/textile-editor.js" type="text/javascript"></script>

<script type="text/javascript">

Event.observe(window, "load", function() {

TextileEditor.initialize("'.$textareaID.'", "extended");

});

</script>';

?>

<!-- WYSIWYG - Textile Editor Helper Ends -->  

----------/CURRENT----------------

The $textareaID may be empty and so has the error. So change to following will avoid it:







---------CHANGES TO---------------

  <!-- WYSIWYG - Textile Editor Helper -->

<?php



// WYSIWYG implemented by Gabre Cameron

// URL: http://pxljunkie.blogspot.com



$pageTitle = get_page_title();



switch ($pageTitle)

{

case 'Add project':

$textareaID = 'projectFormDescription';

break;



case 'Edit project details':

$textareaID = 'projectFormDescription';

break;



}

if (!empty($textareaID)) {

echo '<link href="public/assets/wysiwyg/stylesheets/textile-editor.css" media="screen" rel="Stylesheet" type="text/css" />  

<script src="public/assets/wysiwyg/javascripts/textile-editor.js" type="text/javascript"></script>

<script type="text/javascript">

Event.observe(window, "load", function() {

TextileEditor.initialize("'.$textareaID.'", "extended");

});

</script>';

}

?>

<!-- WYSIWYG - Textile Editor Helper Ends -->  

----------/CHANGE TO----------------

Post a Comment