Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-02-10 02:08:39
- newmedia
- New Member
- Registered: 2008-02-09
- Posts: 2
I can't get my comment system to work.
Hey guys, I am new to Textpattern. I got it up and running but I am hitting a few speed bumps along the way. I am running the TXP Rin template and I can’t seem to get the comment function to work.
When I click on the comment link I get this error:
“Tag error: -> Textpattern Notice: Page template archive does not contain a txp:article tag on line 474”
Anyone know what that might mean? lol
here is the URL for my blog.
http://cklaneski.exofire.net/newmedia/
If anyone could help me out, i would appreciated
Offline
Re: I can't get my comment system to work.
You possibly use only <txp:article_custom />
in your pages instead of <txp:article />
. You have to add there <txp:article />
, without it you can’t view single articles nor make pagination to work.
See more: txp:article_custom and txp:article
Also you should turn your site’s status to Live on preferences, as now it’s on Testing – or when the site is finished.
Offline
#3 2008-02-11 02:56:30
- newmedia
- New Member
- Registered: 2008-02-09
- Posts: 2
Re: I can't get my comment system to work.
ok, I changed <txp:article /> to <txp:article_custom /> and nothing changed. Then I changed my site from “texting” to “live” and I think that may have had something to do with it because the error went away. However, the comment link just takes me to a blank page. Anyone else running the TXP: Rin template without any problems?
Last edited by newmedia (2008-02-11 03:00:59)
Offline
Re: I can't get my comment system to work.
Not <txp:article_custom />
– use <txp:article />
. As the error says, you don’t have <txp:article />
tag in your pagetemplate. It could be there is wrong pagetemplate used for specific section or some conditional tags eating <txp:article />
away :)
Last edited by Gocom (2008-02-11 06:37:50)
Offline
#5 2008-02-11 17:46:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: I can't get my comment system to work.
newmedia wrote:
Textpattern Notice: Page template archive does not contain a txp:article tag on line 474
It’s just a notice, not an error. And as you noticed, it goes away when the site is set to ‘Live’ :) It’s probably just the RIN template’s setup to have only an article_custom tag on the archive template. And since it’s one of Stuart’s, you can assume the setup is right :)
So I think you changed the article tag on the default template, just undo it.
Offline
Re: I can't get my comment system to work.
The archive page template in TXP Rin is set to use the <txp:article />
tag for the “article” section so either something has been changed or this is a new section which needs adding to the archive page template in the format <txp:if_section name="newSectionName"></txp:if_section>
or it could be added to the existing code block as a comma-separated list like <txp:if_section name="article,newSectionName">
. Also it would need to be told to use the archive page template in the “Sections” tab.
Last edited by thebombsite (2008-02-11 20:59:20)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1