Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2018-06-29 11:25:39

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Got 1 in html when txp:article is empty (TXP 4.7)

Wanderer wrote #312767:

… has worked for five years (single page).

It still works for single article page, but not for article lists, unless you put it inside an article form/tag. Outside an article context these tags are meaningless anyway.

Offline

#17 2018-06-29 11:56:36

Wanderer
Member
Registered: 2009-02-06
Posts: 23

Re: Got 1 in html when txp:article is empty (TXP 4.7)

(Sorry for DeepL translation.)

Thank you for pointing to <txp:article />

Previously: <txp:output_form form="textseite" />

New: <txp:article form="textseite" /> Works!

Thank you.

Offline

#18 2018-06-29 12:19:25

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Got 1 in html when txp:article is empty (TXP 4.7)

You are welcome, glad it’s solved. I am testing the previous behavior in dev now. We will restore it in the next release if everything is ok, but no rush, only improperly used tags are concerned.

Offline

Board footer

Powered by FluxBB