Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
article list and not on frontpage - txp:article now needs frontpage="0
Following this set of changes
Section settings: name: foo
and on default page: no
Section template contains this to display a list of articles:
<txp:article listform="article_listing" limit="8" sort="Posted desc" allowoverride="0" wraptag="div" break="" class="archive-list article-list" />
Expected, when accessing domain.tld/foo/
: display a list of articles in that section (title + excerpt per my listform), and optionally a pagination bar – as has been the case for a long time
Actual result: nothing is displayed.
If I add frontpage="0"
to the <txp:article />
tag, things start to work…
(also affected: <txp:item_count />
and <txp:pages />
pagination widgets), both those need a <txp:article pgonly limit="8" />
before the actual output)
The <txp:article />
docs page is a little unclear on the subject.
Edit: made more clear, the expected output is a list of articles in that specific section.
Last edited by phiw13 (2024-06-03 06:31:58)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: article list and not on frontpage - txp:article now needs frontpage="0
Oh, and this, in an article list:
<txp:article sort="id desc" wraptag="ul" break="li">
<a href="<txp:permlink />"><txp:title /></a>
</txp:article>
That used to display a list of articles in that section (link + article title). Now: nothing. Adding frontpage="0"
does not help.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Offline
Re: article list and not on frontpage - txp:article now needs frontpage="0
I’ll test tomorrow morning local time when the sun rises again.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: article list and not on frontpage - txp:article now needs frontpage="0
This is working fine now. After reverting my templates to the original code, all article list – and <txp:items_count />
and the pagination block) display as expected. Thank you!
Now, let’s investigate what more those changes bring to the toolbox.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline