Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Problem with an active style menu thru txp:if_article_id id
Hello to all,
I have a problem with an active style menu like this:
<li><a href="<txp:site_url />page1.htm"<txp:if_article_id id='1'> class="active"</txp:if_article_id>>Page 1</a></li>
<li><a href="<txp:site_url />page2.htm"<txp:if_article_id id='2'> class="active"</txp:if_article_id>>Page 2</a></li>
All is Ok when I cklick on Page 1, Page 2, ect. It works fine. However, when I go to the home page, Textpattern says this:
Tag error: <txp:if_article_id id="1"> -> Textpattern Notice: Article tags cannot be used outside an article context on line 207000, etc...
What is the problem? Can this be fixed somehow?
Offline
Re: Problem with an active style menu thru txp:if_article_id id
Ok, it is solved and it was so simple. I just had to change “testing” mode for “working” one.
Offline