Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[SOLVED] Custom fields with line breaks in 4.7?
How can i turn certain custom fields into accepting/saving/rendering line breaks or even textile in TXP 4.7.1?
Thanx for any hints!
Last edited by jayrope (2018-07-24 15:40:00)
A hole turned upside down is a dome, when there’s also gravity.
Offline
#2 2018-07-24 15:03:00
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: [SOLVED] Custom fields with line breaks in 4.7?
See the escape
attribute in the doc …
Offline
Re: [SOLVED] Custom fields with line breaks in 4.7?
Sorry i had to edit this as i found the answer (though not on https://docs.textpattern.io/tags/custom_field):
Setting escape="textile"
turns a custom field into a fully customizable textfield, when it’s type is set to textarea
in glz_cf.
Awesome. Thanx!
Last edited by jayrope (2018-07-24 15:43:19)
A hole turned upside down is a dome, when there’s also gravity.
Offline