Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-10-19 19:27:16
- Infi
- Member
- Registered: 2005-05-28
- Posts: 75
TXP 4.0.4: txp:related_articles
<code><txp:related_articles label=“Possibly Related…” labeltag=“h2” class=“menuitems” break=“li” wraptag=“ul” /> -> Textpattern Notice: error_article_context on line 1821</code>
This tag was in use on a 4.0.3 install for related articles in a form that includes all left-hand column navigation. (Wiki specifies page or column, but it worked in a form just fine.)
What’s the issue with article context in 4.0.4? Can the tag no longer be used in a form?
Offline
#2 2006-10-19 20:20:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: TXP 4.0.4: txp:related_articles
The warning means it must be used in an “article” type form. The tag would never have worked properly in other forms, you just get a warning now. Now (4.0.4) it should work, but you’ll need to wrap it in an if_individual_article conditional tag.
Last edited by Mary (2006-10-31 03:13:37)
Offline
Pages: 1