Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2018-06-28 21:08:17
- Wanderer
- Member
- Registered: 2009-02-06
- Posts: 23
Re: Got 1 in html when txp:article is empty (TXP 4.7)
<txp:body />
always shows 1
(4.7.1.)
Offline
Offline
#15 2018-06-29 11:13:27
- Wanderer
- Member
- Registered: 2009-02-06
- Posts: 23
Re: Got 1 in html when txp:article is empty (TXP 4.7)
<h1><txp:title /></h1>
<txp:body />
… has worked for five years (single page).
Last edited by Wanderer (2018-06-29 11:17:58)
Offline
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
Offline