Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-04-25 11:18:32

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

Page template default does not contain a txp:article tag...

im working with ads site.

my template:

<txp:if_section name="ost-muuk">
    <txp:if_individual_article>
        <txp:article form="ost_muuk" limit="1" />
    <txp:else />
        <txp:if_category>
            <txp:category title="1" link="1" wraptag="h4" />
            <txp:rss_unlimited_categories_article_list form="ost_muuk_cat" limit="500" />
        </txp:if_category>
    </txp:if_individual_article>
<txp:else />
    <txp:article limit="100" />
</txp:if_section>

and it works well until, there is no articles under category (ńot added yet).
then i get error:

Tag error: -> Textpattern Notice: Page template default does not contain a txp:article tag. while parsing form None on page default textpattern/publish.php:551 trigger_error() index.php:83 textpattern()

Offline

#2 2014-04-25 17:34:00

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,547
Website GitHub Twitter

Re: Page template default does not contain a txp:article tag...

Hi

when you put the site on live mode the message disapear.

Until then you can put the code (hwo will show nothing ) :

<txp:article pgonly="1" />

I hope that missage will be dropped because it s really annoying!

Offline

#3 2014-04-26 09:13:15

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

Re: Page template default does not contain a txp:article tag...

that’s right. thanks

Offline

Board footer

Powered by FluxBB