Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-05-13 12:35:02

Gallex
Member
Registered: 2006-10-08
Posts: 1,292

category page

Tag error:  ->  Textpattern Notice: Page template default does not contain a txp:article tag. while parsing form None on page default

this error appears on category page. could you please help me to add a missing article tag into this code?

<txp:if_section name="arhiiv">
<txp:if_individual_article>
<txp:article limit="1" form="front" />
<txp:else />
<txp:if_category>
<txp:category title="1" wraptag="h4" />
<txp:article_custom limit="100" category='<txp:category />' wraptag="ul" break="li" class="article-tooted" sort="Posted desc">
<div class="toote-eelvaade">
<div class="toote-pilt">
<txp:permlink><txp:article_image thumbnail="1" /></txp:permlink>
</div>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
</div>
</txp:article_custom>
<txp:else />
<txp:article status="sticky" />
<txp:category_list parent='<txp:section />' exclude='<txp:section />' sort="name desc">
<txp:if_different><txp:category title="1" link="1" wraptag="h4" /></txp:if_different>
<txp:article_custom limit="100" category='<txp:category />' wraptag="ul" break="li" class="article-tooted" sort="Posted desc">
<div class="toote-eelvaade">
<div class="toote-pilt">
<txp:permlink><txp:article_image thumbnail="1" /></txp:permlink>
</div>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
</div>
</txp:article_custom>
</txp:category_list>
</txp:if_category>
</txp:if_individual_article>
<txp:else />

Offline

#2 2018-05-13 14:41:29

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: category page

Hi Gallex

This is an old irrelevant error which disappears once you put your site on live mode.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB