Hello !!!
At the request of Conrado and Cabeza, I will show you how I implemented my version of Wikitext in OpenGoo. (Reference:
http://forums.opengoo.org/index.php?topic=2909)
The trick.I added at the end of the file
/environment/functions/general.php , the code shown at:
http://www.in3.com.ar/pub/og_general.php.htmlI search all the files in the OpenGoo code containing a call to any combination off
convert_to_links(nl2br(clean(...))) and replace these calls by
custom_wiki2html as in
http://www.in3.com.ar/pub/og_use_sample.php.html
The code.The function
custom_wiki2html checks if the text to display begins with
#!wiki .
In this case, it process the text with de method
wikify of the class
wiki2htmlController (
http://www.in3.com.ar/pub/og_Wiki2HtmlController.class.php.html)
This class implements the
WikiParser module (
http://www.in3.com.ar/pub/og_WikiParser.php.html) based on code I found at
http://wiki2cool.kalfane.org/The WikiParser module works in combination with a CSS shown at:
http://www.in3.com.ar/pub/og_custom.css.html
I think it would be a good idea to replace all calls to
convert_to_links (nl2br (clean (...))) and similar by something like "format_text", "display_text" or the name that you like, to make easier adding plugins to format comments, descriptions, and other texts.
That's all
Enjoy !!!
Regards, Claudio.