Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Make article_custom ignore current article in produced list?
Got it working, thanks. I will have to eat my hat – you were right, it had to be “x” in ‘y’.
This works well:
<txp:article_custom section="weddings,venue" keywords='<txp:custom_field name="related"/>'>
<txp:if_article_id>
<txp:else />
<div class="container testimonial">
<div class="column span-3 thumb"><txp:article_image thumbnail='1' /></div>
<div class="column span-17 prepend-1 last">
<h2><txp:permlink title='<txp:title />'><txp:title /></txp:permlink></h2>
<blockquote>
<p><txp:excerpt /></p>
</blockquote>
</div>
</div>
</txp:if_article_id>
</txp:article_custom>
I’ve nested ‘x’ in “y” before and it’s worked fine. One to remember1
Thanks very much to those who helped :¬)
Offline
Re: Make article_custom ignore current article in produced list?
Glad you solved it. For future reference this might be of help.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Make article_custom ignore current article in produced list?
Offline