Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-23 13:24:49

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

tag error in category page

what causes this tag error in my code?

... 
<txp:if_section name="viktoriin">
<txp:if_individual_article>
<txp:article form="default_article" limit="1" />
<txp:else />
<txp:if_category>
<txp:category title="1" wraptag="h3" />
<txp:article_custom category='<txp:category />' wraptag="ul" break="li">
<txp:permlink><txp:title /></txp:permlink>
</txp:article_custom>
<txp:else />
<txp:if_article_list>
<txp:category_list parent='<txp:section />' exclude='<txp:section />'><txp:if_different><txp:category title="1" link="1" wraptag="h3" /></txp:if_different>
<txp:article_custom category='<txp:category />' wraptag="ul" break="li">
<txp:permlink><txp:title /></txp:permlink>
</txp:article_custom>
</txp:category_list>
</txp:if_article_list>
</txp:if_category>
</txp:if_individual_article>
<txp:else />
...

Offline

#2 2012-12-23 13:30:47

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

Re: tag error in category page

Hi

cant see the error message, i got an error 503: Avaneme 1. jaanuaril (i suspect you use rvm_mintenance)

Offline

#3 2012-12-23 13:38:26

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

Re: tag error in category page

sorry :) now you can

Offline

#4 2012-12-23 14:23:01

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

Re: tag error in category page

The error tels you that thers is no txp:article tag in the page, and that is true, you are using txp:article_custom!

i think you can change the first txp:article_custom into txp:article like that:

<txp:article wraptag="ul" break="li">
<txp:permlink><txp:title /></txp:permlink>
</txp:article>

Cheers

Offline

#5 2012-12-24 08:26:45

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

Re: tag error in category page

yep, that was it! thank’s rabah.
problem solved

Offline

Board footer

Powered by FluxBB