Joomla Textile Plugin

During the process of migrating a large Joomla site from 1.0 to 1.5 I ran into a problem. As usual with any sites with user editable content, I had steered away from using a WYSIWYG editor (I’ve yet to find one that actually works!) and have used Textile to format the content.

However, some serious Googling did not reveal a plugin for Joomla 1.5 to render the content. The original “mos Textile” mambot has disappeared and “rok Textile” does not work on 1.5

So I have lashed together a Joomla 1.5 plugin which will render textile markup correctly (including SmartyPants extensions).

Extension details:

  • I’ve called the plugin jTextile
  • It’s a BETA release
  • There is no documentation
  • There are no configuration options
  • It works on the content only
  • It is based on the work of others, thanks to their efforts
  • It can be downloaded from here

If there is any interest from out there, I’ll extend and support the plugin. Feel free to post comments or questions in this blog.

17 Replies to “Joomla Textile Plugin”

  1. Fantastic Informations, i just found this blogpost story from my technorati profile news feeds section! I was searching for this since past 3 months and i am glad to see it here. Thanking you much

    Jeniffer.

  2. Hi,

    Thanks for the information,just found this post my technorati news feed section! I was searching for this since past 3 months and i am glad to see it here. Thanking you much

    Martin

  3. Hi:
    Its definitely for content, it should convert any article written using the markdown syntax into well formed html. We’ve tested it and are confident that it works OK. Contact me directly if you’d like some more help. Nigel

  4. Hi Nigel,
    Thanks for the file. I tried it, but it did not produce the output in my content that I was hoping. I looked at it and it looks like it is meant for modules and not the content component. Is that right? But I am not sure about anything right now. When I tried the plugin, my site loaded weird on IE, then I uninstalled it and my right modules don’t load right. My site is fine on firefox but not IE. I have been getting error messages and trying to fix the IE problem. So I really don’t know if the plugin works or I am having another problem. I will test again once my site is back to normal.
    If you have some input, that would be appreciated.

    Robin

  5. Hi Nigel,
    I have not heard from you for a while and just thought I’d post you a note.
    Are you still going to do the markdown plugin for joomla 1.5? Still interested? Your help would be very appreciated.
    Have a nice day.
    Robin

    1. Robin:
      Turns out I’m too committed to do this myself as originally planned. However, I have briefed my programmer and you can expect a result in about a week.

  6. Hi Nigel,
    The textile plugin did not insert the break or paragraph tags in the output function. I used the plain text editor for the content and the tags did not get placed after saving the article. I only had the textile plugin published. Not the markdown.

    Wow. Does that mean you are going to help me with the markdown plugin? I would be sooooooooo happy. The plugin works well with the tabs, kl_rssfeed and iframe plugins.

    I found that the textile mambot fot the joomla 1.0 did not work with content mixed with other mambots. The markdown extra does.

    You just gave me the best Easter present with the markdown plugin. Let me know if there is something I can do to help you.

    Robin

  7. Robin: when you say that it doesn’t work, do you mean that it doesn’t work with your markdown content, or that it doesn’t work with textile source?

    Implementing the markdown plugin for 1.5 should be relatively easy. I’ll see if I can find some time next week to work on it.

    -nb

  8. Hi Nigel,
    Thanks for getting back to me. This is the XML error I get after install. XML Parsing Error at 1:0. Error 4: not well-formed (invalid token)
    I enabled the plugin and don’t use smartypants. And it still does not work. Is it the xml error? How could I fix it? I used to use the textile mambot with the joomla 1.0. But I do prefer the markdown extra.

    I was wondering if you could help me to get the josmarkdown for joomla 1.0X to work it joomla 1.5X?? I really had good luck with it. I tried to make it work by adding the database table and files but, joomla 1.5 does not respond to the function. Here is the info link http://extensions.joomla.org/extensions/edition/code-display/2489/details It uses markdown extra at http://michelf.com/projects/php-markdown/extra/

    I emailed both developers, but have not gotten back to me or maybe they are just busy. The markdown and textile are very similar. If you could help me get the markdown plugin to work, that would be wonderful, since I have over a thousand pages without tags, which make the pages very messy.

    Please think about it. I am sure it would be useful for both of us.
    Robin

  9. Robin, I think that the XML error might be benign — have you activated the plugin?

    If so, and it still doesn’t work, try disabling smartypants. Unfortunately, the only way to do that at this time is to edit the jtextile.php file

    Nigel

  10. Hi Nigel,
    I tried the jTextile plugin and I got an xml error message after install and it did not work. I am in the same position. I used the josmarkdown plugin for joomla 1.0x and I can’t get it to work in the joomla 1.5. I have many pages that count on that plugin. Contact me if you can help me out with the josmarkdown plugin. Lets see if we can help each other.
    Robin

  11. Great plugin. This is what i’ve search exactly! Thank you for your work. I’m going to install and test it.

    Hint. We have created some sites with help RubyOnRails with Textile support, under each content box was placed help boxes with Textile examples. It’s very useful for new in Textile.

Leave a Reply

Your email address will not be published. Required fields are marked *