Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-07-24 13:50:56

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

[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

#3 2018-07-24 15:29:10

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

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

Board footer

Powered by FluxBB