Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-04-10 15:34:53

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Textile not processed within <txp:yield/> content

I was disappointed today when I discovered that textile passed to my form for my yield tag doesn’t get processed.

Is that normal for any form, or is that specific to the block passed to yield ?

Is there any way to force textile processing?

Offline

#2 2013-04-10 16:04:39

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,794
Website GitHub

Re: Textile not processed within <txp:yield/> content

mericson wrote:

Is that normal for any form, or is that specific to the block passed to yield ?

As far as I remember, Textile doesn’t get processed anywhere other than when you Save an article. Creating Textile on the fly when rendering can be quite processor intensive, which is why it’s done in advance at save time.

Is there any way to force textile processing?

There’s the upm_textile plugin.

Last edited by Bloke (2013-04-10 16:07:16)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2013-04-10 16:38:17

mericson
Member
Registered: 2004-05-24
Posts: 137
Website

Re: Textile not processed within <txp:yield/> content

Bloke wrote:

As far as I remember, Textile doesn’t get processed anywhere other than when you Save an article. Creating Textile on the fly when rendering can be quite processor intensive, which is why it’s done in advance at save time.

Aha! That makes total sense. Not sure why after >8 years of textpattern that never registered with me! Even when I have seen the HTML vs. raw tables in the database.

-Mark

Offline

Board footer

Powered by FluxBB