Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Tag error: <txp:else /> ... !?
I’m working on a new site (heavily under construction) > mariaberkhout.nl/new and I’m using this snippet >
<if_individual_article>
<txp:article form="single_notitle" limit="1" />
<txp:else />
<txp:article form="single_onlyimage" wraptag="ul" class="small-block-grid-2 medium-block-grid-3 large-block-grid-4" break="li" limit="12" sort="rand()" />
</if_individual_article>
Form ‘single_notitle’ >
<article role="article" itemscope itemtype="http://schema.org/Article">
<!-- <h1 itemprop="name"><txp:title /></h1> -->
<div itemprop="articleBody">
<txp:body />
</div>
</article>
Form ‘single_onlyimage’ >
<article role="article" itemscope itemtype="http://schema.org/Article">
<!-- <h1 itemprop="name"><txp:title /></h1> -->
<div itemprop="articleBody">
<txp:article_image thumbnail="1" />
</div>
</article>
And I’m getting this error > “Tag error: <txp:else /> -> Textpattern Warning: tag does not exist while parsing form None on page 1984-1993”
!?
Offline
Re: Tag error: <txp:else /> ... !?
I guess it should be <txp:if_individual_article>
, not <if_individual_article>
.
Offline
Re: Tag error: <txp:else /> ... !?
Arggg … working between Roland Garros and Pinkpop (telly) … that’s no good … :%
Last edited by RedFox (2014-06-09 06:40:12)
Offline
Pages: 1