Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Custom Fields - Use Textile
The subject might be misleading – stick with me…
I’m making some mods to txp_article.php as described here
Essentially it takes a custom field and turns it into an extra “excerpt”. I have it all working well – I’m just looking for a way apply either “convert line breaks” or “use textile” to this new excerpt. Preferably “use textile”.
Here’s what I have added to my txp_article.php
echo graf(gTxt('Additional Features').br. '<textarea id="addfeat" cols="60" rows="5" cols="55" name="custom_1" tabindex="3">'.htmlspecialchars($custom_1).'</textarea>');
Any help would be much appreciated.
- )
Offline
Re: Custom Fields - Use Textile
You could do it in your template with upm_textile (simplest method).
Offline
Re: Custom Fields - Use Textile
[slaps forehead]
Duh. I totally forgot all about upm_textile.
Thanks mate.
Offline
Pages: 1