Adding The Div Block Modifier to Textile
I recently updated my Textpattern, Textile file to 4.0.0. In doing so I forgot that sometime back I added the functionality to Textile to use a div element as a block modifier. For some reason its not possible to do this with the original Textile code:
div(bob). image or text
So, I quickly had to remedy this with a fix. If your interested here is the fix.
1. Open your classTextile.php file.
2. Search for the follow line (Around line 427):
$find = array('bq', 'h[1-6]', 'fnd+', 'p');
3. Replace the line with this:
$find = array('bq', 'h[1-6]', 'fnd+', 'p', 'div');
4. Save it and upload it.
If the mouse pointer changes to a hand when you roll-over an image associated with a story the image upon clicking either links to enlarged version of the image or a website associated with the image.