Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-08-14 13:57:20
- swati.miniyar
- Member
- Registered: 2007-08-06
- Posts: 39
how to remove error "Page template does not contain a txp:article..."
I am having a page called “about us”.section author uses “about us” page.i have to display a article from a section called “author”.So i have to use
<txp:article_custom section=“author” /> tag ..
I am getting error like
—————Page template author_link does not contain a txp:article tag on line 464 ————-
In most of the pages i am getting same error .
How to get rid of this?Please help..
Offline
Re: how to remove error "Page template does not contain a txp:article..."
Hi
Try to put before your txp:article_custom tag this one : <txp:article pgonly=“1” />
This tag output nothing but can remove your error.
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: how to remove error "Page template does not contain a txp:article..."
Pesonally, I think the inclusion of this error in a core install is dubious, since there are many good reasons (image only galleries, calendar pages) that you might not want an article tag on a page.
Take it out, take it out…
Offline
#4 2007-08-16 00:37:44
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: how to remove error "Page template does not contain a txp:article..."
It isn’t. Turn your debugging mode to “live” and the warning goes away.
Offline