Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-09-22 10:14:33

tydaikho
Member
From: VietNam
Registered: 2010-09-20
Posts: 16
Website

Tag error: -> Textpattern Notice: Page template archive does not co

My test site:
http://tydaikho.tk/

Here is a link to full article on Home:

http://tydaikho.tk/articles/1/welcome-to-your-site

But i get warning:

Tag error: -> Textpattern Notice: Page template archive does not contain a txp:article tag on line …

Look in Faqs , i see that , it is allright with Production: live, but the error still alive, i can’t acccess to full article … Pls help me fix it …

Looking for other similar problem, i see how to fix:

You can also replace the first article_custom tag with <txp:article form=“article_listing” />. Because <txp:article /> is context sensitive, on a page /?s=about-us&c=our-mission it will only display articles in that section and category.

But, when i do that, my section Articles is broken, it only displays one newest article…

Last edited by tydaikho (2010-09-22 10:53:33)


http://vnsx.net | http://tydaikho.tk | http://txpblog.tk

Offline

#2 2010-09-22 10:37:39

tydaikho
Member
From: VietNam
Registered: 2010-09-20
Posts: 16
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

in my Preference->Page, i see archive and Static_Sites template. The page i get when click on Keep reading like archieve not Static_Sites … So i get warning and error… Maybe that?


http://vnsx.net | http://tydaikho.tk | http://txpblog.tk

Offline

#3 2010-09-22 10:42:06

tydaikho
Member
From: VietNam
Registered: 2010-09-20
Posts: 16
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

Fixing it with the way:

remove article_custom and replace it with article (without _custom) in archieve page template … It seems better but i get only title and comment area … Not full text contentt … Someone help me pls!!!

Last edited by tydaikho (2010-09-22 10:42:26)


http://vnsx.net | http://tydaikho.tk | http://txpblog.tk

Offline

#4 2010-09-22 11:26:50

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

You get the tag error because the URL indicates an individual article page. An article tag will automatically output the article indicated by the URL; an article_custom tag won’t (it always shows the same thing, whatever the URL). This is what is meant by the term “context sensitive”.

I guess you’re starting from a theme, not the default installation?

article will output the contents of the default article form. This is the form that automatically comes up for editing when you go to Presentation->Forms. You need to add a body tag to it.


Code is topiary

Offline

#5 2010-09-22 11:57:52

tydaikho
Member
From: VietNam
Registered: 2010-09-20
Posts: 16
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

Yeah, good idea … I get the trouble when i used new theme, not default … Thank you very much … I will try your way …
Ah …. Can you please provide more detail … I am newbie at Textpattern … I must add body tag but i don’t understand clearly about Textpatten form tag …

Last edited by tydaikho (2010-09-22 12:00:39)


http://vnsx.net | http://tydaikho.tk | http://txpblog.tk

Offline

#6 2010-09-22 14:22:47

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

Looks like you’re getting it going. If you need more help, change your site’s production status to “Debugging” (see my sig for instructions) and ask questions that are as specific as possible. Have a look at the orientation tutorials if you haven’t already.


Code is topiary

Offline

#7 2010-09-22 14:50:54

tydaikho
Member
From: VietNam
Registered: 2010-09-20
Posts: 16
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

This problem can be fix by creating new section – user page = Static_Sites, select by default = yes …

But this section is displayed on menu … How to remove it from menu ?


http://vnsx.net | http://tydaikho.tk | http://txpblog.tk

Offline

#8 2010-09-22 14:58:18

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

tydaikho wrote:

But this section is displayed on menu … How to remove it from menu ?

Use the exclude attribute in secction_menu.

The TextBook tag reference is the go-to resource for every Txp designer.


Code is topiary

Offline

#9 2010-09-22 15:55:17

tydaikho
Member
From: VietNam
Registered: 2010-09-20
Posts: 16
Website

Re: Tag error: -> Textpattern Notice: Page template archive does not co

Thank Jsoo very much… You are good supporter!!!
jsoo wrote:

tydaikho wrote:

But this section is displayed on menu … How to remove it from menu ?

Use the exclude attribute in secction_menu.

The TextBook tag reference is the go-to resource for every Txp designer.


http://vnsx.net | http://tydaikho.tk | http://txpblog.tk

Offline

Board footer

Powered by FluxBB