EllisLab text mark
Advanced Search
     
EE 2.x Plugin: Textile
Posted: 04 December 2009 05:42 AM
Avatar
Joined: 2007-03-20
99 posts

I have adapted the Textile Plugin to new ExpressionEngine 2.x architecture.

Just unzip the attached file to the third_party folder*:

webroot/system/expressionengine/third_party/

*If you have moved the ‘system’-Folder to another path go there


The folder structure slightly differs from EE 1.x, the plugin has its own folder:

/third_party/
        |
        |-textile/pi.textile.php


Use it in your templates in this way:

{exp:textile}

stuff
...

{/exptextile} 

A short explanation and usage examples can be found here.


Known issues

2009/12/04: With current build (v2.0.0pb01, 20091203) it is not possible to add Textile formatting to a custom field in the controlpanel (Reported issue)

File Attachments
textile.zip  (File Size: 12KB - Downloads: 746)
 Signature 

ideenhafen® | creativemac

 
Posted: 04 December 2009 05:47 PM   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-13
3807 posts

Sweet.

Now all we need is the Textile Editor Helper (TEH) to be ported over.

 Signature 

web: Caffeine Creations twitter @CS_sean

 
Posted: 12 February 2010 07:56 AM   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2007-02-11
575 posts

Just a quick tip; if you’re going to use Textile for comments for instance, like this:

{exp:textile}{comment}{/exp:textile} 

.. make sure you’ve set “Comment Text Formatting: None” in “Channel Preferences -> Comment Posting Preferences” otherwise Textile won’t work (the comment will be “h2. this is my header” and Textile won’t touch it because of the ‘s).

 Signature 

bybjorn.com: ExpressionEngine Freelancer - Premium ExpressionEngine 2.0 Themes - WDA: ExpressionEngine Add-ons - contact me on twitter: twitter.com/bjornbjorn - Zerply profile: zerp.ly/bjornbjorn